PUT
/
api
/
contact
curl --request PUT \
  --url https://api.plazbot.com/api/contact \
  --header 'Content-Type: application/json' \
  --header 'x-workspace-id: <x-workspace-id>' \
  --data '{
  "paramToUpdate": "string"
}'
{
  "success": true,
  "code": 200,
  "errorCode": null,
  "message": "Contact updated successfully.",
  "data": {
    "id": "string",
    "contact": {
      "id": "string",
      "creationDate": "2025-04-07T21:56:19.3254439Z",
      "assignedAgentId": null,
      "assignedAgentName": null,
      "segmentationId": null,
      "lastMessage": null,
      "lastMessageDate": "2025-04-07T21:56:19.3254057Z",
      "platformSenderId": null,
      "platformSenderName": "",
      "platformSenderPhone": null,
      "isRead": false,
      "isBotEnabled": true,
      "isManuallyAdded": true,
      "avatarColor": null,
      "orderInCards": 0,
      "orderInCardsLastUpdated": "2025-04-07T22:02:11.8188339Z",
      "tags": [],
      "files": [],
      "variables": [],
      "isSolved": false,
      "solvedByAgentId": null,
      "solvedDate": null,
      "workspaceId": "string",
      "internalWhatsappNumber": "string",
      "name": "string",
      "lastname": "string",
      "email": "string",
      "platformId": 0,
      "stageId": "string"
    }
  }
}

Headers

x-workspace-id
string
required

Query Parameters

id
string
required
workspaceId
string
required

Body

application/json

Response

200 - application/json

OK

The response is of type object.