{
  "$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-response-schema.json",
  "title": "PostApiV1EmbedTokenResponse",
  "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/PostApiV1EmbedTokenResponse",
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "description": "The minted embed token (e.g., emb_…)"
    },
    "endOrgId": {
      "type": "string",
      "description": "Echo of the organization ID the token is scoped to"
    },
    "role": {
      "type": "string",
      "description": "Echo of the role (always end_user)"
    },
    "expiresIn": {
      "type": "integer",
      "description": "Echo of the token expiration time in seconds"
    }
  }
}