Skip to main content

Client Token API

This document describes the available endpoints under /api/client for client integrations.

tip

Client tokens can be created with any active API key for the client. Use the Client API Keys API to create replacement keys and phase out old ones safely.


Authentication

POST /api/client/token/

Obtain a JWT token for client API access.

Request Body
{
"clientId": string,
"clientSecret": string
}

The clientSecret field accepts any active API key for the client.

Response:

  • 200 OK: { token: string }
  • 400 Bad Request: { error: string }
  • 401 Unauthorized: { error: string }
  • 500 Internal Server Error: { error: string }