v1

latestOpenAPI 3.1.02026-07-261630686.8 KB

Aceptar leads entrantes

Este método permite aceptar un lead entrante.

post/api/v4/leads/unsorted/{uid}/accept

Path parameters

uidstring required

El identificador único del lead

Request body

user_idinteger

El ID del usuario que se establecerá como creador del lead

status_idinteger

El ID de la etapa donde se ubicará el lead después de aceptar el lead entrante

Response

200

uidstring
pipeline_idinteger
categorystring
created_atinteger

Example response

{
  "uid": "5af9dedb6f2c6a29eaac6ee37fc75ffbb66e139e4603bdd0e14e39d4b319",
  "pipeline_id": 6950551,
  "category": "forms",
  "created_at": 1686819152,
  "_embedded": {
    "leads": [
      {
        "id": 236768,
        "_links": {
          "self": {
            "href": "https://subdomain.kommo.com/api/v4/leads/236768"
          }
        }
      }
    ],
    "contacts": [
      {
        "id": 583338,
        "_links": {
          "self": {
            "href": "https://subdomain.kommo.com/api/v4/contacts/583338"
          }
        }
      }
    ]
  }
}