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": "<string>",
  "fromHistoryModal": true,
  "status": "<string>",
  "pipelineStage": "<string>",
  "pipelineId": "<string>"
}
'
{
  "message": "<string>",
  "contact": {
    "_id": "<string>",
    "firstName": "<string>",
    "lastName": "<string>",
    "phoneNumber": "<string>",
    "email": "<string>",
    "status": "<string>",
    "pipelineId": "<string>",
    "pipelineStage": "<string>",
    "organizationId": "<string>",
    "userId": "<string>",
    "createdBy": "<string>",
    "assignees": [
      "<unknown>"
    ],
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  },
  "data": "<unknown>",
  "success": true
}

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
fromHistoryModal
boolean
status
string
pipelineStage
string | null
pipelineId
string

Response

Contact updated

message
string
contact
object
data
any
success
boolean