Skip to main content
GET
/
api
/
v1
/
activities
Buscar atividades
curl --request GET \
  --url https://api.g1.datacrazy.io/api/v1/activities \
  --header 'Authorization: Bearer <token>'
{
  "count": 100,
  "data": [
    {
      "title": "Reunião online",
      "id": "e9a09677-cf00-4d84-aa12-6d78d6786555",
      "createdAt": "2025-06-18T22:18:36.666Z",
      "description": "Negociar preços com o cliente",
      "startDate": "2025-10-09T03%3A00%3A00.000Z",
      "endDate": "2025-10-09T03%3A00%3A00.000Z",
      "isCompleted": "true",
      "lead": "2025-10-09T03%3A00%3A00.000Z",
      "business": {
        "id": "e9a09677-cf00-4d84-aa12-6d78d6786555",
        "createdAt": "2025-06-18T22:18:36.666Z",
        "stageId": "e6803a51-4bd6-416b-b516-3622ff256732",
        "leadId": "c1152508-fdfd-4905-a3f4-f3850cc00bf0",
        "attendantId": "7e7da46a-a0ed-43c2-a3aa-3ac253f41b4d",
        "nextActivityId": "3d3d23a-a0ed-43c2-a3aa-3ac23433f41g01",
        "total": "70000",
        "discount": 500,
        "addition": 0,
        "shipping": 2000,
        "coupon": "CUPOM100",
        "shippingType": "Sedex",
        "status": "in_process",
        "code": 50607,
        "externalId": "f33420908-dcdc-4905-a3f4-f3850cc43bf0",
        "lastMovedAt": "2025-06-18T22:18:36.611Z",
        "statusChangedAt": "2025-06-18T22:20:14.611Z4",
        "products": [],
        "lossReasonId": "null",
        "justification": "",
        "productsCount": 2
      },
      "attendant": {
        "userId": "t9kn9mqPakdGG535GQK3hod8wzM2",
        "id": "6807e48c25ece34f9f1ba7dd",
        "name": "Joao Silva",
        "email": "[email protected]",
        "phone": "5547991331190",
        "imageURL": "https://dc-qqqq1111pb.s3.amazonaws.com/profiles/koQGLa8p68fNZiiSmE1tec2LHtc2_2025-05-24T00%3A27%3A23.486Z"
      },
      "activityType": {
        "id": "e9a09677-cf00-4d84-aa12-6d78d6786555",
        "name": "Reunião presencial",
        "color": "#FF2200"
      },
      "required": "false",
      "flow": {
        "id": "8fcd6ff0-6b45-40e3-8e7d-abd456a5a459",
        "name": "Fluxo de mensagens de boas-vindas",
        "description": "Automação disparada para clientes não cadastrados na base",
        "createdAt": "2025-09-09T16:27:15.522Z",
        "updatedAt": "2025-09-09T16:27:15.522Z",
        "group": "1",
        "active": false
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

skip
number
take
number
filter
object

Response

200 - application/json
count
number
required
Example:

100

data
object[]