Components

Create a session token

Creates a short-lived session token for the Auth Component.

post/token

Response

Created

idstring required

Unique identifier for the session token, prefixed with tok_.

objectstring required

Always token.

tokenstring required

The token value to pass to <DeckAuthComponent />. Prefixed with tk_. Treat as a bearer secret until it expires.

expires_atstring date-time required

ISO 8601 timestamp at which the token stops being accepted. 30 minutes after created_at.

created_atstring date-time required

ISO 8601 timestamp of when the token was created.

request_idstring required

Unique identifier for the API request. Include this when contacting support.

Changes

No recorded changes to this endpoint across all 1 revision of this API.