{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/fastn/main/json-schema/fastn-post-api-v1-embed-token-request-schema.json",
  "title": "PostApiV1EmbedTokenRequest",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/fastn-openapi-generated.yml#/components/schemas/PostApiV1EmbedTokenRequest",
  "type": "object",
  "properties": {
    "endOrgId": {
      "type": "string",
      "description": "Customer organization ID the token is scoped to"
    },
    "role": {
      "type": "string",
      "description": "Role for the token, always \"end_user\""
    },
    "expiresIn": {
      "type": "integer",
      "description": "Token lifetime in seconds (default 28800 seconds = 8 hours)"
    }
  },
  "required": [
    "endOrgId",
    "role",
    "expiresIn"
  ]
}