Error
A valid request URL is required to generate request examples{
"imported": 123,
"duplicates": 123,
"skipped": 123,
"import_id": "<string>"
}{
"error": {
"code": "validation_error",
"message": "<string>",
"request_id": "<string>",
"field": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"request_id": "<string>",
"field": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"request_id": "<string>",
"field": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"request_id": "<string>",
"field": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"request_id": "<string>",
"field": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"request_id": "<string>",
"field": "<string>"
}
}Campaigns
Add contacts to a campaign
Adds 1-500 contacts. Numbers are parsed like a CSV import (E.164, or
national format in the workspace’s country). A contact whose first
usable number is already in the campaign counts as a duplicate; one
with no usable number is skipped. All contacts added through the API
land in one “API” import in the campaign’s import history. Returns
400 once the campaign holds its maximum number of contacts.
POST
/
campaigns
/
{id}
/
contacts
Error
A valid request URL is required to generate request examples{
"imported": 123,
"duplicates": 123,
"skipped": 123,
"import_id": "<string>"
}{
"error": {
"code": "validation_error",
"message": "<string>",
"request_id": "<string>",
"field": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"request_id": "<string>",
"field": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"request_id": "<string>",
"field": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"request_id": "<string>",
"field": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"request_id": "<string>",
"field": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"request_id": "<string>",
"field": "<string>"
}
}Authorizations
Headers
Body
application/json
Was this page helpful?
.png)