{
"status": true,
"data": {
"id": "string",
"providerSessionId": "string",
"remoteJid": "string",
"chatType": "direct",
"title": "string",
"lastMessage": null,
"lastMessageAt": "2019-08-24T14:15:22.123Z",
"lastAction": "string",
"lastActionAt": "2019-08-24T14:15:22.123Z",
"unreadCount": 0,
"labels": [
{
"id": "string",
"accountId": "string",
"name": "string",
"color": "string",
"description": "string",
"status": "active",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z",
"entityVersion": "string"
}
],
"updatedAt": "2019-08-24T14:15:22.123Z",
"createdAt": "2019-08-24T14:15:22.123Z",
"entityVersion": "string",
"assignment": {
"id": "string",
"accountId": "string",
"providerSessionId": "string",
"targetType": "chat",
"remoteJid": "string",
"messageId": "string",
"assigneeType": "user",
"assigneeId": "string",
"user": {
"id": "string",
"email": "string",
"displayName": "string",
"status": "string"
},
"group": {},
"assignedByType": "string",
"assignedBy": "string",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z"
},
"crmContext": {
"identityStatus": "mapped",
"phone": "string",
"mapping": {
"id": "string",
"accountId": "string",
"providerSessionId": "string",
"whatsappJid": "string",
"phone": "string",
"customerId": "string",
"contactId": "string",
"customer": {
"id": "string",
"accountId": "string",
"title": "string",
"shortName": "string",
"sector": "string",
"city": "string",
"notes": "string",
"source": "string",
"taxOffice": "string",
"taxNumber": "string",
"status": "active",
"primaryRepresentativeUserId": "string",
"primaryTeamGroupId": "string",
"representative": {
"id": "string",
"email": "string",
"displayName": "string",
"status": "string"
},
"team": {},
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z"
},
"contact": {
"id": "string",
"accountId": "string",
"customerId": "string",
"firstName": "string",
"lastName": "string",
"displayName": "string",
"email": "string",
"role": "string",
"title": "string",
"profession": "string",
"notes": "string",
"phones": [
{
"type": "string",
"label": "string",
"value": "string",
"normalized": "string",
"whatsappJid": "string",
"isWhatsapp": true,
"isPrimary": true
}
],
"isPrimary": true,
"status": "active",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z"
},
"source": "string",
"status": "string",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z"
},
"customer": {
"id": "string",
"accountId": "string",
"title": "string",
"shortName": "string",
"sector": "string",
"city": "string",
"notes": "string",
"source": "string",
"taxOffice": "string",
"taxNumber": "string",
"status": "active",
"primaryRepresentativeUserId": "string",
"primaryTeamGroupId": "string",
"representative": {
"id": "string",
"email": "string",
"displayName": "string",
"status": "string"
},
"team": {},
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z"
},
"contact": {
"id": "string",
"accountId": "string",
"customerId": "string",
"firstName": "string",
"lastName": "string",
"displayName": "string",
"email": "string",
"role": "string",
"title": "string",
"profession": "string",
"notes": "string",
"phones": [
{
"type": "string",
"label": "string",
"value": "string",
"normalized": "string",
"whatsappJid": "string",
"isWhatsapp": true,
"isPrimary": true
}
],
"isPrimary": true,
"status": "active",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z"
},
"representative": {
"id": "string",
"email": "string",
"displayName": "string",
"status": "string"
},
"team": {}
},
"crmInboxLink": {
"id": "string",
"accountId": "string",
"channel": "provider_whatsapp",
"sourceType": "wa_session",
"sourceId": "string",
"customer": {
"id": "string",
"accountId": "string",
"title": "string",
"shortName": "string",
"sector": "string",
"city": "string",
"notes": "string",
"source": "string",
"taxOffice": "string",
"taxNumber": "string",
"status": "active",
"primaryRepresentativeUserId": "string",
"primaryTeamGroupId": "string",
"representative": {
"id": "string",
"email": "string",
"displayName": "string",
"status": "string"
},
"team": {},
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z"
},
"contacts": [
{
"id": "string",
"accountId": "string",
"customerId": "string",
"firstName": "string",
"lastName": "string",
"displayName": "string",
"email": "string",
"role": "string",
"title": "string",
"profession": "string",
"notes": "string",
"phones": [
{
"type": "string",
"label": "string",
"value": "string",
"normalized": "string",
"whatsappJid": "string",
"isWhatsapp": true,
"isPrimary": true
}
],
"isPrimary": true,
"status": "active",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z"
}
],
"status": "string",
"source": {
"channel": "provider_whatsapp",
"sourceType": "wa_session",
"sourceId": "string",
"label": "string",
"status": "string",
"meta": {
"property1": "string",
"property2": "string"
},
"updatedAt": "2019-08-24T14:15:22.123Z"
},
"metadata": {
"property1": "string",
"property2": "string"
},
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z"
}
}
}