Create access token from client credentials

http
POST /auth/token

Issue client access token.

Request body

FieldTypeRequiredDescription
grant_typestringYesPlatform client-credentials grant for the Veryfront proxy. Agents and applications use API keys instead.
client_idstringYesClient ID for client_credentials token exchange
client_secretstringYesClient secret for client_credentials token exchange
optionsobject
project_referencestringProject UUID or slug for scoped tokens. Select at most one of project_reference or custom_domain; unknown projects return 400.
custom_domainstringCustom domain to resolve project (alternative to project_reference)

Responses

StatusDescription
200Token successfully generated
400Invalid request, invalid client credentials, or an unknown selected project.
429Too many authentication requests from this client
500Unexpected token exchange failure