curl --request GET \
--url https://api.wapikit.com/api/conversation/{id}
{
"conversation": {
"contact": {
"uniqueId": "<string>",
"name": "<string>",
"phone": "<string>",
"attributes": {},
"createdAt": "2023-11-07T05:31:56Z",
"status": "Active"
},
"uniqueId": "<string>",
"contactId": "<string>",
"campaignId": "<string>",
"organizationId": "<string>",
"initiatedBy": "Contact",
"messages": [
{
"uniqueId": "<string>",
"conversationId": "<string>",
"direction": "InBound",
"status": "Read",
"messageType": "Text",
"createdAt": "2023-11-07T05:31:56Z",
"replyToMessageId": "<string>",
"whatsAppMessageId": "<string>",
"messageData": {
"text": "<string>"
}
}
],
"createdAt": "2023-11-07T05:31:56Z",
"numberOfUnreadMessages": 123,
"totalMessages": 123,
"status": "Active",
"assignedTo": {
"uniqueId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"accessLevel": "Owner",
"name": "<string>",
"email": "<string>",
"roles": [
{
"uniqueId": "<string>",
"name": "<string>",
"description": "<string>",
"permissions": [
"Get:OrganizationMember"
]
}
]
},
"tags": [
{
"label": "<string>",
"uniqueId": "<string>"
}
]
}
}
returns a single conversation
curl --request GET \
--url https://api.wapikit.com/api/conversation/{id}
{
"conversation": {
"contact": {
"uniqueId": "<string>",
"name": "<string>",
"phone": "<string>",
"attributes": {},
"createdAt": "2023-11-07T05:31:56Z",
"status": "Active"
},
"uniqueId": "<string>",
"contactId": "<string>",
"campaignId": "<string>",
"organizationId": "<string>",
"initiatedBy": "Contact",
"messages": [
{
"uniqueId": "<string>",
"conversationId": "<string>",
"direction": "InBound",
"status": "Read",
"messageType": "Text",
"createdAt": "2023-11-07T05:31:56Z",
"replyToMessageId": "<string>",
"whatsAppMessageId": "<string>",
"messageData": {
"text": "<string>"
}
}
],
"createdAt": "2023-11-07T05:31:56Z",
"numberOfUnreadMessages": 123,
"totalMessages": 123,
"status": "Active",
"assignedTo": {
"uniqueId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"accessLevel": "Owner",
"name": "<string>",
"email": "<string>",
"roles": [
{
"uniqueId": "<string>",
"name": "<string>",
"description": "<string>",
"permissions": [
"Get:OrganizationMember"
]
}
]
},
"tags": [
{
"label": "<string>",
"uniqueId": "<string>"
}
]
}
}
The id value of the conversation you want to get.
conversation object
The response is of type object
.
Was this page helpful?