POST//
Use this endpoint to generate your UX Toolkit OAuth access token. For details, see Customer Authentication API.
Note
Unlike the other UX Toolkit endpoints, this endpoint is served by the dedicated OAuth host rather than by the UX Toolkit API base URLs listed above. Send the request to
Unlike the other UX Toolkit endpoints, this endpoint is served by the dedicated OAuth host rather than by the UX Toolkit API base URLs listed above. Send the request to
https://secure-sandbox.marqeta.com/oauth/token in sandbox, or to https://secure.marqeta.com/oauth/token in production. The audience parameter still identifies the UX Toolkit API. To move an existing integration, see How to migrate UX Toolkit to dedicated OAuth.Request header
Request body
Sample request
cURL
Response body
Sample response body
JSON