v1

latestOpenAPI 3.1.02026-07-261620662.2 KB

Adicionando leads de entrada do tipo SIP (chamada)

Este método permite adicionar um ou múltiplos leads de entrada na conta.

post/api/v4/leads/unsorted/sip

Request body

Response

200

_total_itemsinteger

Example response

{
  "_total_items": 1,
  "_embedded": {
    "unsorted": [
      {
        "uid": "400c5eb65b9fa7bbfa813cf593b49d4942f325c7c3fbbcf3acf3bee79b63",
        "account_id": 31361463,
        "request_id": "123",
        "_links": {
          "self": {
            "href": "LINK"
          }
        },
        "_embedded": {
          "contacts": [
            {
              "id": 583294,
              "_links": {
                "self": {
                  "href": "https://devteam.kommo.com/api/v4/contacts/583294"
                }
              }
            }
          ],
          "leads": [
            {
              "id": 236724,
              "_links": {
                "self": {
                  "href": "https://devteam.kommo.com/api/v4/leads/236724"
                }
              }
            }
          ]
        }
      }
    ]
  }
}