Create an access token
Creates an access token for authenticating Drop-In UI Components.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Idempotency-Key
The unique key used to identify a request that has already been processed.
Request
This endpoint expects an object.
expiresIn
The number of seconds until the access token expires.
customizations
The component customizations for this access token.
userId
The unique identifier of the user associated with this access token.
Response
OK
accessToken
The access token to authenticate your Drop-In UI Components.
createdAt
The creation date and time of the access token in ISO 8601
format.
expiresAt
The expiration date and time of the access token in ISO 8601
format.
customizations
The component customizations for this access token.
userId
The unique identifier of the user associated with this access token.
Errors
400
Bad Request
401
Unauthorized
404
Not Found
500
Internal Server Error