Outbound API
Outbound campaigns and one-off SMS and email sends.
- Production:
https://outbound.keybeapi.com - OpenAPI spec: outbound.json
Every operation is authenticated with your API key, except the ones marked as public or user token only. See Authentication.
Campaigns
Create a campaign and drive its lifecycle: estimate, send or schedule, cancel and retry.
| Method | Operation | Path |
|---|---|---|
| GET | List campaigns | /v1/campaigns |
| POST | Create a campaign | /v1/campaigns |
| GET | Get a campaign | /v1/campaigns/{campaignId} |
| PATCH | Update a draft campaign | /v1/campaigns/{campaignId} |
| DEL | Archive a campaign | /v1/campaigns/{campaignId} |
| POST | Estimate the cost of a campaign | /v1/campaigns/{campaignId}/estimate |
| POST | Send a campaign now | /v1/campaigns/{campaignId}/send |
| POST | Schedule a campaign | /v1/campaigns/{campaignId}/schedule |
| POST | Cancel a campaign | /v1/campaigns/{campaignId}/cancel |
| POST | Retry a failed campaign | /v1/campaigns/{campaignId}/retry |
Templates
Reusable SMS, email and WhatsApp messages to create campaigns from.
| Method | Operation | Path |
|---|---|---|
| GET | List templates | /v1/templates |
| POST | Create a template | /v1/templates |
| GET | Get a template | /v1/templates/{templateId} |
| PATCH | Update a template | /v1/templates/{templateId} |
| DEL | Archive a template | /v1/templates/{templateId} |
Campaign recipients
Load the audience of a campaign (segment or file) and list or export its recipients.
| Method | Operation | Path |
|---|---|---|
| POST | Load recipients from a file URL | /v1/campaigns/{campaignId}/import/file-url |
| POST | Upload a recipients file | /v1/campaigns/{campaignId}/import/file |
| POST | Get an upload URL for a recipients file | /v1/campaigns/{campaignId}/import/upload-url |
| POST | Import recipients | /v1/campaigns/{campaignId}/import |
| GET | List campaign recipients | /v1/campaigns/{campaignId}/users |
| GET | Export recipients as CSV | /v1/campaigns/{campaignId}/export |
Campaign results
Counters and engagement of sent campaigns.
| Method | Operation | Path |
|---|---|---|
| GET | Get campaign counters | /v1/campaigns/{campaignId}/metrics |
| GET | Get campaign results | /v1/campaigns/{campaignId}/results |
SMS
Send a single SMS.
| Method | Operation | Path |
|---|---|---|
| POST | Send an SMS | /v1/sms/send |
Email
Send a single email.
| Method | Operation | Path |
|---|---|---|
| POST | Send an email | /v1/email/send |