POST
/embed/sessionsMint an embed session for a customer account
Requires Bearer authentication. See Authentication.
Request body
| Field | Type | Description |
|---|---|---|
customerExternalIdrequired | string | — |
customerNamerequired | string | — |
permissionsrequired | string[] | — |
ttlSeconds | integer | — |
metadata | object (record) | — |
allowedTypes | string[] | — |
Responses
201 201| Field | Type | Description |
|---|---|---|
tokenrequired | string | — |
expiresAtrequired | string | — |
customerAccountIdrequired | string (uuid) | — |
400 400| Field | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | — | |||||||||
| |||||||||||
Errors
Errors use the standard envelope. See Errors for codes, status mappings, and retry semantics.