Skip to main content
POST
Generate JWT token for embedding templates

Authorizations

Authorization
string
header
required

API key for authentication. Use your API key directly without any prefix (e.g., 'your-api-key'). Bearer prefix is optional but not required.

Body

application/json
companies_workspaces_templates_id
string<uuid>
required

ID of the template to generate JWT for

Response

JWT generated successfully

token
string

The JWT token

expires_at
string<date-time>

Token expiration timestamp

jwt_record_id
string<uuid>

Database record ID for the JWT