Developer
Developer - Agent Tokens

Create Agent Token

Create a new agent token for a customer.

This endpoint is restricted to developer users only. Generates a secure random token that can be used by phone agents to authenticate API requests for the specified customer.

  • customer_id: The customer UUID to create the token for

Returns:

  • token: The generated bearer token (store this securely!)
  • customer_id: The customer ID this token is associated with
  • is_active: Whether the token is active (always true for new tokens)
post/developer/agent-tokens

Request body

customer_idstring uuid required

The customer ID to create the token for

Response

Successful Response

tokenstring required

The generated agent token (bearer token)

customer_idstring uuid required

The customer ID this token is for

is_activeboolean required

Whether the token is active

Changes

No recorded changes to this endpoint across all 1 revision of this API.