Base URLs
HelpGenie supports both REST-style routes and direct Supabase function invocation.Authentication
All auth methods use theAuthorization header.
API key (recommended for external integrations)
- Prefix:
hg_live_ - Rate limit:
60 requests/minuteper key - Maximum
5active keys per user
Session JWT (browser/app context)
Service role key (server-to-server)
Request formats
REST-style (recommended)
Custom actions (POST body)
Direct invocation (POST body)
API resource name. Example:
genies, knowledge-base, integrations, api-keys.Action for the selected resource (for example
list, get, create, update, delete).Optional resource identifier for single-record actions.
Action-specific parameters (filters, pagination, payload fields).
Response envelope
Error codes
| Code | Status | Description |
|---|---|---|
UNAUTHORIZED | 401 | Missing or invalid Authorization header |
INVALID_TOKEN | 401 | Token is invalid or expired |
FORBIDDEN | 403 | User lacks permission for the resource |
NOT_FOUND | 404 | Resource not found |
AGENT_NOT_FOUND | 404 | Genie not found or access denied |
VALIDATION_ERROR | 400 | Invalid request format or data |
INVALID_ACTION | 400 | Action not supported for the resource |
RATE_LIMIT_EXCEEDED | 429 | Too many requests |
INTERNAL_ERROR | 500 | Server error |
Access control
Roles determine access scope:- internal_admin - Full cross-account access.
- standard_user - Access to their own business data.
- consumer - Limited read-only/interaction access.
adminMode: true or a userId parameter to operate on resources owned by other users.
Resource map
Genies
Create, update, list, and delete voice AI genies
Genie groups
Group and organize genies
Conversations
Sync, analyze, and manage conversations
Knowledge base
Manage documents and attach them to genies
Document folders
Organize knowledge base documents into folders
Voices
Manage voice favorites and track usage
Voice collections
Create and manage curated voice collections
Leads
Capture and manage customer leads
Lead notes
Add and manage notes on leads
Marketplace
Browse and publish genie templates
Profiles
Manage user profiles and settings
Teams
Create teams, invite members, manage roles
Activities
Track platform activity and audit logs
Goals
Manage agent goals and outcomes
API keys
Create, revoke, and delete developer API keys
Phone numbers
Provision, release, and manage Twilio phone numbers
QR codes
Manage QR code images for genie pages
Worker genies
Autonomous background AI agents for tasks and integrations
Analytics
Platform analytics, trends, and genie performance
Billing
Subscriptions, usage, invoices, and checkout
Branding
Team branding, logos, and style configuration
Portals
Create multi-genie portal pages
Agent pages
Manage individual genie landing pages
Integrations
Connect external services and APIs
Automations
Create and manage automated workflows
Playbooks
Browse and apply pre-built genie playbooks
Capabilities
Discover resources and actions at runtime

