Skip to main content
Version: v1 (Current)

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.

Server integration quick start​

  1. Select the owning team and project.
  2. Issue a Project API Key through the Developer Hub with the required model actions. Check the current project-ownership, record and field enforcement limits before depending on narrowed scope.
  3. Store the secret on your server.
  4. Use the environment's API host and project route.
  5. Test allowed and excluded resources before deploying the integration.
curl 'https://YOUR_API_HOST/api/v1/projects/TEAM_SLUG/PROJECT_SLUG/attendees' \
-H "Authorization: Bearer $GXP_API_TOKEN" \
-H 'Accept: application/json'

The token must permit attendee viewing for that project. A project key is not an administrator credential. Use only the configured project's routes and prove the intended scope on the endpoints the integration calls.

Browser app integration​

Use the GxP Store and declared dependency identifiers for plugin API requests. It carries portal-page and principal context. Match the operation ID, supported action and binding to the deployed catalog. See Permissions and dependencies.

Endpoint contracts​

Use the REST API reference and API Catalog for exact paths, request schemas, responses, pagination and operation IDs. The API host registers both /api/v1/projects/{teamSlug}/{projectSlug}/... and /v1/projects/{teamSlug}/{projectSlug}/.... Portal-hosted APIs use /api/v1/.... Portal-bound form/quiz/survey operations must stay on the serving portal hostname; changing the path prefix does not supply that context. Avoid assuming every resource supports the same fields, verbs or search operators.

Inspect the reference for the actual endpoint and deployment. Rate limits can differ by route and caller. Handle 429 responses and honor the server's retry guidance; do not retry mutations blindly after a timeout without checking whether they completed.

Events and webhooks​

Use WebSocket Events for supported real-time contracts and Webhooks for server notifications. Plugin dependencies map aliases to canonical events. An event subscription and permission to read or mutate the resource are separate concerns.

Error diagnosis​

Check credential validity for 401, resource/action scope for 403, and route/project/page visibility for 404. Validate payloads for 422. For failed requests, record the method, path, response and correlation information while redacting secrets and personal data.

For delivery of a browser app, complete build and publication and test the installed version. For server integrations, plan key replacement before expiry and revoke replaced credentials after validating the new ones.

Acceptance before rollout​

Check the token owner, exact host/project, permitted action and endpoint output using disposable fixtures. Confirm excluded records/fields, cross-project calls, expired credentials and wrong principal types fail as intended. Include list/search, nested relationships and exports; a successful single-record policy check does not prove collection filtering. The project-key guide records current project-ownership and common attendee-list/field-scoping limitations. A failed negative check needs an endpoint enforcement fix before relying on that boundary.

For attendee integrations, verify guest page access and the separate attendee-plus-page-token flow, audience denial, page deactivation and token expiry. Use configured runtime helpers rather than inventing global login or API-key headers. External browser callers also need an allowed CORS origin/header configuration; server-to-server cURL success is not a browser acceptance test.

Implementation evidence​

Reviewed against experience-portal 04c7d10048 on 2026-10-13: RouteServiceProvider, routes/api/v1/routes.php, SetTeamScopeByProject, BaseDashboardPolicy, OrionBaseApi, AttendeeResource, PortalApiConfig and FormPageAccess. No customer API mutation was performed for this review.