Get Contact By Phone
GET
/api/contact/searchByCellphone
contact
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.plazbot.com/api/contact/searchByCellphone?cellphone&workspaceId' \
--header 'x-workspace-id;'
Response Response Example
{
"success": true,
"code": 200,
"errorCode": null,
"message": "Successfully obtained list.",
"data": {
"contactId": "string",
"data": [
{
"id": "string",
"creationDate": "2025-03-31T08:04:22.6573965Z",
"assignedAgentId": "string",
"assignedAgentName": "string",
"segmentationId": "string",
"lastMessage": "string",
"lastMessageDate": "2025-04-06T20:16:46.808Z",
"platformSenderId": "string",
"platformSenderName": "string",
"platformSenderPhone": "string",
"isRead": true,
"isBotEnabled": true,
"isManuallyAdded": true,
"avatarColor": null,
"orderInCards": 42,
"orderInCardsLastUpdated": "2025-04-06T14:44:38.0807297Z",
"tags": [
{
"id": "",
"name": "",
"color": null,
"assignmentDate": "2025-04-04T17:47:18.1255151Z"
}
],
"files": [],
"isSolved": false,
"workspaceId": "string",
"name": "string",
"lastname": "string",
"email": null,
"platformId": 2,
"stageId": "string"
}
]
}
}
Request
Query Params
cellphone
string
required
workspaceId
string
required
Header Params
x-workspace-id
string
required
Responses
Modified at 2025-04-21 19:12:31