Skip to main content
POST
Generate a Temporary Token

Path Parameters

record
string
required

The Workboard record ID.

Body

application/json
expires_in
integer

Seconds until the token expires. Maximum 2,592,000 (30 days). Defaults to 86,400 (1 day).

Required range: x <= 2592000

Response

Temporary record token created.

company_id
string
required

Company ID associated with the token.

created_at
string
required

ISO 8601 timestamp of token creation.

expires_at
string
required

ISO 8601 timestamp of token expiration.

key
string
required

Firestore document ID used as the token key.

record_id
string
required

The record ID this token grants access to.

type
enum<string>
required

Token type identifier.

Available options:
record
user_id
string
required

User ID that minted the token.

token
string
required

The signed JWT token string.

companyId
string

Alias for company_id.

userId
string

Alias for user_id.

createdAt
any

Firebase Timestamp of creation.

Last modified on April 15, 2026