curl --request GET \
--url https://api.plazbot.com/api/contact/{contactId} \
--header 'Authorization: Bearer <token>' \
--header 'x-workspace-id: <x-workspace-id>'{
"success": true,
"code": 123,
"errorCode": "<string>",
"message": "<string>",
"data": {
"id": "<string>",
"creationDate": "2023-11-07T05:31:56Z",
"assignedAgentId": "<string>",
"assignedAgentName": "<string>",
"segmentationId": "<string>",
"lastMessage": "<string>",
"lastMessageDate": "2023-11-07T05:31:56Z",
"platformSenderId": "<string>",
"platformSenderName": "<string>",
"platformSenderPhone": "<string>",
"platformSenderEmail": "<string>",
"isRead": true,
"isBotEnabled": true,
"isManuallyAdded": true,
"avatarColor": "<string>",
"orderInCards": 123,
"orderInCardsLastUpdated": "2023-11-07T05:31:56Z",
"tags": [
{
"id": "<string>",
"name": "<string>",
"color": "<string>",
"assignmentDate": "2023-11-07T05:31:56Z"
}
],
"customFields": [
{
"name": "<string>",
"value": "<string>"
}
],
"files": [
"<string>"
],
"isSolved": true,
"workspaceId": "<string>",
"name": "<string>",
"lastname": "<string>",
"email": "<string>",
"platformId": 123,
"stageId": "<string>",
"internalWhatsappNumber": "<string>",
"blocked": true
}
}Servicio que retorna la informacion de un contacto filtrado por su ID.
curl --request GET \
--url https://api.plazbot.com/api/contact/{contactId} \
--header 'Authorization: Bearer <token>' \
--header 'x-workspace-id: <x-workspace-id>'{
"success": true,
"code": 123,
"errorCode": "<string>",
"message": "<string>",
"data": {
"id": "<string>",
"creationDate": "2023-11-07T05:31:56Z",
"assignedAgentId": "<string>",
"assignedAgentName": "<string>",
"segmentationId": "<string>",
"lastMessage": "<string>",
"lastMessageDate": "2023-11-07T05:31:56Z",
"platformSenderId": "<string>",
"platformSenderName": "<string>",
"platformSenderPhone": "<string>",
"platformSenderEmail": "<string>",
"isRead": true,
"isBotEnabled": true,
"isManuallyAdded": true,
"avatarColor": "<string>",
"orderInCards": 123,
"orderInCardsLastUpdated": "2023-11-07T05:31:56Z",
"tags": [
{
"id": "<string>",
"name": "<string>",
"color": "<string>",
"assignmentDate": "2023-11-07T05:31:56Z"
}
],
"customFields": [
{
"name": "<string>",
"value": "<string>"
}
],
"files": [
"<string>"
],
"isSolved": true,
"workspaceId": "<string>",
"name": "<string>",
"lastname": "<string>",
"email": "<string>",
"platformId": 123,
"stageId": "<string>",
"internalWhatsappNumber": "<string>",
"blocked": true
}
}Token de autenticacion Bearer. Obtenga el token usando el endpoint /api/user/login
Identificador del workspace
ID del contacto a consultar
Identificador del workspace
Contacto obtenido exitosamente
Indica si la operacion fue exitosa
Codigo HTTP de la respuesta
Codigo de error, null si no hay error
Mensaje descriptivo del resultado
Informacion completa de un contacto en el workspace
Show child attributes