Appearance
API Reference
All API requests go through the gateway at https://g2-elite-gateway.2pw.workers.dev.
Authentication
All endpoints (except health checks and public invite redirect) require a Clerk session token:
Authorization: Bearer <clerk_session_token>Org-scoped endpoints also require:
X-Org-Id: <organization_uuid>Endpoint Categories
| Category | Auth Required | Org Required | Count |
|---|---|---|---|
| Gateway — Onboarding | Clerk only | No | 4 |
| Gateway — Org Admin | Clerk + Org | Yes (admin) | 4 |
| Mobile BFF | Clerk + Org | Yes | 24 |
| Webhooks | Svix signature | No | 1 |
| Public | None | No | 2 |