Generate or rotate API credentials for the current account. The client secret is only returned once.

Create or rotate account API credentials.

Quickstart:

  1. Call this endpoint with your regular bearer token.
  2. Save the returned api_key and client_secret immediately.
  3. Exchange them once at POST /account/api-access/token.
  4. Use the returned bearer token on all /api requests.

Important:

  • The raw client_secret is only returned once.
  • Rotating credentials revokes the previously active credential.

Example:

curl -X POST "$BASE_URL/account/api-access/credentials/rotate" \
  -H "Authorization: Bearer <token>"
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Response

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json