API Overview
The Orbit API is a RESTful JSON API that provides programmatic access to all Orbit services — messaging, voice, AI agents, flows, numbers, and verification.Base URL
All API requests are made to:Authentication
Include your API key in theX-API-Key header with every request:
Request Format
- All request bodies must be JSON with
Content-Type: application/json - Phone numbers must be in E.164 format (e.g.,
+14155552671) - Timestamps are ISO 8601 in UTC (e.g.,
2026-03-08T12:00:00Z) - Pagination uses cursor-based pagination (no offset-based)
Response Format
Successful Response
Every successful response returns adata object and a meta object:
List Response (Paginated)
List endpoints include cursor-based pagination inmeta:
Error Response
Errors include a structurederror object with a machine-readable code:
HTTP Status Codes
| Status | Meaning |
|---|---|
200 | Success |
201 | Resource created |
400 | Bad request — malformed JSON or missing fields |
401 | Unauthorized — invalid or missing API key |
403 | Forbidden — insufficient permissions |
404 | Not found — resource doesn’t exist |
409 | Conflict — duplicate request or state conflict |
422 | Unprocessable — validation failed |
429 | Rate limited — too many requests |
500 | Internal server error |
Rate Limiting
Rate limits are enforced per API key. Current limits are returned in response headers:| Header | Description |
|---|---|
X-RateLimit-Limit | Maximum requests per window |
X-RateLimit-Remaining | Remaining requests in current window |
X-RateLimit-Reset | Unix timestamp when the window resets |
429 response. Implement exponential backoff and respect the X-RateLimit-Reset header.
Request ID
Every response includes anX-Request-Id header and a request_id in the meta object. Include this ID when contacting support for faster debugging.
API Endpoints
| Service | Base Path | Description |
|---|---|---|
| Messages | /v1/messages | Send SMS, WhatsApp, RCS, Viber, Email |
| Voice | /v1/voice | Calls, recordings, SIP |
| Agents | /v1/agents | AI agent management |
| Flows | /v1/flows | Workflow automation |
| Numbers | /v1/numbers | Phone number management |
| Verify | /v1/verify | OTP verification |
| Webhooks | /v1/webhooks | Webhook management |