DELETE
/
campaigns
/
{campaignId}
/
contacts
/
phone-number
/
bulk
Archive contacts by contact phone numbers
curl --request DELETE \
  --url https://api.callers.ai/campaigns/{campaignId}/contacts/phone-number/bulk \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '[
  "<string>"
]'
{
  "status": "success",
  "data": {
    "archivedCount": 123
  }
}

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 · string[]

The body is of type string[].

Response

The response is of type object.