JWT Management

Generate JWT token for embedding templates

Changed on

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

Request body

companies_workspaces_templates_idstring uuid required

ID of the template to generate JWT for

seal_managementboolean

When true, the token allows the embedded editor to add, remove, reorder and swap EXISTING organization seals and place their fields. Default false: seals are displayed read-only. Token lifetimes are unchanged.

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

seal_managementboolean

Echo of the effective flag.

Changes

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status