API Integration
Use the REST API for server integrations and the platform runtime for browser apps. Start by selecting the principal and project context rather than copying a token from a working preview.
Overview
Choose credentials for the principal making the request. A bearer token identifies its owner; its storage format does not make a project, attendee, page, plugin or reader credential interchangeable.
Sanctum Tokens
GxP uses Laravel Sanctum for session and bearer authentication. The token's owner and ability data determine its authorization path; “Sanctum token” alone does not describe what an integration can access.
API Keys
The Developer Hub's API Keys page issues project-owned Laravel Sanctum bearer tokens for server integrations. A key is issued on one project, has explicit abilities and expires. Configure the integration to use that project's routes; token ownership alone is not proof of every endpoint's isolation checks. Use it from a trusted server or automation, keeping the secret outside attendee app bundles.
REST API (OpenAPI)
WebSocket Events
Plugin API Tokens
Plugin API tokens authorize supported plugin-management endpoints, including external-app version/assets and publication. They are distinct from project API keys, admin OAuth/MCP connections and attendee page credentials. Choose a plugin token when a build pipeline needs access to a particular supported plugin.