Vendedores do time
const url = 'https://developers.nexo.winningsales.com.br/v1/indicators/reps';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/indicators/reps \ --header 'Authorization: Bearer <token>'Cada dono do CRM com negócios nos funis em análise neste mês ou com meta, com meta, commit, upside e disciplina de tarefas. Só admin e líder de vendas, como no app. Os números são calculados depois de cada sincronização do CRM e a cada hora: nada é calculado na chamada.
Authorizations
Seção intitulada “Authorizations”Parameters
Seção intitulada “Parameters”Query Parameters
Seção intitulada “Query Parameters”Pipeline (funnel) in analysis. Absent = every funnel, the number of today. A pipeline out of analysis answers the same numbers of “every funnel” with funnelScope.pipelineId null.
Pipeline (funnel) in analysis. Absent = every funnel, the number of today. A pipeline out of analysis answers the same numbers of “every funnel” with funnelScope.pipelineId null.
Responses
Seção intitulada “Responses”Vendedores do time
object
Which funnel the numbers refer to, and the funnels that can be chosen
object
The funnel the numbers refer to when exactly one is chosen; null otherwise
Funnel name when exactly one is chosen; null otherwise
The funnels the numbers are summed over; empty = every funnel under analysis
Every funnel under analysis (the sales funnels chosen by the admin), in CRM order, whatever the filter
object
Pipeline id
Pipeline name in the CRM
Post_sales when the name looks like Customer Success, onboarding, implantação, renewal, retention or support
Active funnels out of the analysis (usually post-sales), in CRM order: never in any number, listed for the “Nos números” line
object
Pipeline id
Pipeline name in the CRM
Post_sales when the name looks like Customer Success, onboarding, implantação, renewal, retention or support
Every CRM owner with deals in the pipelines under analysis this month or a goal, busiest first; owners whose user is marked as not a person are left out
object
CRM owner id
Owner name from the CRM
True when the CRM owner is linked to the user who asks: a lead or admin who also sells
No_goal = no goal this month; below_goal = realized + declared commit below the goal; null = nothing to flag
Task discipline of the rep in the current period, for the lead to compare across the team without a ranking
object
Count over the DealTasks table, with its base: done + missed + cancelled + rescheduled + open in the period; no note by AI, no ranking
Tasks marked as done in the period
Tasks missed: the day turned and it was not done
Tasks the rep cancelled
Tasks the rep moved to another day
Tasks that closed by themselves because the signal was gone; they do not count against the rep
The same cut, only for “cobrar o cliente” tasks
object
“Cobrar o cliente” tasks (buyer_commitment_due, buyer_deadline_passed) counted against the rep in the period
Of those, done
Of those, missed
Example
{ "funnelScope": { "options": [ { "suggestedKind": "sales" } ], "excluded": [ { "suggestedKind": "sales" } ] }, "reps": [ { "attention": "no_goal" } ]}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 }}