Skip to main content
POST
/
records
/
{record}
/
actions
Generate a Temporary Token (deprecated alias)
curl --request POST \
  --url https://next.floweq.com/api/v1/records/{record}/actions \
  --header 'Content-Type: application/json' \
  --data '
{
  "expires_in": 123
}
'
{
  "company_id": "<string>",
  "created_at": "<string>",
  "expires_at": "<string>",
  "key": "<string>",
  "record_id": "<string>",
  "type": "record",
  "user_id": "<string>",
  "token": "<string>",
  "companyId": "<string>",
  "userId": "<string>",
  "createdAt": "<unknown>"
}

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