Skip to main content
PUT
/
api
/
contact
Update contact
curl --request PUT \
  --url https://your-instance.example.com/api/contact \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "_id": "64f0a1b2c3d4e5f6a7b8c9d0",
  "status": "Qualified",
  "pipelineStage": "64f0a1b2c3d4e5f6a7b8c9d2",
  "pipelineId": "64f0a1b2c3d4e5f6a7b8c9d1"
}
'
{
  "message": "Contact updated successfully",
  "success": true,
  "contact": {
    "_id": "64f0a1b2c3d4e5f6a7b8c9d0",
    "firstName": "Jane",
    "lastName": "Doe"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
_id
string
required

Target contact _id; required to locate the document.

fromHistoryModal
boolean

Suppresses side-effects (audit log, socket emit) when the update originates from the history viewer.

status
string

New pipeline status name; resolved together with pipelineStage.

pipelineStage
string | null

Stage _id. Set to null to clear the stage assignment (legacy status-only update).

pipelineId
string

Optional pipeline _id used to scope stage resolution; inferred from the resolved stage when omitted.

Response

Contact updated

message
string
contact
object
Example:
{
"_id": "64f0a1b2c3d4e5f6a7b8c9d0",
"firstName": "Jane",
"lastName": "Doe",
"phoneNumber": [
{
"value": "+14165550100",
"isPrimary": true
}
],
"secondaryPhoneNumber": [],
"email": "jane.doe@example.com",
"status": "New Lead",
"pipelineId": "64f0a1b2c3d4e5f6a7b8c9d1",
"pipelineStage": "64f0a1b2c3d4e5f6a7b8c9d2",
"organizationId": "64f0a1b2c3d4e5f6a7b8c9d3",
"userId": "64f0a1b2c3d4e5f6a7b8c9d4",
"createdBy": "64f0a1b2c3d4e5f6a7b8c9d4",
"assignees": ["64f0a1b2c3d4e5f6a7b8c9d4"],
"createdAt": "2026-05-01T14:30:00.000Z",
"updatedAt": "2026-05-15T09:12:00.000Z"
}
data
any
success
boolean