POST
/
campaigns
/
{campaignId}
/
contacts
curl --request POST \
  --url https://api.callers.ai/campaigns/{campaignId}/contacts \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "phoneNumber": "<string>",
  "data": {},
  "archived": false
}'
{
  "contactId": "<string>",
  "created": true,
  "modified": true
}

Authorizations

Authorization
string
header
required

Headers

x-sub-organization-id
string

Optional sub organization ID. Must belong to your main organization API key.

Path Parameters

campaignId
string
required

Query Parameters

fixUSPhoneNumber
boolean

Will add 1 to the phone number if it doesn't starts with 1

Body

application/json

Response

200
application/json

The response is of type object.