Overview
CRM V4 Oliveira data synced to V4MOS.AI, through the integration's own endpoints
The V4MOS.AI CRM V4 Oliveira API gives you the raw records synced from the CRM V4 Oliveira workspaces connected to your organization: leads (the CRM's deals), pipelines, stages, users, tasks, lead events and the daily sweep that finds deleted leads. Rows come as they were synced, with the warehouse column names (snake_case), so you can load them straight into your BI. All endpoints use the /v1/v4-oliveira prefix and the same authentication, pagination and response format.
Getting started
Base URL: https://data.v4mos.ai. Every call requires your API credentials and the organizationId — see Authentication.
- Connect the CRM V4 Oliveira in app.v4mos.ai (Connected accounts) and wait for the first sync.
- Call any endpoint below with your
organizationId, for exampleGET /v1/v4-oliveira/leads?organizationId=…. - Every row carries
integration_idandintegration_name: the connected workspace it came from. To read a single workspace, pass that value asintegrationId.
Available endpoints
- getLeads
/v1/v4-oliveira/leadsOne row per lead, the deal of the CRM V4 Oliveira: pipeline, stage, owner, value in reais (valor), score, priority, origin, channel,… - getPipelines
/v1/v4-oliveira/pipelinesOne row per pipeline: name, default and active flags and menu order. - getStages
/v1/v4-oliveira/stagesOne row per pipeline stage: pipeline, name, order, win probability and the iswon / islost flags that mark a lead in the stage as won or… - getUsers
/v1/v4-oliveira/usersOne row per CRM user of the workspace (id): role and whether the user receives leads. - getTasks
/v1/v4-oliveira/tasksOne row per task of a lead: type, channel, status, result, due and done dates and assignee. - getLead events
/v1/v4-oliveira/eventsOne row per event of the workspace feed, in seq order: lead.stagechanged (fromstageid, tostageid), lead.won, lead.lost and form.submitted… - getLeads sweep
/v1/v4-oliveira/leads-sweepOne row per lead seen by the daily sweep that finds leads deleted in the CRM, plus one marker row per sweep.
Resources
| Endpoint | What one row is | dateFrom / dateTo filter |
|---|---|---|
GET /v1/v4-oliveira/leads | One row per lead, the deal of the CRM: pipeline, stage, owner, value in reais (valor), score, priority, origin, channel, category, city and state, UTMs, campaign and dates. email and external_id_pseudonym are pseudonyms, never the raw values. | created_at |
GET /v1/v4-oliveira/pipelines | One row per pipeline: name, default and active flags and menu order. | — |
GET /v1/v4-oliveira/stages | One row per pipeline stage: pipeline, name, order, win probability and the is_won / is_lost flags. | — |
GET /v1/v4-oliveira/users | One row per CRM user: role and whether the user receives leads. | — |
GET /v1/v4-oliveira/tasks | One row per task of a lead: type, channel, status, result, due and done dates and assignee. | created_at |
GET /v1/v4-oliveira/events | One row per event, in seq order: lead.stage_changed, lead.won, lead.lost and form.submitted. | created_at |
GET /v1/v4-oliveira/leads-sweep | One row per lead seen by the daily deleted-leads sweep, plus one __sweep_complete__ marker row per sweep. | swept_at |
Things to know
- Stage names repeat across pipelines. Always read a stage together with its
pipeline_id; the default Inbound and Outbound pipelines have no won or lost stage. - Event history starts on 26/10/2026. The CRM keeps no older events, so stage changes before that date do not exist.
- Deleted leads stay in
leads. A lead is deleted whenleads-sweephas a row for it withstatusdeleted, or when it is missing from a later sweep (byswept_at) whose__sweep_complete__marker row hasbaselineandcompletetrue. - A
404saying the resource is not available in this environment yet means its warehouse table is not deployed there yet; retry after the release.
Pagination and filters
page(default 1) andlimit(default 500, max 5000).meta.hasNextPagesays whether another page exists; rows come in a stable order, so walk the pages until it isfalse.dateFrom/dateTo(YYYY-MM-DD, inclusive) filter by the date column shown in the table above. Resources without one reject them.integrationIdkeeps the rows of one connected workspace.- Answers are cached for 30 minutes — see Data sync.
Personal data
The CRM V4 Oliveira leads carry the email and the external id only as pseudonyms, and no name or phone is synced, but leads and events still describe your customers. Store and process them according to the LGPD and your own privacy policy.
Response format
{
"data": [{ "...": "one object per row, with the columns listed on each endpoint" }],
"meta": {
"page": 1,
"limit": 500,
"hasNextPage": true,
"hasPreviousPage": false
}
}Amounts and large counters (fields with format: decimal or format: int64 in each endpoint schema) come as strings, e.g. "125.50", so no precision is lost. Convert them to a decimal type on your side.