Gapifi VoiceAPI reference
Base URL https://api.gapifi.com. Authenticate tenant routes with your account API key in the x-voice-api-key header (issued in the console). All bodies are JSON.
curl https://api.gapifi.com/voice/agents -H "x-voice-api-key: vk_…"
Agents
x-voice-api-key| GET | /voice/agents | List agents |
| POST | /voice/agents | Create an agent (name, provider, systemPrompt, voiceId) |
| GET | /voice/agents/:id | Get an agent |
| PUT | /voice/agents/:id | Update + re-provision |
| DELETE | /voice/agents/:id | Delete |
| POST | /voice/agents/:id/web-call | Start a metered web call (returns session creds) |
| POST | /voice/agents/:id/outbound-call | Place an outbound call { to, from } |
Providers & tools
x-voice-api-key| GET/POST | /voice/connections | Managed or BYO provider connections |
| GET/POST | /voice/tools | Function-calling tools |
| GET/POST | /voice/widgets | Embeddable web widgets |
| GET/POST | /voice/data-webhooks | Push call events to your systems (HMAC-signed) |
Calls, contacts & campaigns
x-voice-api-key| GET | /voice/calls | Call log (metered, with events) |
| GET/POST | /voice/contacts | Contacts CRM (+ /import, /:id/do-not-call) |
| GET/POST | /voice/campaigns | Outbound campaigns (+ /:id/start|pause|dial) |
| GET/POST | /voice/numbers | Owned numbers + pools + attach |
| GET | /voice/wallet | Credit balance |
Agency (agency accounts)
x-voice-api-key| GET/POST | /voice/agency/clients | Manage client sub-accounts |
| POST | /voice/agency/clients/:id/keys | Issue a client key |
| POST | /voice/agency/clients/:id/markup | Set client markup |
| POST | /voice/agency/clients/:id/fund | Fund client wallet |
Public (no auth)
widget key / signature| GET | /voice/public/widget.js | Embeddable widget script |
| POST | /voice/public/widget/:key/web-call | Start a widget web call (origin-checked) |
| POST | /voice/webhooks/:provider | Provider webhook ingest (HMAC-verified) |
Control-plane routes (/voice/admin/*) use the x-voice-admin-token header and are for the platform owner.