Skip to main content
GET
/
account-crm-pipeline-deal
curl --request GET \
  --url 'https://sell.ia.proativia.com/api/v1/account-crm-pipeline-deal?stageId=clstg0001' \
  --header 'Token: SEU_TOKEN_DE_API'
[
  {
    "id": "cldeal001",
    "title": "Contrato Empresa X",
    "stageId": "clstg0001",
    "leadId": "cllead001",
    "dealOwner": "cluser001",
    "value": 15000,
    "status": "open",
    "expectedCloseDate": "2025-08-01T00:00:00.000Z",
    "createdAt": "2025-06-15T14:30:00.000Z"
  }
]

Requisição

GET https://sell.ia.proativia.com/api/v1/account-crm-pipeline-deal
Token
string
required
Seu token de autenticação.

Query Parameters

stageId
string
Filtra negócios pelo ID do estágio do pipeline.
leadId
string
Filtra negócios pelo ID do lead vinculado.
dealOwner
string
Filtra negócios pelo ID do usuário responsável.

Resposta

Retorna um array de objetos de negócio. Os campos accountId e updatedAt são omitidos.
id
string
Identificador único do negócio.
title
string
Título do negócio.
stageId
string | null
ID do estágio em que o negócio se encontra.
leadId
string | null
ID do lead vinculado ao negócio.
dealOwner
string | null
ID do usuário responsável pelo negócio.
value
number | null
Valor estimado do negócio.
status
string | null
Status do negócio (ex: open, won, lost).
expectedCloseDate
string | null
Data prevista de fechamento (ISO 8601).
createdAt
string
Data de criação (ISO 8601).

Exemplos

curl --request GET \
  --url 'https://sell.ia.proativia.com/api/v1/account-crm-pipeline-deal?stageId=clstg0001' \
  --header 'Token: SEU_TOKEN_DE_API'
[
  {
    "id": "cldeal001",
    "title": "Contrato Empresa X",
    "stageId": "clstg0001",
    "leadId": "cllead001",
    "dealOwner": "cluser001",
    "value": 15000,
    "status": "open",
    "expectedCloseDate": "2025-08-01T00:00:00.000Z",
    "createdAt": "2025-06-15T14:30:00.000Z"
  }
]

Authorizations

Token
string
header
required

Token de autenticacao gerado na plataforma Sell.IA.

Query Parameters

stageId
string

Filtra negócios pelo ID do estágio.

leadId
string

Filtra negócios pelo ID do lead.

dealOwner
string

Filtra negócios pelo ID do responsável.

Response

Lista de negócios retornada com sucesso.

id
string
stageId
string | null
leadId
string | null
dealOwner
string | null
title
string
value
number | null
status
string | null
expectedCloseDate
string<date-time> | null
createdAt
string<date-time>