Classify campaign contacts for the Review step
Campaigns
Classify campaign contacts for the Review step
Classifies the provided CSV/contact payload into buckets (new, existing, already-messaged inbound/outbound, assigned-to-other-user, protected, etc.) using the organization's contact protection period and the campaign's segmentation/assignment configuration. Returns { success, data: ContactValidationResult }.
POST
Classify campaign contacts for the Review step
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
CSV-derived contact payloads; each must include a phone number.
Optional segmentation config (enabled, contactDistribution, etc.).
Optional assignment config (isAssignmentEnabled, assignmentType, selectedUsers, segmentAssignments).
Response
Classification result returned
Available options:
true Buckets each input contact falls into based on phone matching, ownership, message history, assignee status, and the org's contact protection period.
Example:
{
"newContacts": [
{
"firstName": "Jamie",
"phoneNumber": "+14155550133"
}
],
"existingContacts": [
{
"_id": "665f1a0c0e0a4b001a2c9f01",
"phoneNumber": "+14155550144"
}
],
"assignedToOtherUsers": [],
"alreadyMessagedOutbound": [],
"alreadyMessagedInbound": [],
"assignedToYouNotOwned": [],
"protectedContacts": []
}