GET
/
conversation
/
{id}
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>"
      }
    ]
  }
}

Path Parameters

id
string
required

The id value of the conversation you want to get.

Response

200
application/json

conversation object

The response is of type object.