Authentication

Active

Authenticate requests with a Token168 API key.

Bearer token

Send the API key in the Authorization header. Do not place API keys in URLs, client-side logs, browser storage, or screenshots.

request headers
Authorization: Bearer $TOKEN168_API_KEY
Content-Type: application/json

Key management

Create, edit, enable, disable, delete, and copy keys from Console. Full key material is only exposed during explicit copy or creation flows.

Requests are scoped to the current Token168 platform user, group, token permissions, and available models.

Authentication errors

ConditionStatusAction
Missing or invalid token401Create a valid API key in Console.
Account lacks model access403Check model and group availability in Console.
Unknown route404Verify the endpoint path and method.