v1

latestOpenAPI 3.1.02026-07-241630614.2 KB

Step 4: Link chat to contact

The method allows you to link an existing chat to a contact.

post/api/v4/contacts/chats

Headers

Content-Type'application/json'

Request body

Response

200

_total_itemsinteger

Example response

{
  "_total_items": 1,
  "_embedded": {
    "chats": [
      {
        "chat_id": "XXXXXXX-369e-48f6-87d2-562e77bc59e6",
        "contact_id": 1111111,
        "id": 2222222,
        "request_id": "0"
      }
    ]
  }
}