Create an access token

POST
Creates an access token for authenticating Drop-In UI Components.

Headers

Idempotency-KeystringOptional
The unique key used to identify a request that has already been processed.

Request

This endpoint expects an object.
expiresInintegerRequired
The number of seconds until the access token expires.
userIdstringOptional
The unique identifier of the user associated with this access token.

Response

This endpoint returns an object.
accessTokenstring
The access token to authenticate your Drop-In UI Components.
createdAtdatetime

The creation date and time of the access token in ISO 8601 format.

expiresAtdatetime

The expiration date and time of the access token in ISO 8601 format.

Errors