Mint Widget Instance Token
POST /v2/partner/widgets/{id}/tokens
Required scopes
partner:widgets:mint_token
Tokens missing any required scope return 401 scope_missing.
See Auth & Scopes for issuance.
Operation
| Operation ID | mintWidgetInstanceToken |
| Tags | Operations |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| id * | path | id |
Request body
Required
object
| Field | Type | Description |
|---|---|---|
| contact_unique_id * | string | |
| journey_slug | string | |
| ttl_seconds | integer |
Responses
201
Created
object
| Field | Type | Description |
|---|---|---|
| token * | string | |
| expires_at * | updated_at | RFC 3339 / ISO 8601 timestamp. |
| runtime_url * | string (uri) |
Example request
POST https://api.digitalonboarding.com/v2/partner/widgets/{id}/tokens
Authorization: Bearer <partner-token>
Content-Type: application/json
Idempotency-Key: <uuid-v4>
{ /* request body matching schema above */ }