Documentation
API reference
A summary of the REST API surface. Base URL, authentication and conventions first, then the endpoints.
Base URL
Base URL
Conventions
- Authentication — bearer token in the
Authorizationheader on every request. - Content type —
application/jsonfor request and response bodies. - Pagination — cursor based, using
limitand acursorreturned in the response. - Errors — a machine-readable
codewith a human-readablemessage. - Idempotency — write requests accept an idempotency key so retries are safe.
Endpoints
- POST /messages Send a message from a connected number
- GET /messages List synchronized messages
- GET /conversations List conversations across connections
- GET /conversations/:id Fetch one conversation with its messages
- GET /media/:id Media metadata for a synchronized file
- GET /media/:id/download Download the file itself
- GET /connections List connections and their health
- GET /connections/:id Inspect one connection
- POST /webhooks Register a webhook endpoint
- GET /webhooks/deliveries Inspect recent delivery attempts
Messages
POST /messages
201 Created
Conversations
GET /conversations
200 OK
Media
GET /media/:id/download
200 OK
Connections
GET /connections
200 OK
Everything on this page works on the Free plan, including webhooks and full API access.
Start Free