POST///
This endpoint returns a single-use access token. This type of token authorizes a single request to access API endpoints and data associated with a particular user. A single-use access token differs from a user access token (as returned by POST /users/auth/login) only in the number of times it can be used.
To return a single-use access token, send a POST request to the /users/auth/onetime endpoint. Provide one of these sets of input data:
- Case #1 – Application token and user access token
- Case #2 – Application token, admin access token, and user token
- Case #3 – Application token, user’s Marqeta password, and user’s email address
Note
Calling this endpoint and returning a single-use access token does not invalidate the user’s current user access token.
Calling this endpoint and returning a single-use access token does not invalidate the user’s current user access token.
Request body
Sample request body
Case 1: Authorization: Basicmy_application_token:my_user_access_token
JSON
my_application_token:my_admin_access_token
JSON
my_application_token
JSON
Response body
Sample response body
JSON