Skip to main content
POST
Create Card Link Theme
Creates a theme for the card link page and its emails. Pick it per link with theme_id, or set is_default to use it everywhere. See Brand the page.

Authorizations

X-Api-Key
string
header
required

Your API key (yativo_pk_...) from Developers → API Keys. Send together with X-Api-Secret.

X-Api-Secret
string
header
required

Your API secret (yativo_sk_...), shown once when the key is created.

Body

application/json
name
string
required
Maximum string length: 100
Example:

"Acme"

is_default
boolean

Use for every link that doesn't name another theme. Clears the flag on your other themes.

logo_url
string | null

https URL, shown 32px tall.

Example:

"https://cdn.acme.com/logo.png"

font_family
string | null

A Google Fonts family. Letters, numbers, spaces and hyphens.

Maximum string length: 64
Example:

"Inter"

radius
integer | null
Required range: 0 <= x <= 24
Example:

10

colors
object

Any of these keys as #RRGGBB. Missing colours use Yativo's defaults.

email
object

Response

The new theme

status
string
Example:

"success"

status_code
integer
Example:

200

message
string
Example:

"Request successful"

data
object