List deals
GET
/api/v1/dealsReturns the company's deals, paginated.
The body is the list for the page. The total for the filter comes in the X-Total-Count response header.
The API key needs the scopeView deals
deals.readParameters
| Name | In | Description |
|---|---|---|
pageinteger | query | Page number, starting at 1.Default: 1 |
pageSizeinteger | query | How many deals per page.Default: 50 |
contactIdstring (uuid) | query | Only the deals of this contact. |
searchstring | query | Search text matched against the deal title. |
Responses
200The deals on the page.
application/json
[
{
"id": "f6fe1e97-0bb3-4379-acd4-2e3523cc6110",
"businessId": "2ea7ad0d-8e13-4008-9fd8-7c92fe8677f2",
"contactId": "af147888-ebb0-4ec9-92e5-da66cd561461",
"companyId": null,
"pipelineStageId": "72abe4d8-8ecb-4daa-8ae0-e8418a006488",
"ownerId": "5a3dc17c-3dc5-4770-bb35-0bff55f3151b",
"title": "Plano Premium",
"status": "Open",
"totalValue": 199,
"recurringValue": 199,
"setupValue": 0,
"currency": "BRL",
"closedAt": null,
"expectedCloseDate": null,
"stageEnteredAt": "2026-11-23T11:44:49.556388Z",
"createdAt": "2026-11-23T01:00:08.333095Z",
"updatedAt": "2026-11-23T11:46:03.571848Z",
"contact": {
"id": "af147888-ebb0-4ec9-92e5-da66cd561461",
"name": "Fulano de Tal",
"phoneNumber": "5511988887777",
"profileImageUrl": null
},
"company": null,
"nextActivity": null,
"activityCount": 0,
"activityUserIds": []
}
]400Invalid request: a body that is not JSON, a missing required field or a value in the wrong format.
application/json
{
"error": "validation_failed",
"message": "O campo name é obrigatório."
}401Missing or invalid credentials. The response is the same for a key that does not exist and for a wrong secret; without the X-API-KEY header, it comes with no body.
application/json
{
"error": "unauthorized",
"message": "Credenciais de API inválidas."
}403The key authenticated, but it lacks the scope the route requires, or the plan does not include the feature.
application/json
{
"error": "forbidden",
"message": "A chave de API não tem acesso a esta rota: falta o escopo exigido, ou a rota não aceita chave de API."
}429The requests-per-minute limit was reached. Wait for the time given in the Retry-After header.
application/json
{
"error": "too_many_requests",
"message": "Muitas requisições com esta chave de API. Aguarde o fim da janela e tente novamente."
}