CRM V4 Oliveira

Lead events

GET
/v1/v4-oliveira/events

One row per event of the workspace feed, in seq order: lead.stage_changed (from_stage_id, to_stage_id), lead.won, lead.lost and form.submitted (formulario_id and the UTMs of the submission), with the entity, the owner change and the names of the changed fields (changed_fields). The CRM keeps this history only since 26/10/2026: older stage changes do not exist.

dateFrom and dateTo filter by created_at (inclusive days, YYYY-MM-DD). Rows are sorted by seq, id, integration_id, inserted_at and paginated with page/limit; meta.hasNextPage says whether another page exists. Responses are cached for 30 minutes.

Authorization

ClientIdAuthClientSecretAuth
headerx-client-id<token>

Client ID

headerx-client-secret<token>

Client secret

Query Parameters

organizationId*string

Organization that owns the connected accounts.

Formatuuid
integrationId?string

One connected account of this integration (integration_id of the rows). Omit it to read every account of the organization.

Lengthlength <= 255
dateFrom?string

First day (inclusive) of created_at, YYYY-MM-DD.

Formatdate
dateTo?string

Last day (inclusive) of created_at, YYYY-MM-DD. Must not be before dateFrom.

Formatdate
page?integer

Page number, starting at 1.

Range1 <= value <= 1000000
Default1
limit?integer

Rows per page (max 5000).

Range1 <= value <= 5000
Default500

Response Body

One page of rows

application/json
  1. response
data*array<>
meta*
curl -X GET "https://example.com/v1/v4-oliveira/events?organizationId=3f2b8c1e-5d4a-4e6f-9a7b-1c2d3e4f5a6b&dateFrom=2026-10-01&dateTo=2026-10-31"
{  "data": [    {      "organization_id": "3f2b8c1e-5d4a-4e6f-9a7b-1c2d3e4f5a6b",      "integration_id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",      "user_id": "123456",      "document_id": "123456",      "integration_name": "example",      "id": "123456",      "seq": "1250",      "type": "example",      "entity_type": "example",      "entity_id": "123456",      "created_at": "2026-10-01T12:00:00.000Z",      "from_stage_id": "123456",      "to_stage_id": "123456",      "from_owner_user_id": "123456",      "to_owner_user_id": "123456",      "changed_fields": "example",      "formulario_id": "123456",      "utm_source": "example",      "utm_medium": "example",      "utm_campaign": "example",      "stage_id": "123456",      "pipeline_id": "123456",      "inserted_at": "2026-10-01T12:00:00.000Z"    }  ],  "meta": {    "page": 1,    "limit": 500,    "hasNextPage": false,    "hasPreviousPage": false  }}