{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kryptos-io/json-schema/kryptos-io-post-link-token-response-schema.json",
  "title": "PostLinkTokenResponse",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/kryptos-io-kryptos-connect-openapi-generated.yml#/components/schemas/PostLinkTokenResponse",
  "type": "object",
  "properties": {
    "link_token": {
      "type": "string",
      "description": "Token to be used by Web SDK's generateLinkToken function"
    },
    "expires_at": {
      "type": "string",
      "description": "Expiration time of the link token"
    },
    "user_id": {
      "type": "string",
      "description": "User ID when session is resumed with existing access_token"
    },
    "workspace_id": {
      "type": "string",
      "description": "Workspace ID when session is resumed with existing access_token"
    },
    "has_existing_grant": {
      "type": "boolean",
      "description": "Whether user has existing grant when session is resumed"
    }
  }
}