Create an access token

POST
/v4/access-tokens

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.

customizationsobjectOptional

The component customizations for this access token.

userIdstringOptional

The unique identifier of the user associated with this access token.

Response

OK

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.

customizationsobjectOptional

The component customizations for this access token.

userIdstringOptional

The unique identifier of the user associated with this access token.

Errors