Docs
REST API reference
Every endpoint of the Outreach Camel API, generated from the live API. Base URL https://api.outreachcamel.com. Import openapi.json into Postman, Insomnia or a code generator.
Workspace
Your workspace, plan, limits and usage
GET/v1/me
curl -X GET "https://api.outreachcamel.com/v1/me" \
-H "Authorization: Bearer $OC_API_KEY"Response 200
| Field | Type | Description |
|---|---|---|
| workspacerequired | object | |
| workspace.idrequired | string (uuid) | |
| workspace.namerequired | string | |
| planrequired | object or null | |
| plan.namerequired | string | |
| plan.statusrequired | string | active, past_due, canceled, ... |
| plan.trial_ends_atrequired | string or null | |
| plan.period_ends_atrequired | string or null | |
| limitsrequired | object or null | |
| limits.numbersrequired | integer | |
| limits.campaignsrequired | integer | |
| limits.new_contacts_this_periodrequired | integer | |
| limits.messages_this_periodrequired | integer | |
| usagerequired | object | |
| usage.numbersrequired | integer | |
| usage.campaignsrequired | integer | |
| usage.new_contacts_this_periodrequired | integer | |
| usage.messages_this_periodrequired | integer | |
| credentialrequired | object | |
| credential.typerequired | "api_key" | "oauth" | |
| credential.namerequired | string |
Numbers
List WhatsApp numbers
GET/v1/numbers
Every number in the workspace with its status, today's sends and today's cap. Numbers are connected in the app by scanning a QR code.
curl -X GET "https://api.outreachcamel.com/v1/numbers" \
-H "Authorization: Bearer $OC_API_KEY"Response 200
| Field | Type | Description |
|---|---|---|
| datarequired | array of object | |
| data[].idrequired | string (uuid) | |
| data[].phonerequired | string or null | E.164, e.g. +971501234567. Null until the number is linked. |
| data[].namerequired | string or null | WhatsApp profile name |
| data[].statusrequired | string | connected, qr_pending, disconnected or banned |
| data[].countryrequired | string or null | |
| data[].sent_todayrequired | integer | Outbound messages since 00:00 UTC |
| data[].replies_todayrequired | integer | |
| data[].daily_caprequired | integer | Most messages this number may send today (50, lower while warming up) |
| data[].warmuprequired | object or null | |
| data[].warmup.phaserequired | string | |
| data[].warmup.dayrequired | integer | |
| data[].warmup.daily_limitrequired | integer | |
| data[].warmup.activerequired | boolean | |
| data[].created_atrequired | string | ISO 8601 timestamp, UTC |
Get a number
GET/v1/numbers/{id}
| Parameter | In | Description |
|---|---|---|
| idrequired | path | UUID |
curl -X GET "https://api.outreachcamel.com/v1/numbers/$ID" \
-H "Authorization: Bearer $OC_API_KEY"Response 200
| Field | Type | Description |
|---|---|---|
| idrequired | string (uuid) | |
| phonerequired | string or null | E.164, e.g. +971501234567. Null until the number is linked. |
| namerequired | string or null | WhatsApp profile name |
| statusrequired | string | connected, qr_pending, disconnected or banned |
| countryrequired | string or null | |
| sent_todayrequired | integer | Outbound messages since 00:00 UTC |
| replies_todayrequired | integer | |
| daily_caprequired | integer | Most messages this number may send today (50, lower while warming up) |
| warmuprequired | object or null | |
| warmup.phaserequired | string | |
| warmup.dayrequired | integer | |
| warmup.daily_limitrequired | integer | |
| warmup.activerequired | boolean | |
| created_atrequired | string | ISO 8601 timestamp, UTC |
Contacts
List or search contacts
GET/v1/contacts
| Parameter | In | Description |
|---|---|---|
| limit | query | Items per page, 1 to 100. Default 25. |
| cursor | query | next_cursor from the previous page |
| search | query | Matches phone digits, @username, first or last name |
curl -X GET "https://api.outreachcamel.com/v1/contacts" \
-H "Authorization: Bearer $OC_API_KEY"Response 200
| Field | Type | Description |
|---|---|---|
| datarequired | array of object | |
| data[].idrequired | string (uuid) | |
| data[].addressrequired | string | What you sent us, normalised: digits for phones, @username for usernames |
| data[].phonerequired | string or null | E.164 if this contact is a phone number |
| data[].usernamerequired | string or null | @username if this contact is a WhatsApp username |
| data[].first_namerequired | string or null | |
| data[].last_namerequired | string or null | |
| data[].custom_fieldsrequired | object | |
| data[].on_whatsapprequired | boolean or null | Null if it couldn't be checked (no connected number yet) |
| data[].created_atrequired | string | ISO 8601 timestamp, UTC |
| has_morerequired | boolean | |
| next_cursorrequired | string or null | Pass as ?cursor= to get the next page. Null on the last page. |
Create or update a contact
POST/v1/contacts
Checks the number or username on WhatsApp (when a number is connected). Returns 201 when created, 200 when a contact with this address already existed and was updated.
Accepts an Idempotency-Key header for safe retries.
Body
| Field | Type | Description |
|---|---|---|
| phonerequired | string | Phone number with country code (+971501234567) or a WhatsApp username (@jane.doe). min 3 chars, max 64 chars |
| username_key | string | 4-digit username key, if the person set one. max 8 chars |
| first_name | string | max 100 chars |
| last_name | string | max 100 chars |
| custom_fields | object | Your own fields, usable in messages as {{field_name}}. Example: {"company": "Acme"} |
curl -X POST "https://api.outreachcamel.com/v1/contacts" \
-H "Authorization: Bearer $OC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"phone": "+971501234567",
"first_name": "Sara",
"custom_fields": {
"company": "Marina Dental"
}
}'Response 201
| Field | Type | Description |
|---|---|---|
| idrequired | string (uuid) | |
| addressrequired | string | What you sent us, normalised: digits for phones, @username for usernames |
| phonerequired | string or null | E.164 if this contact is a phone number |
| usernamerequired | string or null | @username if this contact is a WhatsApp username |
| first_namerequired | string or null | |
| last_namerequired | string or null | |
| custom_fieldsrequired | object | |
| on_whatsapprequired | boolean or null | Null if it couldn't be checked (no connected number yet) |
| created_atrequired | string | ISO 8601 timestamp, UTC |
Create or update up to 100 contacts
POST/v1/contacts/batch
Each row is handled on its own; one bad row doesn't stop the others. Check results[].status.
Accepts an Idempotency-Key header for safe retries.
Body
| Field | Type | Description |
|---|---|---|
| contactsrequired | array of object | max 100 items |
| contacts[].phonerequired | string | max 64 chars |
| contacts[].username_key | string | 4-digit username key, if the person set one. max 8 chars |
| contacts[].first_name | string | max 100 chars |
| contacts[].last_name | string | max 100 chars |
| contacts[].custom_fields | object | Your own fields, usable in messages as {{field_name}}. Example: {"company": "Acme"} |
curl -X POST "https://api.outreachcamel.com/v1/contacts/batch" \
-H "Authorization: Bearer $OC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"contacts": [
{
"phone": "+971501234567",
"first_name": "Sara"
},
{
"phone": "@omar.k",
"first_name": "Omar"
}
]
}'Response 200
| Field | Type | Description |
|---|---|---|
| resultsrequired | array of object | |
| results[].indexrequired | integer | |
| results[].statusrequired | "created" | "updated" | "not_on_whatsapp" | "invalid" | "plan_limit" | |
| results[].contactrequired | object or null | |
| results[].contact.idrequired | string (uuid) | |
| results[].contact.addressrequired | string | What you sent us, normalised: digits for phones, @username for usernames |
| results[].contact.phonerequired | string or null | E.164 if this contact is a phone number |
| results[].contact.usernamerequired | string or null | @username if this contact is a WhatsApp username |
| results[].contact.first_namerequired | string or null | |
| results[].contact.last_namerequired | string or null | |
| results[].contact.custom_fieldsrequired | object | |
| results[].contact.on_whatsapprequired | boolean or null | Null if it couldn't be checked (no connected number yet) |
| results[].contact.created_atrequired | string | ISO 8601 timestamp, UTC |
| results[].errorrequired | string or null | |
| summaryrequired | object | |
| summary.createdrequired | integer | |
| summary.updatedrequired | integer | |
| summary.failedrequired | integer |
Get a contact
GET/v1/contacts/{id}
| Parameter | In | Description |
|---|---|---|
| idrequired | path | UUID |
curl -X GET "https://api.outreachcamel.com/v1/contacts/$ID" \
-H "Authorization: Bearer $OC_API_KEY"Response 200
| Field | Type | Description |
|---|---|---|
| idrequired | string (uuid) | |
| addressrequired | string | What you sent us, normalised: digits for phones, @username for usernames |
| phonerequired | string or null | E.164 if this contact is a phone number |
| usernamerequired | string or null | @username if this contact is a WhatsApp username |
| first_namerequired | string or null | |
| last_namerequired | string or null | |
| custom_fieldsrequired | object | |
| on_whatsapprequired | boolean or null | Null if it couldn't be checked (no connected number yet) |
| created_atrequired | string | ISO 8601 timestamp, UTC |
Update a contact's names or custom fields
PATCH/v1/contacts/{id}
| Parameter | In | Description |
|---|---|---|
| idrequired | path | UUID |
Body
| Field | Type | Description |
|---|---|---|
| first_name | string or null | |
| last_name | string or null | |
| custom_fields | object | Merged into the existing fields. Set a field to null to remove it. |
curl -X PATCH "https://api.outreachcamel.com/v1/contacts/$ID" \
-H "Authorization: Bearer $OC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"custom_fields": {
"company": "Marina Dental Group",
"city": "Dubai"
}
}'Response 200
| Field | Type | Description |
|---|---|---|
| idrequired | string (uuid) | |
| addressrequired | string | What you sent us, normalised: digits for phones, @username for usernames |
| phonerequired | string or null | E.164 if this contact is a phone number |
| usernamerequired | string or null | @username if this contact is a WhatsApp username |
| first_namerequired | string or null | |
| last_namerequired | string or null | |
| custom_fieldsrequired | object | |
| on_whatsapprequired | boolean or null | Null if it couldn't be checked (no connected number yet) |
| created_atrequired | string | ISO 8601 timestamp, UTC |
Delete a contact
DELETE/v1/contacts/{id}
Also removes them from campaigns and deletes their conversations.
| Parameter | In | Description |
|---|---|---|
| idrequired | path | UUID |
curl -X DELETE "https://api.outreachcamel.com/v1/contacts/$ID" \
-H "Authorization: Bearer $OC_API_KEY"Response 200
| Field | Type | Description |
|---|---|---|
| idrequired | string (uuid) | |
| deletedrequired | true |
Campaigns
List campaigns with their stats
GET/v1/campaigns
curl -X GET "https://api.outreachcamel.com/v1/campaigns" \
-H "Authorization: Bearer $OC_API_KEY"Response 200
| Field | Type | Description |
|---|---|---|
| datarequired | array of object | |
| data[].idrequired | string (uuid) | |
| data[].namerequired | string | |
| data[].statusrequired | "draft" | "active" | "paused" or string | |
| data[].schedulerequired | object or null | |
| data[].schedule.timezonerequired | string | |
| data[].schedule.start_timerequired | string | |
| data[].schedule.end_timerequired | string | |
| data[].schedule.daysrequired | array of integer | |
| data[].schedule.start_daterequired | string or null | |
| data[].schedule.end_daterequired | string or null | |
| data[].daily_limitrequired | integer | |
| data[].stop_on_replyrequired | boolean | |
| data[].number_idsrequired | array of string (uuid) | |
| data[].created_atrequired | string | ISO 8601 timestamp, UTC |
| data[].step_countrequired | integer | |
| data[].statsrequired | object | |
| data[].stats.leadsrequired | integer | |
| data[].stats.sentrequired | integer | |
| data[].stats.deliveredrequired | integer | |
| data[].stats.repliedrequired | integer | |
| data[].stats.reply_raterequired | number |
Create a campaign
POST/v1/campaigns
Creates a draft campaign, optionally with its message steps, schedule and settings in one call. Start it with POST /v1/campaigns/{id}/start.
Accepts an Idempotency-Key header for safe retries.
Body
| Field | Type | Description |
|---|---|---|
| namerequired | string | min 1 chars, max 200 chars |
| steps | array of object | max 20 items |
| steps[].messagerequired | string | Text to send. Personalise with {{first_name}}, {{last_name}} or any custom field, e.g. {{company}}. min 1 chars, max 4096 chars |
| steps[].wait_before | object or null | How long after the previous message to send this one. Required for every step after the first. |
| steps[].wait_before.valuerequired | integer | min 1, max 365 |
| steps[].wait_before.unitrequired | "minutes" | "hours" | "days" | |
| schedule | object | Defaults: UTC, 09:00 to 18:00, Monday to Friday |
| schedule.timezone | string | IANA time zone, e.g. Asia/Dubai |
| schedule.start_time | string | Earliest send time, HH:MM in the time zone |
| schedule.end_time | string | Latest send time, HH:MM |
| schedule.days | array of integer | Days to send on: 0 = Sunday ... 6 = Saturday. max 7 items |
| schedule.start_date | string | |
| schedule.end_date | string or null | |
| daily_limit | integer | Most messages this campaign sends per day across all numbers. Default 250.. min 1, max 10000 |
| stop_on_reply | boolean | Stop the sequence for a lead once they reply. Default true. |
| number_ids | array of string (uuid) | Only send from these numbers. Empty or left out = all connected numbers.. max 100 items |
curl -X POST "https://api.outreachcamel.com/v1/campaigns" \
-H "Authorization: Bearer $OC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Dubai clinics, November",
"steps": [
{
"message": "Hi {{first_name}}, do you take bookings on WhatsApp at {{company}}?"
},
{
"message": "Quick follow-up, {{first_name}}. Worth a 10 minute call?",
"wait_before": {
"value": 2,
"unit": "days"
}
}
],
"schedule": {
"timezone": "Asia/Dubai",
"start_time": "09:00",
"end_time": "18:00",
"days": [
0,
1,
2,
3,
4
]
}
}'Response 201
| Field | Type | Description |
|---|---|---|
| idrequired | string (uuid) | |
| namerequired | string | |
| statusrequired | "draft" | "active" | "paused" or string | |
| stepsrequired | array of object | |
| steps[].idrequired | string (uuid) | |
| steps[].orderrequired | integer | |
| steps[].messagerequired | string | |
| steps[].wait_beforerequired | object or null | |
| steps[].wait_before.valuerequired | integer | min 1, max 365 |
| steps[].wait_before.unitrequired | "minutes" | "hours" | "days" | |
| steps[].wait_for_replyrequired | boolean | Set for sequences built in the app that wait for a reply before this step |
| steps[].variablesrequired | array of string | |
| schedulerequired | object or null | |
| schedule.timezonerequired | string | |
| schedule.start_timerequired | string | |
| schedule.end_timerequired | string | |
| schedule.daysrequired | array of integer | |
| schedule.start_daterequired | string or null | |
| schedule.end_daterequired | string or null | |
| daily_limitrequired | integer | |
| stop_on_replyrequired | boolean | |
| number_idsrequired | array of string (uuid) | |
| created_atrequired | string | ISO 8601 timestamp, UTC |
Get a campaign with its steps and schedule
GET/v1/campaigns/{id}
| Parameter | In | Description |
|---|---|---|
| idrequired | path | UUID |
curl -X GET "https://api.outreachcamel.com/v1/campaigns/$ID" \
-H "Authorization: Bearer $OC_API_KEY"Response 200
| Field | Type | Description |
|---|---|---|
| idrequired | string (uuid) | |
| namerequired | string | |
| statusrequired | "draft" | "active" | "paused" or string | |
| stepsrequired | array of object | |
| steps[].idrequired | string (uuid) | |
| steps[].orderrequired | integer | |
| steps[].messagerequired | string | |
| steps[].wait_beforerequired | object or null | |
| steps[].wait_before.valuerequired | integer | min 1, max 365 |
| steps[].wait_before.unitrequired | "minutes" | "hours" | "days" | |
| steps[].wait_for_replyrequired | boolean | Set for sequences built in the app that wait for a reply before this step |
| steps[].variablesrequired | array of string | |
| schedulerequired | object or null | |
| schedule.timezonerequired | string | |
| schedule.start_timerequired | string | |
| schedule.end_timerequired | string | |
| schedule.daysrequired | array of integer | |
| schedule.start_daterequired | string or null | |
| schedule.end_daterequired | string or null | |
| daily_limitrequired | integer | |
| stop_on_replyrequired | boolean | |
| number_idsrequired | array of string (uuid) | |
| created_atrequired | string | ISO 8601 timestamp, UTC |
Update a campaign's name, schedule or settings
PATCH/v1/campaigns/{id}
| Parameter | In | Description |
|---|---|---|
| idrequired | path | UUID |
Body
| Field | Type | Description |
|---|---|---|
| name | string | min 1 chars, max 200 chars |
| schedule | object | |
| schedule.timezone | string | IANA time zone, e.g. Asia/Dubai |
| schedule.start_time | string | Earliest send time, HH:MM in the time zone |
| schedule.end_time | string | Latest send time, HH:MM |
| schedule.days | array of integer | Days to send on: 0 = Sunday ... 6 = Saturday. max 7 items |
| schedule.start_date | string | |
| schedule.end_date | string or null | |
| daily_limit | integer | Most messages this campaign sends per day across all numbers. Default 250.. min 1, max 10000 |
| stop_on_reply | boolean | Stop the sequence for a lead once they reply. Default true. |
| number_ids | array of string (uuid) | Only send from these numbers. Empty or left out = all connected numbers.. max 100 items |
curl -X PATCH "https://api.outreachcamel.com/v1/campaigns/$ID" \
-H "Authorization: Bearer $OC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"daily_limit": 100,
"schedule": {
"end_time": "17:00"
}
}'Response 200
| Field | Type | Description |
|---|---|---|
| idrequired | string (uuid) | |
| namerequired | string | |
| statusrequired | "draft" | "active" | "paused" or string | |
| stepsrequired | array of object | |
| steps[].idrequired | string (uuid) | |
| steps[].orderrequired | integer | |
| steps[].messagerequired | string | |
| steps[].wait_beforerequired | object or null | |
| steps[].wait_before.valuerequired | integer | min 1, max 365 |
| steps[].wait_before.unitrequired | "minutes" | "hours" | "days" | |
| steps[].wait_for_replyrequired | boolean | Set for sequences built in the app that wait for a reply before this step |
| steps[].variablesrequired | array of string | |
| schedulerequired | object or null | |
| schedule.timezonerequired | string | |
| schedule.start_timerequired | string | |
| schedule.end_timerequired | string | |
| schedule.daysrequired | array of integer | |
| schedule.start_daterequired | string or null | |
| schedule.end_daterequired | string or null | |
| daily_limitrequired | integer | |
| stop_on_replyrequired | boolean | |
| number_idsrequired | array of string (uuid) | |
| created_atrequired | string | ISO 8601 timestamp, UTC |
Delete a campaign
DELETE/v1/campaigns/{id}
Stops all its leads. Conversations and contacts are kept.
| Parameter | In | Description |
|---|---|---|
| idrequired | path | UUID |
curl -X DELETE "https://api.outreachcamel.com/v1/campaigns/$ID" \
-H "Authorization: Bearer $OC_API_KEY"Response 200
| Field | Type | Description |
|---|---|---|
| idrequired | string (uuid) | |
| deletedrequired | true |
Replace a campaign's message steps
PUT/v1/campaigns/{id}/steps
Allowed while the campaign is a draft or paused, and no lead is past the first message.
| Parameter | In | Description |
|---|---|---|
| idrequired | path | UUID |
Body
| Field | Type | Description |
|---|---|---|
| stepsrequired | array of object | max 20 items |
| steps[].messagerequired | string | Text to send. Personalise with {{first_name}}, {{last_name}} or any custom field, e.g. {{company}}. min 1 chars, max 4096 chars |
| steps[].wait_before | object or null | How long after the previous message to send this one. Required for every step after the first. |
| steps[].wait_before.valuerequired | integer | min 1, max 365 |
| steps[].wait_before.unitrequired | "minutes" | "hours" | "days" |
curl -X PUT "https://api.outreachcamel.com/v1/campaigns/$ID/steps" \
-H "Authorization: Bearer $OC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"steps": [
{
"message": "Hi {{first_name}}"
},
{
"message": "Following up",
"wait_before": {
"value": 3,
"unit": "days"
}
}
]
}'Response 200
| Field | Type | Description |
|---|---|---|
| idrequired | string (uuid) | |
| namerequired | string | |
| statusrequired | "draft" | "active" | "paused" or string | |
| stepsrequired | array of object | |
| steps[].idrequired | string (uuid) | |
| steps[].orderrequired | integer | |
| steps[].messagerequired | string | |
| steps[].wait_beforerequired | object or null | |
| steps[].wait_before.valuerequired | integer | min 1, max 365 |
| steps[].wait_before.unitrequired | "minutes" | "hours" | "days" | |
| steps[].wait_for_replyrequired | boolean | Set for sequences built in the app that wait for a reply before this step |
| steps[].variablesrequired | array of string | |
| schedulerequired | object or null | |
| schedule.timezonerequired | string | |
| schedule.start_timerequired | string | |
| schedule.end_timerequired | string | |
| schedule.daysrequired | array of integer | |
| schedule.start_daterequired | string or null | |
| schedule.end_daterequired | string or null | |
| daily_limitrequired | integer | |
| stop_on_replyrequired | boolean | |
| number_idsrequired | array of string (uuid) | |
| created_atrequired | string | ISO 8601 timestamp, UTC |
Add leads to a campaign
POST/v1/campaigns/{id}/leads
Adds existing contacts (contact_ids) and/or new ones (contacts) to the campaign, up to 100 per request. Each lead is checked on WhatsApp and assigned to one of your connected numbers. If the campaign is active, the first message goes out at the next send window.
| Parameter | In | Description |
|---|---|---|
| idrequired | path | UUID |
Accepts an Idempotency-Key header for safe retries.
Body
| Field | Type | Description |
|---|---|---|
| contact_ids | array of string (uuid) | Existing contacts to add. max 100 items |
| contacts | array of object | New contacts, created and added in one go. max 100 items |
| contacts[].phonerequired | string | Phone number with country code (+971501234567) or a WhatsApp username (@jane.doe). min 3 chars, max 64 chars |
| contacts[].username_key | string | 4-digit username key, if the person set one. max 8 chars |
| contacts[].first_name | string | max 100 chars |
| contacts[].last_name | string | max 100 chars |
| contacts[].custom_fields | object | Your own fields, usable in messages as {{field_name}}. Example: {"company": "Acme"} |
curl -X POST "https://api.outreachcamel.com/v1/campaigns/$ID/leads" \
-H "Authorization: Bearer $OC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"contact_ids": [
"8f3c2a1e-4b5d-4c6e-9f70-1a2b3c4d5e6f"
],
"contacts": [
{
"phone": "+971509876543",
"first_name": "Layla"
}
]
}'Response 200
| Field | Type | Description |
|---|---|---|
| enrolledrequired | integer | |
| already_enrolledrequired | integer | |
| not_on_whatsapprequired | array of string | Addresses skipped because they aren't on WhatsApp |
| own_numbersrequired | array of string | Skipped because they are one of your own numbers |
| contact_errorsrequired | array of object | Inline contacts that couldn't be created |
| contact_errors[].indexrequired | integer | |
| contact_errors[].errorrequired | string | |
| missing_variablesrequired | array of object | Leads missing a field the messages use. Their message would contain the raw {{tag}}; fill the field or remove them. |
| missing_variables[].contact_idrequired | string (uuid) | |
| missing_variables[].variablesrequired | array of string |
List a campaign's leads
GET/v1/campaigns/{id}/leads
| Parameter | In | Description |
|---|---|---|
| idrequired | path | UUID |
| limit | query | Items per page, 1 to 100. Default 25. |
| cursor | query | next_cursor from the previous page |
| status | query |
curl -X GET "https://api.outreachcamel.com/v1/campaigns/$ID/leads" \
-H "Authorization: Bearer $OC_API_KEY"Response 200
| Field | Type | Description |
|---|---|---|
| datarequired | array of object | |
| data[].idrequired | string (uuid) | |
| data[].contact_idrequired | string (uuid) | |
| data[].contactrequired | object | |
| data[].contact.addressrequired | string | |
| data[].contact.first_namerequired | string or null | |
| data[].contact.last_namerequired | string or null | |
| data[].number_idrequired | string (uuid) | |
| data[].statusrequired | string | active, replied, completed or eliminated |
| data[].current_steprequired | integer | |
| data[].next_send_atrequired | string or null | |
| data[].enrolled_atrequired | string | ISO 8601 timestamp, UTC |
| has_morerequired | boolean | |
| next_cursorrequired | string or null | Pass as ?cursor= to get the next page. Null on the last page. |
Start or resume a campaign
POST/v1/campaigns/{id}/start
Needs at least one message step and one connected number. Sending follows the schedule and the 50 messages a day per number cap.
| Parameter | In | Description |
|---|---|---|
| idrequired | path | UUID |
curl -X POST "https://api.outreachcamel.com/v1/campaigns/$ID/start" \
-H "Authorization: Bearer $OC_API_KEY"Response 200
| Field | Type | Description |
|---|---|---|
| idrequired | string (uuid) | |
| statusrequired | string |
Pause a campaign
POST/v1/campaigns/{id}/pause
| Parameter | In | Description |
|---|---|---|
| idrequired | path | UUID |
curl -X POST "https://api.outreachcamel.com/v1/campaigns/$ID/pause" \
-H "Authorization: Bearer $OC_API_KEY"Response 200
| Field | Type | Description |
|---|---|---|
| idrequired | string (uuid) | |
| statusrequired | string |
Campaign results
GET/v1/campaigns/{id}/stats
| Parameter | In | Description |
|---|---|---|
| idrequired | path | UUID |
curl -X GET "https://api.outreachcamel.com/v1/campaigns/$ID/stats" \
-H "Authorization: Bearer $OC_API_KEY"Response 200
| Field | Type | Description |
|---|---|---|
| campaign_idrequired | string (uuid) | |
| statusrequired | string | |
| leadsrequired | object | |
| leads.totalrequired | integer | |
| leads.activerequired | integer | |
| leads.repliedrequired | integer | |
| leads.completedrequired | integer | |
| leads.eliminatedrequired | integer | |
| messagesrequired | object | |
| messages.sentrequired | integer | |
| messages.deliveredrequired | integer | |
| messages.readrequired | integer | |
| messages.failedrequired | integer | |
| repliedrequired | integer | |
| reply_raterequired | number | Replied leads / leads messaged, 0 to 1 |
| lead_statusesrequired | object | Conversations by lead status |
Conversations
List conversations (replies)
GET/v1/conversations
Newest activity first. Warmup traffic between your own numbers is left out.
| Parameter | In | Description |
|---|---|---|
| limit | query | Items per page, 1 to 100. Default 25. |
| cursor | query | next_cursor from the previous page |
| lead_status | query | |
| status | query | |
| campaign_id | query | |
| number_id | query | |
| updated_since | query | Only conversations with a message after this time |
| has_unread | query |
curl -X GET "https://api.outreachcamel.com/v1/conversations" \
-H "Authorization: Bearer $OC_API_KEY"Response 200
| Field | Type | Description |
|---|---|---|
| datarequired | array of object | |
| data[].idrequired | string (uuid) | |
| data[].number_idrequired | string (uuid) | |
| data[].number_phonerequired | string or null | |
| data[].contactrequired | object | |
| data[].contact.idrequired | string (uuid) | |
| data[].contact.addressrequired | string | |
| data[].contact.first_namerequired | string or null | |
| data[].contact.last_namerequired | string or null | |
| data[].statusrequired | string | open or resolved |
| data[].lead_statusrequired | "interested" | "not_interested" | "meeting_booked" | "out_of_office" | "wrong_person" | "none" or string | |
| data[].lead_status_sourcerequired | "ai" | "manual" | |
| data[].unread_countrequired | integer | |
| data[].last_message_atrequired | string or null | |
| data[].last_messagerequired | object or null | |
| data[].last_message.directionrequired | string | |
| data[].last_message.bodyrequired | string or null | |
| data[].last_message.created_atrequired | string | ISO 8601 timestamp, UTC |
| data[].campaignrequired | object or null | |
| data[].campaign.idrequired | string (uuid) | |
| data[].campaign.namerequired | string | |
| data[].created_atrequired | string | ISO 8601 timestamp, UTC |
| has_morerequired | boolean | |
| next_cursorrequired | string or null | Pass as ?cursor= to get the next page. Null on the last page. |
Get a conversation
GET/v1/conversations/{id}
| Parameter | In | Description |
|---|---|---|
| idrequired | path | UUID |
curl -X GET "https://api.outreachcamel.com/v1/conversations/$ID" \
-H "Authorization: Bearer $OC_API_KEY"Response 200
| Field | Type | Description |
|---|---|---|
| idrequired | string (uuid) | |
| number_idrequired | string (uuid) | |
| number_phonerequired | string or null | |
| contactrequired | object | |
| contact.idrequired | string (uuid) | |
| contact.addressrequired | string | |
| contact.first_namerequired | string or null | |
| contact.last_namerequired | string or null | |
| statusrequired | string | open or resolved |
| lead_statusrequired | "interested" | "not_interested" | "meeting_booked" | "out_of_office" | "wrong_person" | "none" or string | |
| lead_status_sourcerequired | "ai" | "manual" | |
| unread_countrequired | integer | |
| last_message_atrequired | string or null | |
| last_messagerequired | object or null | |
| last_message.directionrequired | string | |
| last_message.bodyrequired | string or null | |
| last_message.created_atrequired | string | ISO 8601 timestamp, UTC |
| campaignrequired | object or null | |
| campaign.idrequired | string (uuid) | |
| campaign.namerequired | string | |
| created_atrequired | string | ISO 8601 timestamp, UTC |
Set lead status, or resolve / reopen
PATCH/v1/conversations/{id}
| Parameter | In | Description |
|---|---|---|
| idrequired | path | UUID |
Body
| Field | Type | Description |
|---|---|---|
| lead_status | "interested" | "not_interested" | "meeting_booked" | "out_of_office" | "wrong_person" | "none" | |
| status | "open" | "resolved" |
curl -X PATCH "https://api.outreachcamel.com/v1/conversations/$ID" \
-H "Authorization: Bearer $OC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"lead_status": "meeting_booked"
}'Response 200
| Field | Type | Description |
|---|---|---|
| idrequired | string (uuid) | |
| number_idrequired | string (uuid) | |
| number_phonerequired | string or null | |
| contactrequired | object | |
| contact.idrequired | string (uuid) | |
| contact.addressrequired | string | |
| contact.first_namerequired | string or null | |
| contact.last_namerequired | string or null | |
| statusrequired | string | open or resolved |
| lead_statusrequired | "interested" | "not_interested" | "meeting_booked" | "out_of_office" | "wrong_person" | "none" or string | |
| lead_status_sourcerequired | "ai" | "manual" | |
| unread_countrequired | integer | |
| last_message_atrequired | string or null | |
| last_messagerequired | object or null | |
| last_message.directionrequired | string | |
| last_message.bodyrequired | string or null | |
| last_message.created_atrequired | string | ISO 8601 timestamp, UTC |
| campaignrequired | object or null | |
| campaign.idrequired | string (uuid) | |
| campaign.namerequired | string | |
| created_atrequired | string | ISO 8601 timestamp, UTC |
List a conversation's messages
GET/v1/conversations/{id}/messages
Newest first.
| Parameter | In | Description |
|---|---|---|
| idrequired | path | UUID |
| limit | query | Items per page, 1 to 100. Default 25. |
| cursor | query | next_cursor from the previous page |
curl -X GET "https://api.outreachcamel.com/v1/conversations/$ID/messages" \
-H "Authorization: Bearer $OC_API_KEY"Response 200
| Field | Type | Description |
|---|---|---|
| datarequired | array of object | |
| data[].idrequired | string (uuid) | |
| data[].directionrequired | "inbound" | "outbound" or string | |
| data[].bodyrequired | string or null | |
| data[].statusrequired | string | For outbound: pending, sent, delivered, read or failed |
| data[].campaign_idrequired | string (uuid) or null | |
| data[].sent_atrequired | string or null | |
| data[].created_atrequired | string | ISO 8601 timestamp, UTC |
| has_morerequired | boolean | |
| next_cursorrequired | string or null | Pass as ?cursor= to get the next page. Null on the last page. |
Reply in a conversation
POST/v1/conversations/{id}/messages
Sends from the number the conversation is on. Counts toward the plan's messages and the number's 50 a day.
| Parameter | In | Description |
|---|---|---|
| idrequired | path | UUID |
Accepts an Idempotency-Key header for safe retries.
Body
| Field | Type | Description |
|---|---|---|
| bodyrequired | string | min 1 chars, max 4096 chars |
curl -X POST "https://api.outreachcamel.com/v1/conversations/$ID/messages" \
-H "Authorization: Bearer $OC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"body": "Great, does Tuesday at 3pm work for a quick call?"
}'Response 201
| Field | Type | Description |
|---|---|---|
| idrequired | string (uuid) | |
| directionrequired | "inbound" | "outbound" or string | |
| bodyrequired | string or null | |
| statusrequired | string | For outbound: pending, sent, delivered, read or failed |
| campaign_idrequired | string (uuid) or null | |
| sent_atrequired | string or null | |
| created_atrequired | string | ISO 8601 timestamp, UTC |
Webhooks
List webhook endpoints
GET/v1/webhooks
curl -X GET "https://api.outreachcamel.com/v1/webhooks" \
-H "Authorization: Bearer $OC_API_KEY"Response 200
| Field | Type | Description |
|---|---|---|
| datarequired | array of object | |
| data[].idrequired | string (uuid) | |
| data[].urlrequired | string | |
| data[].eventsrequired | array of string | |
| data[].activerequired | boolean | |
| data[].created_atrequired | string | ISO 8601 timestamp, UTC |
Add a webhook endpoint
POST/v1/webhooks
The response includes the signing secret. It is shown only once.
Body
| Field | Type | Description |
|---|---|---|
| urlrequired | string (uri) | https URL that will receive POSTs. max 2000 chars |
| eventsrequired | array of "message.received" | "message.sent" | "message.status_updated" | "lead.status_changed" | "number.status_changed" | Events to send |
curl -X POST "https://api.outreachcamel.com/v1/webhooks" \
-H "Authorization: Bearer $OC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com/webhooks/outreach-camel",
"events": [
"message.received",
"lead.status_changed"
]
}'Response 201
| Field | Type | Description |
|---|---|---|
| idrequired | string (uuid) | |
| urlrequired | string | |
| eventsrequired | array of string | |
| activerequired | boolean | |
| created_atrequired | string | ISO 8601 timestamp, UTC |
| secretrequired | string | Signing secret (whsec_...). Shown only once: store it now. |
Delete a webhook endpoint
DELETE/v1/webhooks/{id}
| Parameter | In | Description |
|---|---|---|
| idrequired | path | UUID |
curl -X DELETE "https://api.outreachcamel.com/v1/webhooks/$ID" \
-H "Authorization: Bearer $OC_API_KEY"Response 200
| Field | Type | Description |
|---|---|---|
| idrequired | string (uuid) | |
| deletedrequired | true |
Send a test event
POST/v1/webhooks/{id}/test
Sends a signed webhook.test event and reports what your endpoint answered.
| Parameter | In | Description |
|---|---|---|
| idrequired | path | UUID |
curl -X POST "https://api.outreachcamel.com/v1/webhooks/$ID/test" \
-H "Authorization: Bearer $OC_API_KEY"Response 200
| Field | Type | Description |
|---|---|---|
| deliveredrequired | boolean | |
| status_coderequired | integer or null | |
| errorrequired | string or null |