v1

latestOpenAPI 3.0.02026-07-26626596.3 KB
Histórico do lead

Buscar histórico do lead

get/api/v1/leads/{id}/history

Path parameters

idstring required

Query parameters

skipnumber
takenumber
searchstring
leadNamestring[]

Nome do lead

businessIdstring[]

ID do negócio para filtrar o histórico

commentstring date-time

Descricao filtro comentário

{
  "comment": "Comentário"
}

Response

countnumber required

Example response

{
  "count": 100,
  "data": [
    {
      "id": "68936171-ef68-4b57-a755-5375ba4686a9",
      "type": "NOTE",
      "createdAt": "2025-06-16T20:43:46.384Z",
      "history": "Lead possui interesse em peças de computador",
      "businessId": "c1152508-fdfd-4905-a3f4-f3850cc00bf0",
      "historyCode": "6782",
      "sessionName": "sessioncrm",
      "attendant": {
        "userId": "t9kn9mqPakdGG535GQK3hod8wzM2",
        "id": "6807e48c25ece34f9f1ba7dd",
        "name": "Joao Silva",
        "email": "joaosilva@gmail.com",
        "phone": "5547991331190",
        "imageURL": "https://dc-qqqq1111pb.s3.amazonaws.com/profiles/koQGLa8p68fNZiiSmE1tec2LHtc2_2025-05-24T00%3A27%3A23.486Z"
      }
    }
  ]
}