Skip to main content
GET
/
api
/
v1
/
leads
/
{id}
/
activities
Buscar as atividades do lead
curl --request GET \
  --url https://api.g1.datacrazy.io/api/v1/leads/{id}/activities \
  --header 'Authorization: Bearer <token>'
{
  "count": 100,
  "data": [
    {
      "id": "<string>",
      "createdAt": "2025-04-17T13:41:25.013Z",
      "title": "Reunião de alinhamento",
      "description": "Reunião para esclarer dúvidas ao cliente",
      "type": "business-lunch",
      "notes": "Anotações da reunião",
      "startDate": "2025-05-31T12:15:00.000Z",
      "endDate": "2025-05-31T13:15:00.000Z",
      "isCompleted": true,
      "lead": {
        "id": "27490d53-49a3-458c-863c-dd4b55e638ae",
        "name": "Guilherme Gavazzoni"
      },
      "business": {
        "id": "27490d53-49a3-458c-863c-dd4b55e638ae",
        "code": "49a451"
      },
      "attendant": {
        "userId": "koQGLa8p68fNZiiSmE1tec2LHtc2",
        "id": "2e6b47d4-d8ed-4501-a10a-48edf6c40d06",
        "name": "Guilherme Betiati",
        "email": "[email protected]",
        "phone": "4799987190",
        "image": "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

Response

200 - application/json
count
number
required
Example:

100

data
object[]