JWT Management

Generate JWT token for embedding templates

Creates a JWT token for embedding a template with 24-hour expiration. This is the standard endpoint for JWT generation.

Note: The standalone generate-embedded-template-token function is deprecated in favor of this router-based endpoint.

post/generate-template-token

Request body

companies_workspaces_templates_idstring uuid required

ID of the template to generate JWT for

Response

JWT generated successfully

tokenstring required

The JWT token

expires_atstring date-time required

Token expiration timestamp

jwt_record_idstring uuid

Database record ID for the JWT

Changes

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