GET
/
api
/
v1
/
leads
/
{id}
/
history
Buscar histórico do lead
curl --request GET \
  --url https://api.datacrazy.io/v1/api/api/v1/leads/{id}/history \
  --header 'Authorization: Bearer <token>'
{
  "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"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Query Parameters

skip
number
take
number
filter
object

Response

200 - application/json

The response is of type object.