Skip to main content
POST
Créer un lien court

Authorizations

Authorization
string
header
required

Token API généré depuis votre espace de travail Setteo.

Body

application/json
slug
string
required

Identifiant d’URL unique (lettres, chiffres, tirets et underscores ASCII).

Maximum string length: 255
Example:

"promo-ete"

destination_url
string
required

URL de destination. Peut contenir des variables {{variable}} résolues par prospect.

Maximum string length: 2048
Example:

"https://example.com/landing"

label
string | null
Maximum string length: 255
Example:

"Promo été"

is_active
boolean
default:true
Example:

true

tag_on_sent_id
integer | null

Tag appliqué au prospect à l’envoi. Doit appartenir au tenant.

Example:

null

tag_on_read_id
integer | null

Tag appliqué au prospect à la lecture. Doit appartenir au tenant.

Example:

null

tag_on_clicked_id
integer | null

Tag appliqué au prospect au clic. Doit appartenir au tenant.

Example:

7

Response

Lien court créé.

data
object
required