WorkOS · Schema

JwtTemplate

AuthenticationIdentity ProviderSSOSAMLOIDCSCIMDirectory SyncAuthorizationFGAAudit LogsMFAB2B SaaSAgentsMCP

Properties

Name Type Description
object string The object type.
content string The JWT template content as a Liquid template string.
created_at string The timestamp when the JWT template was created.
updated_at string The timestamp when the JWT template was last updated.
View JSON Schema on GitHub

JSON Schema

workos-jwttemplate-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/JwtTemplate",
  "title": "JwtTemplate",
  "type": "object",
  "properties": {
    "object": {
      "type": "string",
      "description": "The object type.",
      "const": "jwt_template"
    },
    "content": {
      "type": "string",
      "description": "The JWT template content as a Liquid template string.",
      "example": "{\"urn:myapp:full_name\": \"{{user.first_name}} {{user.last_name}}\", \"urn:myapp:email\": \"{{user.email}}\"}"
    },
    "created_at": {
      "type": "string",
      "description": "The timestamp when the JWT template was created.",
      "example": "2026-01-15T12:00:00.000Z"
    },
    "updated_at": {
      "type": "string",
      "description": "The timestamp when the JWT template was last updated.",
      "example": "2026-01-15T12:00:00.000Z"
    }
  },
  "required": [
    "object",
    "content",
    "created_at",
    "updated_at"
  ]
}