Create a consumer access token

Issues a new access token for the identity supplied in the request. Pass an email to identify a consumer when the client identity key is email. Pass a jwt to assert a trusted identity via JWT verification. Omit both to issue an anonymous token. The optional duration_seconds field caps the token lifetime.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
int64 | null
required

Requested token lifetime in seconds. Defaults to the client configuration value when omitted.

string | null
required

Email address used to identify or create the consumer. Ignored when jwt is present.

string | null
required

Signed JWT carrying consumer identity claims. When supplied, identity is derived from the token claims rather than from email.

Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json