API Reference
OpenAPI document · Feature availability
Portal and first-party queue routes require a Supabase user access token. Scoped developer-key queue routes are available in the local sandbox only.
| Method | Path | Purpose |
|---|---|---|
| GET | /v1/features | Compare legacy feature families with production availability. |
| GET | /v1/portal/queues | Search and page through queues the signed-in account can access. |
| GET | /v1/portal/events | Discover open events at published businesses. |
| GET | /v1/portal/appointments | Read appointments for the signed-in guest profile. |
| GET/POST | /v1/portal/profile | Read or update the signed-in account display name with an expectedUpdatedAt guard; no roles or identity fields are accepted. |
| GET/POST | /v1/portal/profile/personas/{persona} | Read or customize the account's guest/mojo/biz name and about text with expectedRevision. Persona metadata grants no business access. |
| POST | /v1/portal/profile/image | Save a bounded PNG or remove the account photo with expectedUpdatedAt. GET profile returns a private five-minute signed URL. |
| GET | /v1/portal/calendar | Read a bounded guest or operator calendar window, or export as iCalendar (.ics). |
| GET/POST | /v1/portal/library/bookmarks | Read or update saved queue bookmarks for the signed-in profile with a stable requestId. |
| GET | /v1/portal/library/visits | Read cross-queue personal visit history for the signed-in profile. |
| GET | /v1/portal/notifications | Read persona-scoped in-app notifications and unread count for the signed-in profile. |
| POST | /v1/portal/notifications/ack | Mark one or all persona-scoped notifications as read using a stable requestId. |
| GET | /v1/portal/messages/threads | List active conversation threads and eligible appointments for the signed-in profile. |
| GET | /v1/portal/messages/threads/{threadId} | Read message history for an authorized conversation thread. |
| POST | /v1/portal/messages | Send a message to an existing thread or start an appointment thread using a stable requestId. |
| POST | /v1/portal/messages/threads/{threadId}/read | Mark an authorized conversation thread as read using a stable requestId. |
| GET/POST | /v1/portal/reviews | List guest or operator service reviews, or submit/update a 1-5 star review for a completed appointment using a stable requestId. |
| POST | /v1/portal/reviews/{reviewId}/response | Post or update an authorized operator response to a business review using a stable requestId. |
| GET/POST | /v1/portal/support/tickets | List or update scoped guest and operator support tickets with threaded replies. |
| GET/POST | /v1/portal/forms | Publish business intake form templates or submit guest intake form responses. |
| GET/POST | /v1/portal/promotions | Publish business promotional campaigns or claim guest vouchers idempotently. |
| GET/POST | /v1/portal/social | Read or publish posts in community and business social bubbles. |
| GET/POST | /v1/portal/commerce | Publish business catalog items or place guest orders idempotently. |
| GET/POST | /v1/portal/wallet | Read immutable wallet ledger balance and history or claim activity rewards. |
| GET/POST | /v1/portal/files | Read, create, update or archive actor-owned Drive & Vault notes. |
| GET/POST | /v1/portal/gamification | Read visit/booking/review progression or claim unlocked sticker badges. |
| GET/POST | /v1/portal/live-streams | Read or schedule business live stream broadcasts. |
| GET/POST | /v1/portal/locations | Read or update PostGIS business branch coordinates and service notes. |
| GET/POST | /v1/portal/offline/receipts | Inspect or verify committed requestId command receipts after offline/interrupted retries. |
| GET | /v1/portal/analytics | Read authorized operator or personal guest workspace analytics KPIs. |
| GET | /v1/portal/managed-events | List events owned or managed by the account. |
| POST | /v1/portal/managed-events | Save an event with a stable requestId and expectedRevision. |
| POST | /v1/portal/events/{eventId}/appointments | Request a booking with a stable requestId. |
| GET | /v1/portal/appointment-requests | Read pending requests for an owned or assigned business. |
| GET | /v1/portal/appointment-attendance | Read active appointments for an owned or assigned business. |
| POST | /v1/portal/appointments/{appointmentId}/status | Update booking or attendance using expectedStatus and requestId. |
| GET | /v1/queues/{queueId}/snapshot | Read queue counts and the ticket currently being served. |
| GET | /v1/queues/{queueId}/entries?scope=mine | Read only the caller’s visits, filtered before pagination. |
| POST | /v1/queues/{queueId}/commands | Submit a queue action using an idempotency key. |
Personal visit history
Pass scope=mine to restrict a page to the caller’s own visits, including when the same account manages the queue. Use after for the next ticket cursor and limit from 1 to 100. A null nextCursor ends the list.