Reference
HTTP surfaces
The routes that monitors, sign-in, the web widget and payment providers call directly.
Health
| Route | Purpose |
|---|
| GET /health | Basic health check. |
| GET /health/detailed | Overall status: healthy, degraded or unhealthy. |
Authentication
| Route | Purpose |
|---|
| POST /api/auth/register | Create an account. |
| POST /api/auth/login | Sign in. |
| POST /api/auth/refresh | Refresh a session. |
| POST /api/auth/logout | Sign out. |
| GET /api/auth/me | Get the signed-in user. |
| Route | Purpose |
|---|
| GET /api/public/widget/config/:token | Load a widget's public configuration. |
| POST /api/public/widget/session/start | Start a widget session. |
| POST /api/public/widget/session/:sessionId/end | End a widget session. |
Payment webhooks
| Route | Provider |
|---|
| POST /api/stripe/webhook | Stripe |
| POST /api/razorpay/webhook | Razorpay |
| POST /api/paypal/webhook | PayPal |
| POST /api/paystack/webhook | Paystack |
| POST /api/mercadopago/webhook | MercadoPago |
Outgoing webhooks
Subscribe to events from Flow builder > Webhooks. Failed deliveries are retried.
| Group | Events |
|---|
| Campaign | campaign.started, paused, resumed, completed, failed, cancelled |
| Outbound call | call.started, ringing, answered, completed, failed, transferred, no_answer, busy, voicemail |
| Inbound call | inbound_call.received, answered, completed, missed |
| Flow | flow.started, completed, failed |
| Appointment | appointment.booked, confirmed, cancelled, rescheduled |
Each delivery carries an HMAC-SHA256 signature of the body, made with your webhook secret. Verify it before trusting the event.
X-Webhook-Signature: sha256=<hex digest>