Skip to main content
PUT
/
api
/
contacts
/
bulk-update-status
Bulk update contact status
curl --request PUT \
  --url https://your-instance.example.com/api/contacts/bulk-update-status \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "contactIds": [
    "64f0a1b2c3d4e5f6a7b8c9d0",
    "64f0a1b2c3d4e5f6a7b8c9d5"
  ],
  "status": "Qualified",
  "pipelineStageId": "64f0a1b2c3d4e5f6a7b8c9d2"
}
'
{
  "message": "Bulk update completed",
  "modifiedCount": 12,
  "matchedCount": 12
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
contactIds
string[]
required

Contact _ids to move; org-scoped unless the caller is SUPERADMIN.

status
string
required

Target pipeline status name to assign to every contact.

pipelineStageId
string
required

Target pipeline stage _id; resolved together with status to also infer pipelineId.

Response

Bulk update completed

message
string
modifiedCount
integer
matchedCount
integer