Skip to main content
POST
Create an embed token

Authorizations

Authorization
string
header
required

Tolt API key sent as a bearer token.

Body

application/json

Send exactly one of partner_id or partner. Sending both or neither returns 400.

partner_id
string

Id of an existing partner (part_...). Send this or partner, not both.

Minimum string length: 1
partner
object

Find the partner by email within the program, or create them (active, with a referral link) when the program has no partner with that email. Send this or partner_id, not both.

Response

The embed token

success
boolean
required
Example:

true

message
string
required
Example:

"Request successful"

data
object
required