Skip to main content
POST
The link is valid for 2 hours. return_url is the Back to app link. refresh_url is where the customer lands after the link expires. See Get a fresh onboarding link.

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.

Headers

Idempotency-Key
string
required

A unique string per request to ensure idempotent processing.

Path Parameters

customer_id
string
required

Body

application/json
return_url
string<uri>

HTTPS Back to app link on the page.

Example:

"https://app.example.com/done"

refresh_url
string<uri>

HTTPS URL the customer lands on after the link expires.

Example:

"https://app.example.com/link-expired"

Response

Onboarding link

status
string
Example:

"success"

status_code
integer
Example:

200

message
string
Example:

"Request successful"

data
object