v1

latestOpenAPI 3.1.02026-07-26607.8 KB

Generate a new client token (JWT)

Use your org-level API key (Bearer fl-xxxxxx) to create a JWT token for a specific client. The token can be used at client-facing endpoints.

post/generate_access_token

Request body

client_idstring required

Identifier for the client

duration_secsinteger required

Token lifetime in seconds

metadataobject

Optional metadata to store with the token

Response

Returns the newly generated token

access_tokenstring

The JWT token

expires_ininteger

How long the token remains valid (in seconds)