Skip to main content
DELETE
Archive contacts by contact phone numbers

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

Accepts a phone-number array or an object with phoneNumbers and an optional archiveReason.

phoneNumbers
string[]
required
archiveReason
string

Reason for archiving the contact. Cleared when the contact is restored.

Response

status
enum<string>
Available options:
success
data
object