Negócios com campos esperando revisão
const url = 'https://developers.nexo.winningsales.com.br/v1/review/suggestions';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://developers.nexo.winningsales.com.br/v1/review/suggestions \ --header 'Authorization: Bearer <token>'Um cartão por negócio com cada sugestão de campo do CRM em aberto: o que o Nexo leu, o que o CRM tem e a situação. Nada é escrito no CRM por esta leitura. O vendedor vê os próprios negócios; admin e líder de vendas veem todos e podem filtrar por dono.
Authorizations
Seção intitulada “Authorizations”Parameters
Seção intitulada “Parameters”Query Parameters
Seção intitulada “Query Parameters”Show only the deals of this owner; managers only
Show only the deals of this owner; managers only
Responses
Seção intitulada “Responses”Negócios com sugestões em aberto
object
Deals with open suggestions, the ones with more pending first
object
Deal id
Id of the deal in the CRM
Deal name
Owner id
Owner name
Deal amount in cents
Currency code
Suggestions waiting for a decision, including the ones the CRM refused
Approved and not written yet
Every open suggestion of the deal
One row per suggestion
object
Suggestion id
Concept id
Concept label, pt-BR
Where the suggestion is in its life
How to edit it: text, number, money, date, datetime, bool, enum, stage, contact, or meeting_note for the note of a meeting
Stage name when the kind is stage
Stage name when the kind is stage
True for a stage suggestion
True when the CRM refused the last write
True when the CRM value changed after the reading
The contact Nexo proposes to create; only for kind contact
object
First name
Last name
Job title said in the conversation
Buying role, as the CRM option value, when the field is mapped
Company the contact is linked to, besides the deal
True when the person edited the name or job title
Pending suggestions across the listed deals
Deals with at least one pending suggestion
Example
{ "deals": [ { "fields": [ { "status": "pending" } ] } ]}Filtro inválido
object
Stable machine-readable error code (e.g. identity.email_already_in_use)
Error class name
HTTP status code
Human-readable message, safe to display to end users
Correlation id — send it to support to locate the full trail
Structured details safe for the frontend (field errors, ids)
object
Example generated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "requestId": "example", "meta": { "additionalProperty": "example" }}Token ausente, inválido, expirado ou revogado
object
Stable machine-readable error code (e.g. identity.email_already_in_use)
Error class name
HTTP status code
Human-readable message, safe to display to end users
Correlation id — send it to support to locate the full trail
Structured details safe for the frontend (field errors, ids)
object
Example
{ "type": "public_api.invalid_credential", "title": "InvalidCredentialError", "status": 401, "detail": "Token de acesso inválido, expirado ou revogado. Crie um novo token de acesso no Nexo.", "requestId": "019fcae7-3e54-755a-8458-bdb605b324bb"}Papel, escopo do token ou plano não permitem a operação
object
Stable machine-readable error code (e.g. identity.email_already_in_use)
Error class name
HTTP status code
Human-readable message, safe to display to end users
Correlation id — send it to support to locate the full trail
Structured details safe for the frontend (field errors, ids)
object
Example
{ "type": "public_api.insufficient_scope", "title": "InsufficientScopeError", "status": 403, "detail": "Este token não tem o escopo conversations:read, exigido por esta operação. Gere um token com esse escopo.", "requestId": "019fcae7-3e54-755a-8458-bdb605b324bb", "meta": { "operation": "conversations.reading", "scope": "conversations:read" }}Limite de chamadas da empresa ou do token atingido
object
Stable machine-readable error code (e.g. identity.email_already_in_use)
Error class name
HTTP status code
Human-readable message, safe to display to end users
Correlation id — send it to support to locate the full trail
Structured details safe for the frontend (field errors, ids)
object
Example
{ "type": "public_api.rate_limited", "title": "PublicRateLimitedError", "status": 429, "detail": "Muitas chamadas em pouco tempo. Tente de novo em 12 segundos.", "requestId": "019fcae7-3e54-755a-8458-bdb605b324bb", "meta": { "class": "content", "limitedBy": "company", "limit": 120, "windowSeconds": 60, "retryAfterSeconds": 12 }}