Skip to main content
POST
Create a consumer access token

Authorizations

Authorization
string
header
required

Body

duration_seconds
integer<int64> | null
required

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

email
string | null
required

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

jwt
string | null
required

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

Response

Created consumer access token.

access_token
string
required

Opaque access token for the consumer session. Pass as a Bearer token or access_token query parameter on subsequent requests.

expires_in
integer<int64>
required

Seconds until the token expires.

scopes
enum<string>[]
required

Set of permission scopes granted to this token.

Set of permission scopes granted to this token.

Available options:
UPDATE_PROFILE,
VERIFIED_CONSUMER