Desenvolvedores
Referência da API
Todas as chamadas da API, agrupadas por recurso, com a permissão, os parâmetros, o corpo e os campos da resposta. O mesmo conteúdo, em formato de máquina, está no arquivo OpenAPI.
Como a API funciona
O endereço base é https://use-vega.com/api/v1. Toda chamada leva a chave no cabeçalho Authorization: Bearer vk_.... As consultas são GET; as ações pagas e as mudanças são POST. As respostas são JSON, com os nomes dos campos em inglês e os dados (títulos de campanha, nomes de etapa) como foram escritos na Vega.
Dinheiro vem sempre em centavos de real, como número inteiro (150000 é R$ 1.500,00). Datas e horas vêm no padrão ISO 8601, em UTC; datas sem hora, como 2026-12-01.
Páginas
As listas vêm em páginas. Use limit (de 1 a 100, o padrão é 25) para escolher o tamanho. Quando has_more for true, a resposta traz um next_cursor: mande esse valor em cursor para pegar a página seguinte. O cursor é opaco: não monte nem altere.
curl -s "https://use-vega.com/api/v1/deals?limit=100&cursor=<next_cursor da resposta anterior>" \
-H "Authorization: Bearer vk_SUA_CHAVE"Só o que mudou
Para manter um painel em dia sem baixar tudo de novo, filtre por updated_since (data e hora em ISO 8601). Cada lista diz na referência quais filtros aceita.
curl -s "https://use-vega.com/api/v1/deals?updated_since=2026-11-01T00:00:00Z" \
-H "Authorization: Bearer vk_SUA_CHAVE"Respostas compactas
As listas de campanhas, cartões, entregas, criadores, pagamentos e posts aceitam fields=compact: cada item vem só com o identificador, o nome ou perfil, a situação ou etapa e uma data. O conector de IA usa essa forma por padrão.
curl -s "https://use-vega.com/api/v1/deals?campaign_id=7c2f9a30-91b4-4d0e-8a1d-2e6b6f0c4a10&fields=compact&limit=2" \
-H "Authorization: Bearer vk_SUA_CHAVE"{
"object": "list",
"data": [
{
"object": "deal",
"id": "c4a1e7d2-9b3f-4e60-8d15-6f2a0b9c3e77",
"campaign_id": "7c2f9a30-91b4-4d0e-8a1d-2e6b6f0c4a10",
"creator_handle": "perfil.exemplo",
"stage_name": "Contratados",
"updated_at": "2026-11-16T10:00:00.000Z"
}
],
"has_more": false,
"next_cursor": null
}ETag: perguntar antes de baixar
Cada resposta tem um ETag. Mande esse valor de volta em If-None-Match: se nada mudou, a resposta é 304, sem corpo.
# 1ª chamada: guarde o valor do cabeçalho ETag inteiro, com W/ e as aspas
# (por exemplo: ETag: W/"3f1c9a7e")
curl -si https://use-vega.com/api/v1/campaigns -H "Authorization: Bearer vk_SUA_CHAVE"
# Próximas chamadas: mande esse valor exatamente como veio; se nada mudou,
# a resposta é 304 e vem sem corpo
curl -si https://use-vega.com/api/v1/campaigns \
-H "Authorization: Bearer vk_SUA_CHAVE" \
-H 'If-None-Match: W/"3f1c9a7e"'Repetir sem cobrar nem mudar duas vezes
Todo POST leva o cabeçalho Idempotency-Key com um UUID novo (sem ele, a resposta é 400). Se a conexão cair e você não souber se a chamada chegou, repita com o mesmo valor: a Vega devolve o mesmo resultado, sem cobrar nem mudar nada de novo, e uma mudança repetida vem com o cabeçalho Idempotent-Replayed: true. O mesmo valor com outro pedido responde 409. No conector de IA, o argumento idempotency_key é opcional: a Vega cria um quando ele não vem.
Esperar uma ação paga
Uma busca leva uns 30 segundos e um relatório, menos de um minuto. Há três jeitos de esperar:
wait: mande?wait=com até 50 segundos e a resposta só sai quando terminar (ou o tempo acabar). Na API o padrão é 0; no conector de IA, 45.- Perguntar de novo: enquanto roda, a resposta é
202, com o endereço emLocationeRetry-After(3 segundos hoje). Ler não gasta créditos. - Webhook: assine
creator_search.ready,creator_search.failed,creator_report.readyecreator_report.failed(veja Receber avisos).
Todas as chamadas
Um campo com ? pode não vir na resposta, por exemplo quando a chave não tem a permissão dele.
Conta1 operação
GET/api/v1/meQuem sou eu
Mostra a empresa, o plano, a chave ou o app que está fazendo a chamada, as permissões dela, o limite de chamadas por minuto e, em features, o que está ligado para a empresa (ler, buscar e gerar relatórios, mudar as campanhas). É a melhor primeira chamada para testar a chave.
Permissão
Nenhuma: qualquer chave pode consultar. · Ferramenta MCP: whoami
Parâmetros
Nenhum parâmetro.
Resposta
object: "me"
org: {
id: string (uuid)
name: string
}
plan: {
slug: string
name: string
} | null
credential: {
kind: "api_key" | "oauth"
id: string (uuid)
label: string
scopes: [string]
}
rate_limit: {
requests_per_minute: integer
org_requests_per_minute: integer
}
api_version: "v1"
features: {
reads: boolean
paid_data_actions: boolean
workflow_writes: boolean
}Visão geral e busca2 operações
GET/api/v1/overviewO que precisa de atenção
A empresa num olhar: entregas para revisar, entregas atrasadas, cartões esperando contrato assinado, a fatura aberta e o saldo de créditos. Cada bloco aparece só com a permissão dele.
Permissão
Nenhuma: qualquer chave pode consultar. · Ferramenta MCP: what_needs_attention
Parâmetros
Nenhum parâmetro.
Resposta
object: "overview"
generated_at: string (date-time)
needs_attention?: NeedsAttention
open_fatura?: {
id: string (uuid)
due_date: string
total_cents: integer
} | null
campaigns_published?: integer
credits_balance?: integerdeliverables_to_review: integer
late_deliverables: integer
deals_waiting_contract: integerGET/api/v1/searchEncontrar
Procura campanhas pelo nome e criadores e cartões pelo perfil ou nome, até 10 de cada. Serve para transformar um nome num identificador.
Permissão
Nenhuma: qualquer chave pode consultar. · Ferramenta MCP: find
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
q · obrigatório | Na URL | string | 2 a 80 caracteres |
Resposta
object: "search"
q: string
campaigns?: [{
id: string (uuid)
title: string
status: "rascunho" | "publicada" | "encerrada"
}]
creators?: [{
id: string (uuid)
name: string | null
handle: string | null
}]
deals?: [{
id: string (uuid)
campaign_id: string (uuid) | null
creator_handle: string | null
stage_name: string | null
}]Campanhas3 operações
GET/api/v1/campaignsListar campanhas
As campanhas da empresa, com as etapas de cada uma, da que mudou há menos tempo para a mais antiga. A situação é rascunho, publicada ou encerrada. O filtro q procura pelo nome da campanha.
Permissão
campaigns:read (Campanhas) · Ferramenta MCP: list_campaigns
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
cursor | Na URL | string | 1 a 512 caracteres |
limit | Na URL | integer | 1 a 100 · padrão 25 |
status | Na URL | string | rascunho | publicada | encerrada |
updated_since | Na URL | string (date-time) | - |
q | Na URL | string | 2 a 80 caracteres |
fields | Na URL | string | full | compact |
Resposta
Lista paginada de Campaign: os itens vêm em data, junto com has_more e next_cursor.
object: "campaign"
id: string (uuid)
board_id: string (uuid) | null
title: string
brief: string
status: "rascunho" | "publicada" | "encerrada"
hashtag: string | null
platforms: [string]
compensation_model: "commission_only" | "per_creator" | "fixed_only" | null
sales_source: "manual_csv" | null
starts_on: string | null
ends_on: string | null
published_at: string (date-time) | null
closed_at: string (date-time) | null
archived_at: string (date-time) | null
created_at: string (date-time)
updated_at: string (date-time)
stages: [StageRef]
content_approval?: CampaignContentApprovalobject: "campaign"
id: string (uuid)
title: string
status: "rascunho" | "publicada" | "encerrada"
updated_at: string (date-time)id: string (uuid)
name: string
position: integer
outcome: "station" | "won" | "paused" | "lost"mode: "fully_automatic" | "automatic_with_manual_approval" | "fully_manual"
rules_enabled: integer
checks_videos: booleanGET/api/v1/campaigns/{id}Ver uma campanha
Uma campanha pelo identificador, com as etapas.
Permissão
campaigns:read (Campanhas) · Ferramenta MCP: get_campaign
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
Resposta
object: "campaign"
id: string (uuid)
board_id: string (uuid) | null
title: string
brief: string
status: "rascunho" | "publicada" | "encerrada"
hashtag: string | null
platforms: [string]
compensation_model: "commission_only" | "per_creator" | "fixed_only" | null
sales_source: "manual_csv" | null
starts_on: string | null
ends_on: string | null
published_at: string (date-time) | null
closed_at: string (date-time) | null
archived_at: string (date-time) | null
created_at: string (date-time)
updated_at: string (date-time)
stages: [StageRef]
content_approval?: CampaignContentApprovalid: string (uuid)
name: string
position: integer
outcome: "station" | "won" | "paused" | "lost"mode: "fully_automatic" | "automatic_with_manual_approval" | "fully_manual"
rules_enabled: integer
checks_videos: booleanGET/api/v1/campaigns/{id}/summaryResumo da campanha
Uma campanha num olhar: cartões por etapa, entregas por situação, métricas dos posts, vendas, cupons e o que precisa de atenção. Cada bloco aparece só com a permissão dele.
Permissão
campaigns:read (Campanhas) · Ferramenta MCP: campaign_summary
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
Resposta
object: "campaign_summary"
campaign_id: string (uuid)
title: string
status: "rascunho" | "publicada" | "encerrada"
generated_at: string (date-time)
deals?: {
total: integer
by_stage: [{
stage: StageRef
count: integer
}]
won: integer
lost: integer
paused: integer
}
deliverables?: {
total: integer
pending: integer
submitted: integer
approved: integer
published: integer
verified: integer
late: integer
}
posts?: {
count: integer
views: integer
likes: integer
comments: integer
shares: integer
reach: integer
partial: boolean
}
sales?: {
sales_cents: integer
commission_cents: integer
cycles: integer
}
coupons?: {
codes: integer
live: integer
}
needs_attention?: NeedsAttention
money?: {
committed_cents: integer
billed_cents: integer
paid_cents: integer
}
content_approval?: CampaignContentApprovalid: string (uuid)
name: string
position: integer
outcome: "station" | "won" | "paused" | "lost"deliverables_to_review: integer
late_deliverables: integer
deals_waiting_contract: integermode: "fully_automatic" | "automatic_with_manual_approval" | "fully_manual"
rules_enabled: integer
checks_videos: booleanCartões (acordos)5 operações
GET/api/v1/dealsListar cartões (acordos)
Os cartões entre a empresa e os criadores: a etapa, o criador (nome, perfil e redes), as datas de aceite e de saída, o contrato (situação e datas), quantas entregas há em cada situação, os códigos de cupom e as métricas do post medidas pela conta conectada do criador. Com a permissão payments:read, também o valor combinado e quanto já foi faturado e pago. Filtre por campanha, etapa, criador, resultado (open, won, paused, lost) ou pelo perfil ou nome do criador (q).
Permissão
deals:read (Cartões) · Ferramenta MCP: list_deals
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
cursor | Na URL | string | 1 a 512 caracteres |
limit | Na URL | integer | 1 a 100 · padrão 25 |
campaign_id | Na URL | string (uuid) | - |
stage_id | Na URL | string (uuid) | - |
updated_since | Na URL | string (date-time) | - |
q | Na URL | string | 2 a 80 caracteres |
creator_id | Na URL | string (uuid) | - |
outcome | Na URL | string | open | won | paused | lost |
fields | Na URL | string | full | compact |
Resposta
Lista paginada de Deal: os itens vêm em data, junto com has_more e next_cursor.
object: "deal"
id: string (uuid)
campaign_id: string (uuid) | null
stage: StageRef | null
creator: CreatorRef
contract_mode: "deliverables" | "performance"
prior_approval: boolean
commission_bps: integer | null
accepted_at: string (date-time) | null
declined_at: string (date-time) | null
exited_at: string (date-time) | null
exit_reason: "criador_recusou" | "marca_desistiu" | "valor" | "prazo" | "sem_resposta" | "outro" | null
service_finalized_at: string (date-time) | null
invoice_released_at: string (date-time) | null
created_at: string (date-time)
updated_at: string (date-time)
contract: DealContract | null
deliverables: {
total: integer
approved: integer
published: integer
verified: integer
late: integer
}
coupon_codes?: [string]
post_metrics: PostMetrics | null
value?: DealValue
payment?: DealPaymentobject: "deal"
id: string (uuid)
campaign_id: string (uuid) | null
creator_handle: string | null
stage_name: string | null
updated_at: string (date-time)id: string (uuid)
name: string
position: integer
outcome: "station" | "won" | "paused" | "lost"id: string (uuid)
name: string | null
handle: string | null
platforms: [string]
claimed: booleanstatus: "preparing" | "sent" | "signed" | "declined"
sent_at: string (date-time) | null
signed_at: string (date-time) | nullplatform: string | null
views: integer | null
likes: integer | null
comments: integer | null
shares: integer | null
reach: integer | null
measured_at: string (date-time)fixed_cents: integer | null
rates: [{
kind: "produto" | "servico"
label: string
unit_value_cents: integer
}]
commission_bps: integer | nullaccrued_cents: integer
billed_cents: integer
paid_cents: integer
last_paid_at: string (date-time) | nullGET/api/v1/deals/{id}Ver um cartão
Um cartão pelo identificador.
Permissão
deals:read (Cartões) · Ferramenta MCP: get_deal
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
Resposta
object: "deal"
id: string (uuid)
campaign_id: string (uuid) | null
stage: StageRef | null
creator: CreatorRef
contract_mode: "deliverables" | "performance"
prior_approval: boolean
commission_bps: integer | null
accepted_at: string (date-time) | null
declined_at: string (date-time) | null
exited_at: string (date-time) | null
exit_reason: "criador_recusou" | "marca_desistiu" | "valor" | "prazo" | "sem_resposta" | "outro" | null
service_finalized_at: string (date-time) | null
invoice_released_at: string (date-time) | null
created_at: string (date-time)
updated_at: string (date-time)
contract: DealContract | null
deliverables: {
total: integer
approved: integer
published: integer
verified: integer
late: integer
}
coupon_codes?: [string]
post_metrics: PostMetrics | null
value?: DealValue
payment?: DealPaymentid: string (uuid)
name: string
position: integer
outcome: "station" | "won" | "paused" | "lost"id: string (uuid)
name: string | null
handle: string | null
platforms: [string]
claimed: booleanstatus: "preparing" | "sent" | "signed" | "declined"
sent_at: string (date-time) | null
signed_at: string (date-time) | nullplatform: string | null
views: integer | null
likes: integer | null
comments: integer | null
shares: integer | null
reach: integer | null
measured_at: string (date-time)fixed_cents: integer | null
rates: [{
kind: "produto" | "servico"
label: string
unit_value_cents: integer
}]
commission_bps: integer | nullaccrued_cents: integer
billed_cents: integer
paid_cents: integer
last_paid_at: string (date-time) | nullPOST/api/v1/campaigns/{id}/dealsColocar um criador na campanhaMuda dados
Cria o cartão de um criador na primeira etapa da campanha, como "Adicionar criador" no app. Precisa de uma chave com permissão de ação; nada aqui paga ninguém.
Responde 201 quando dá certo.
Ligado para todas as empresas. Se a Vega desligar as ações nas campanhas para a sua, responde feature_unavailable (GET /me mostra em features.workflow_writes).
Permissão
deals:write (Mudar cartões) · Ferramenta MCP: add_creator_to_campaign
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
Cabeçalho obrigatório
Idempotency-Key: um UUID novo para cada mudança. Repetir o mesmo valor devolve o mesmo resultado e não muda nada duas vezes; o mesmo valor com outro pedido responde 409.
Corpo (JSON)
| Nome | Tipo | Regra |
|---|---|---|
creator_id | string (uuid) | - |
platform | string | instagram | tiktok | youtube |
handle | string | 1 a 101 caracteres |
name | string | 1 a 120 caracteres |
Resposta
object: "deal"
id: string (uuid)
campaign_id: string (uuid) | null
stage: StageRef | null
creator: CreatorRef
contract_mode: "deliverables" | "performance"
prior_approval: boolean
commission_bps: integer | null
accepted_at: string (date-time) | null
declined_at: string (date-time) | null
exited_at: string (date-time) | null
exit_reason: "criador_recusou" | "marca_desistiu" | "valor" | "prazo" | "sem_resposta" | "outro" | null
service_finalized_at: string (date-time) | null
invoice_released_at: string (date-time) | null
created_at: string (date-time)
updated_at: string (date-time)
contract: DealContract | null
deliverables: {
total: integer
approved: integer
published: integer
verified: integer
late: integer
}
coupon_codes?: [string]
post_metrics: PostMetrics | null
value?: DealValue
payment?: DealPayment
notices?: [WriteNotice]id: string (uuid)
name: string
position: integer
outcome: "station" | "won" | "paused" | "lost"id: string (uuid)
name: string | null
handle: string | null
platforms: [string]
claimed: booleanstatus: "preparing" | "sent" | "signed" | "declined"
sent_at: string (date-time) | null
signed_at: string (date-time) | nullplatform: string | null
views: integer | null
likes: integer | null
comments: integer | null
shares: integer | null
reach: integer | null
measured_at: string (date-time)fixed_cents: integer | null
rates: [{
kind: "produto" | "servico"
label: string
unit_value_cents: integer
}]
commission_bps: integer | nullaccrued_cents: integer
billed_cents: integer
paid_cents: integer
last_paid_at: string (date-time) | nullcode: string
message: stringPOST/api/v1/deals/{id}/moveMover um cartãoMuda dados
Move o cartão para outra etapa com as regras do app (campos obrigatórios, saídas, automações). Etapas que liberam para a fatura ou mandam contrato ficam só no app.
Responde 200 quando dá certo.
Ligado para todas as empresas. Se a Vega desligar as ações nas campanhas para a sua, responde feature_unavailable (GET /me mostra em features.workflow_writes).
Permissão
deals:write (Mudar cartões) · Ferramenta MCP: move_deal
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
Cabeçalho obrigatório
Idempotency-Key: um UUID novo para cada mudança. Repetir o mesmo valor devolve o mesmo resultado e não muda nada duas vezes; o mesmo valor com outro pedido responde 409.
Corpo (JSON)
| Nome | Tipo | Regra |
|---|---|---|
stage_id · obrigatório | string (uuid) | - |
expected_stage_id | string (uuid) | - |
exit | { reason: "criador_recusou" | "marca_desistiu" | "valor" | "prazo" | "sem_resposta" | "outro", text: string } | - |
Resposta
object: "deal"
id: string (uuid)
campaign_id: string (uuid) | null
stage: StageRef | null
creator: CreatorRef
contract_mode: "deliverables" | "performance"
prior_approval: boolean
commission_bps: integer | null
accepted_at: string (date-time) | null
declined_at: string (date-time) | null
exited_at: string (date-time) | null
exit_reason: "criador_recusou" | "marca_desistiu" | "valor" | "prazo" | "sem_resposta" | "outro" | null
service_finalized_at: string (date-time) | null
invoice_released_at: string (date-time) | null
created_at: string (date-time)
updated_at: string (date-time)
contract: DealContract | null
deliverables: {
total: integer
approved: integer
published: integer
verified: integer
late: integer
}
coupon_codes?: [string]
post_metrics: PostMetrics | null
value?: DealValue
payment?: DealPayment
notices?: [WriteNotice]id: string (uuid)
name: string
position: integer
outcome: "station" | "won" | "paused" | "lost"id: string (uuid)
name: string | null
handle: string | null
platforms: [string]
claimed: booleanstatus: "preparing" | "sent" | "signed" | "declined"
sent_at: string (date-time) | null
signed_at: string (date-time) | nullplatform: string | null
views: integer | null
likes: integer | null
comments: integer | null
shares: integer | null
reach: integer | null
measured_at: string (date-time)fixed_cents: integer | null
rates: [{
kind: "produto" | "servico"
label: string
unit_value_cents: integer
}]
commission_bps: integer | nullaccrued_cents: integer
billed_cents: integer
paid_cents: integer
last_paid_at: string (date-time) | nullcode: string
message: stringPOST/api/v1/deals/{id}/notesAnotar num cartãoMuda dados
Adiciona uma anotação ao cartão, vista só pela equipe da empresa.
Responde 200 quando dá certo.
Ligado para todas as empresas. Se a Vega desligar as ações nas campanhas para a sua, responde feature_unavailable (GET /me mostra em features.workflow_writes).
Permissão
deals:write (Mudar cartões) · Ferramenta MCP: add_deal_note
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
Cabeçalho obrigatório
Idempotency-Key: um UUID novo para cada mudança. Repetir o mesmo valor devolve o mesmo resultado e não muda nada duas vezes; o mesmo valor com outro pedido responde 409.
Corpo (JSON)
| Nome | Tipo | Regra |
|---|---|---|
text · obrigatório | string | 1 a 4000 caracteres |
Resposta
object: "deal"
id: string (uuid)
campaign_id: string (uuid) | null
stage: StageRef | null
creator: CreatorRef
contract_mode: "deliverables" | "performance"
prior_approval: boolean
commission_bps: integer | null
accepted_at: string (date-time) | null
declined_at: string (date-time) | null
exited_at: string (date-time) | null
exit_reason: "criador_recusou" | "marca_desistiu" | "valor" | "prazo" | "sem_resposta" | "outro" | null
service_finalized_at: string (date-time) | null
invoice_released_at: string (date-time) | null
created_at: string (date-time)
updated_at: string (date-time)
contract: DealContract | null
deliverables: {
total: integer
approved: integer
published: integer
verified: integer
late: integer
}
coupon_codes?: [string]
post_metrics: PostMetrics | null
value?: DealValue
payment?: DealPayment
notices?: [WriteNotice]id: string (uuid)
name: string
position: integer
outcome: "station" | "won" | "paused" | "lost"id: string (uuid)
name: string | null
handle: string | null
platforms: [string]
claimed: booleanstatus: "preparing" | "sent" | "signed" | "declined"
sent_at: string (date-time) | null
signed_at: string (date-time) | nullplatform: string | null
views: integer | null
likes: integer | null
comments: integer | null
shares: integer | null
reach: integer | null
measured_at: string (date-time)fixed_cents: integer | null
rates: [{
kind: "produto" | "servico"
label: string
unit_value_cents: integer
}]
commission_bps: integer | nullaccrued_cents: integer
billed_cents: integer
paid_cents: integer
last_paid_at: string (date-time) | nullcode: string
message: stringCriadores2 operações
GET/api/v1/creatorsListar criadores
Os criadores com quem a empresa trabalha (todo criador com cartão numa campanha dela): nome, perfil, redes, links dos perfis, se já entrou na Vega e quantos cartões tem. Sem número de seguidores ou de audiência.
Permissão
creators:read (Criadores) · Ferramenta MCP: list_creators
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
cursor | Na URL | string | 1 a 512 caracteres |
limit | Na URL | integer | 1 a 100 · padrão 25 |
q | Na URL | string | 2 a 80 caracteres |
platform | Na URL | string | instagram | tiktok | youtube |
campaign_id | Na URL | string (uuid) | - |
updated_since | Na URL | string (date-time) | - |
fields | Na URL | string | full | compact |
Resposta
Lista paginada de Creator: os itens vêm em data, junto com has_more e next_cursor.
object: "creator"
id: string (uuid)
name: string | null
handle: string | null
platforms: [string]
profile_urls: [string]
claimed: boolean
deal_counts: {
total: integer
open: integer
won: integer
lost: integer
}
campaigns: integer
first_deal_at: string (date-time) | null
last_activity_at: string (date-time) | null
paid_cents_total?: integer
latest_report_id?: string (uuid) | null
deals?: [{
id: string (uuid)
campaign_id: string (uuid) | null
campaign_title: string | null
stage: StageRef | null
}]object: "creator"
id: string (uuid)
name: string | null
handle: string | null
last_activity_at: string (date-time) | nullid: string (uuid)
name: string
position: integer
outcome: "station" | "won" | "paused" | "lost"GET/api/v1/creators/{id}Ver um criador
Um criador pelo identificador, com cada cartão dele na empresa (campanha e etapa).
Permissão
creators:read (Criadores) · Ferramenta MCP: get_creator
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
Resposta
object: "creator"
id: string (uuid)
name: string | null
handle: string | null
platforms: [string]
profile_urls: [string]
claimed: boolean
deal_counts: {
total: integer
open: integer
won: integer
lost: integer
}
campaigns: integer
first_deal_at: string (date-time) | null
last_activity_at: string (date-time) | null
paid_cents_total?: integer
latest_report_id?: string (uuid) | null
deals?: [{
id: string (uuid)
campaign_id: string (uuid) | null
campaign_title: string | null
stage: StageRef | null
}]id: string (uuid)
name: string
position: integer
outcome: "station" | "won" | "paused" | "lost"Entregas e posts verificados3 operações
GET/api/v1/deliverablesListar entregas
As entregas combinadas nos cartões: prazo, situação, endereço do post publicado e a verificação do post. As métricas do post ficam no cartão.
Permissão
deliverables:read (Entregas) · Ferramenta MCP: list_deliverables
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
cursor | Na URL | string | 1 a 512 caracteres |
limit | Na URL | integer | 1 a 100 · padrão 25 |
campaign_id | Na URL | string (uuid) | - |
deal_id | Na URL | string (uuid) | - |
status | Na URL | string | pending | submitted | in_review | changes_requested | approved | published | verified | post_removed |
updated_since | Na URL | string (date-time) | - |
fields | Na URL | string | full | compact |
Resposta
Lista paginada de Deliverable: os itens vêm em data, junto com has_more e next_cursor.
object: "deliverable"
id: string (uuid)
deal_id: string (uuid)
campaign_id: string (uuid) | null
platform: string
format: string
title: string | null
status: "pending" | "submitted" | "in_review" | "changes_requested" | "approved" | "published" | "verified" | "post_removed"
deadline: string | null
window_start: string | null
window_end: string | null
published_url: string | null
fulfilled_at: string (date-time) | null
fulfilled_late: boolean | null
verification: {
status: "pending" | "verified" | "ownership_mismatch" | "post_deleted"
post_url: string | null
verified_at: string (date-time) | null
last_checked_at: string (date-time) | null
} | null
created_at: string (date-time)
updated_at: string (date-time)
guidelines_check?: GuidelinesCheck | nullobject: "deliverable"
id: string (uuid)
deal_id: string (uuid)
status: "pending" | "submitted" | "in_review" | "changes_requested" | "approved" | "published" | "verified" | "post_removed"
deadline: string | nullstatus: "queued" | "checking" | "checked" | "no_media" | "no_speech" | "no_credits" | "failed"
result: "in_line" | "outside" | "not_checked"
not_checked_reason: "in_progress" | "no_media" | "no_speech" | "no_credits" | "failed" | null
decided_by: "vega" | "person" | null
points: [{
rule_id: string
rule: ContentRuleRef
passage: string | null
at_seconds: number | null
}]origin: "campaign" | "guidelines" | "company" | null
condition: "says" | "does_not_say" | "caption_contains" | "caption_does_not_contain" | "mentions" | "no_paid_partnership_label" | "past_deadline" | "live_less_than_days" | "video_shorter_than_seconds" | "on_creator_account" | "has_campaign_hashtag" | "agreed_format" | "within_campaign_period" | "posted_before_approval" | "link_broken_or_other_account" | "taken_down"
value: string | null
effect: "approve" | "attention" | "refuse"GET/api/v1/deliverables/{id}Ver uma entrega
Uma entrega pelo identificador.
Permissão
deliverables:read (Entregas) · Ferramenta MCP: get_deliverable
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
Resposta
object: "deliverable"
id: string (uuid)
deal_id: string (uuid)
campaign_id: string (uuid) | null
platform: string
format: string
title: string | null
status: "pending" | "submitted" | "in_review" | "changes_requested" | "approved" | "published" | "verified" | "post_removed"
deadline: string | null
window_start: string | null
window_end: string | null
published_url: string | null
fulfilled_at: string (date-time) | null
fulfilled_late: boolean | null
verification: {
status: "pending" | "verified" | "ownership_mismatch" | "post_deleted"
post_url: string | null
verified_at: string (date-time) | null
last_checked_at: string (date-time) | null
} | null
created_at: string (date-time)
updated_at: string (date-time)
guidelines_check?: GuidelinesCheck | nullstatus: "queued" | "checking" | "checked" | "no_media" | "no_speech" | "no_credits" | "failed"
result: "in_line" | "outside" | "not_checked"
not_checked_reason: "in_progress" | "no_media" | "no_speech" | "no_credits" | "failed" | null
decided_by: "vega" | "person" | null
points: [{
rule_id: string
rule: ContentRuleRef
passage: string | null
at_seconds: number | null
}]origin: "campaign" | "guidelines" | "company" | null
condition: "says" | "does_not_say" | "caption_contains" | "caption_does_not_contain" | "mentions" | "no_paid_partnership_label" | "past_deadline" | "live_less_than_days" | "video_shorter_than_seconds" | "on_creator_account" | "has_campaign_hashtag" | "agreed_format" | "within_campaign_period" | "posted_before_approval" | "link_broken_or_other_account" | "taken_down"
value: string | null
effect: "approve" | "attention" | "refuse"POST/api/v1/deliverables/{id}/reviewRevisar uma entregaMuda dados
Aprova a entrega enviada ou pede ajustes com um comentário. Quando a empresa exige comprovação ou uma segunda pessoa, a aprovação fica pendente. Aprovar nunca paga ninguém.
Responde 200 ou 202 quando dá certo.
Ligado para todas as empresas. Se a Vega desligar as ações nas campanhas para a sua, responde feature_unavailable (GET /me mostra em features.workflow_writes).
Permissão
deliverables:write (Revisar entregas) · Ferramenta MCP: review_deliverable
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
Cabeçalho obrigatório
Idempotency-Key: um UUID novo para cada mudança. Repetir o mesmo valor devolve o mesmo resultado e não muda nada duas vezes; o mesmo valor com outro pedido responde 409.
Corpo (JSON)
| Nome | Tipo | Regra |
|---|---|---|
decision · obrigatório | string | approve | request_changes |
comment | string | 1 a 2000 caracteres |
Resposta
object: "deliverable"
id: string (uuid)
deal_id: string (uuid)
campaign_id: string (uuid) | null
platform: string
format: string
title: string | null
status: "pending" | "submitted" | "in_review" | "changes_requested" | "approved" | "published" | "verified" | "post_removed"
deadline: string | null
window_start: string | null
window_end: string | null
published_url: string | null
fulfilled_at: string (date-time) | null
fulfilled_late: boolean | null
verification: {
status: "pending" | "verified" | "ownership_mismatch" | "post_deleted"
post_url: string | null
verified_at: string (date-time) | null
last_checked_at: string (date-time) | null
} | null
created_at: string (date-time)
updated_at: string (date-time)
guidelines_check?: GuidelinesCheck | null
review: "approved" | "changes_requested" | "pending_approval"
notices?: [WriteNotice]status: "queued" | "checking" | "checked" | "no_media" | "no_speech" | "no_credits" | "failed"
result: "in_line" | "outside" | "not_checked"
not_checked_reason: "in_progress" | "no_media" | "no_speech" | "no_credits" | "failed" | null
decided_by: "vega" | "person" | null
points: [{
rule_id: string
rule: ContentRuleRef
passage: string | null
at_seconds: number | null
}]code: string
message: stringorigin: "campaign" | "guidelines" | "company" | null
condition: "says" | "does_not_say" | "caption_contains" | "caption_does_not_contain" | "mentions" | "no_paid_partnership_label" | "past_deadline" | "live_less_than_days" | "video_shorter_than_seconds" | "on_creator_account" | "has_campaign_hashtag" | "agreed_format" | "within_campaign_period" | "posted_before_approval" | "link_broken_or_other_account" | "taken_down"
value: string | null
effect: "approve" | "attention" | "refuse"Posts do Monitoramento2 operações
GET/api/v1/postsListar posts do Monitoramento
Os posts que a Vega capturou para a empresa (hashtags e menções das campanhas, parceiros monitorados). As métricas só vêm quando a Vega ou a conta conectada do próprio criador mediu.
Permissão
monitoring:read (Monitoramento) · Ferramenta MCP: list_posts
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
cursor | Na URL | string | 1 a 512 caracteres |
limit | Na URL | integer | 1 a 100 · padrão 25 |
campaign_id | Na URL | string (uuid) | - |
creator_id | Na URL | string (uuid) | - |
platform | Na URL | string | instagram | tiktok | youtube |
source | Na URL | string | campaign_tag | partner_monitor |
posted_since | Na URL | string (date-time) | - |
hashtag | Na URL | string | 1 a 100 caracteres |
fields | Na URL | string | full | compact |
Resposta
Lista paginada de Post: os itens vêm em data, junto com has_more e next_cursor.
object: "post"
id: string (uuid)
source: "campaign_tag" | "partner_monitor"
platform: string
media_type: string | null
permalink: string | null
posted_at: string (date-time) | null
author_handle: string | null
creator_id: string (uuid) | null
campaign_id: string (uuid) | null
matched: {
type: "hashtag" | "mention" | "monitor"
value: string | null
}
paid_partnership: boolean | null
metrics: {
likes: integer | null
comments: integer | null
views: integer | null
} | null
metrics_source: "instagram" | "youtube" | "tiktok" | null
guidelines_check: GuidelinesCheck | nullobject: "post"
id: string (uuid)
author_handle: string | null
platform: string
permalink: string | null
posted_at: string (date-time) | nullstatus: "queued" | "checking" | "checked" | "no_media" | "no_speech" | "no_credits" | "failed"
result: "in_line" | "outside" | "not_checked"
not_checked_reason: "in_progress" | "no_media" | "no_speech" | "no_credits" | "failed" | null
decided_by: "vega" | "person" | null
points: [{
rule_id: string
rule: ContentRuleRef
passage: string | null
at_seconds: number | null
}]origin: "campaign" | "guidelines" | "company" | null
condition: "says" | "does_not_say" | "caption_contains" | "caption_does_not_contain" | "mentions" | "no_paid_partnership_label" | "past_deadline" | "live_less_than_days" | "video_shorter_than_seconds" | "on_creator_account" | "has_campaign_hashtag" | "agreed_format" | "within_campaign_period" | "posted_before_approval" | "link_broken_or_other_account" | "taken_down"
value: string | null
effect: "approve" | "attention" | "refuse"GET/api/v1/posts/{id}Ver um post
Um post capturado pelo identificador.
Permissão
monitoring:read (Monitoramento) · Ferramenta MCP: get_post
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
Resposta
object: "post"
id: string (uuid)
source: "campaign_tag" | "partner_monitor"
platform: string
media_type: string | null
permalink: string | null
posted_at: string (date-time) | null
author_handle: string | null
creator_id: string (uuid) | null
campaign_id: string (uuid) | null
matched: {
type: "hashtag" | "mention" | "monitor"
value: string | null
}
paid_partnership: boolean | null
metrics: {
likes: integer | null
comments: integer | null
views: integer | null
} | null
metrics_source: "instagram" | "youtube" | "tiktok" | null
guidelines_check: GuidelinesCheck | nullstatus: "queued" | "checking" | "checked" | "no_media" | "no_speech" | "no_credits" | "failed"
result: "in_line" | "outside" | "not_checked"
not_checked_reason: "in_progress" | "no_media" | "no_speech" | "no_credits" | "failed" | null
decided_by: "vega" | "person" | null
points: [{
rule_id: string
rule: ContentRuleRef
passage: string | null
at_seconds: number | null
}]origin: "campaign" | "guidelines" | "company" | null
condition: "says" | "does_not_say" | "caption_contains" | "caption_does_not_contain" | "mentions" | "no_paid_partnership_label" | "past_deadline" | "live_less_than_days" | "video_shorter_than_seconds" | "on_creator_account" | "has_campaign_hashtag" | "agreed_format" | "within_campaign_period" | "posted_before_approval" | "link_broken_or_other_account" | "taken_down"
value: string | null
effect: "approve" | "attention" | "refuse"Cupons4 operações
GET/api/v1/couponsListar cupons
Os códigos de cupom emitidos para os criadores, com o benefício e a situação de cada um.
Permissão
coupons:read (Cupons) · Ferramenta MCP: list_coupons
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
cursor | Na URL | string | 1 a 512 caracteres |
limit | Na URL | integer | 1 a 100 · padrão 25 |
campaign_id | Na URL | string (uuid) | - |
deal_id | Na URL | string (uuid) | - |
benefit_id | Na URL | string (uuid) | - |
Resposta
Lista paginada de Coupon: os itens vêm em data, junto com has_more e next_cursor.
object: "coupon"
id: string (uuid)
code: string
status: "rascunho" | "emitido" | "no_ar" | "encerrando" | "encerrado" | "desatualizado"
benefit: {
id: string (uuid)
name: string
}
deal_id: string (uuid) | null
campaign_id: string (uuid) | null
creator_handle: string | null
creator_name: string | null
issued_at: string (date-time) | null
live_at: string (date-time) | null
ends_at: string (date-time) | null
created_at: string (date-time)
updated_at: string (date-time)GET/api/v1/coupons/{id}Ver um cupom
Um código de cupom pelo identificador.
Permissão
coupons:read (Cupons) · Ferramenta MCP: get_coupon
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
Resposta
object: "coupon"
id: string (uuid)
code: string
status: "rascunho" | "emitido" | "no_ar" | "encerrando" | "encerrado" | "desatualizado"
benefit: {
id: string (uuid)
name: string
}
deal_id: string (uuid) | null
campaign_id: string (uuid) | null
creator_handle: string | null
creator_name: string | null
issued_at: string (date-time) | null
live_at: string (date-time) | null
ends_at: string (date-time) | null
created_at: string (date-time)
updated_at: string (date-time)POST/api/v1/deals/{id}/coupon-codesCriar um cupomMuda dados
Cria um código de cupom (rascunho) para o criador do cartão num benefício da empresa; sem código, a Vega gera um.
Responde 201 quando dá certo.
Ligado para todas as empresas. Se a Vega desligar as ações nas campanhas para a sua, responde feature_unavailable (GET /me mostra em features.workflow_writes).
Permissão
coupons:write (Criar e emitir cupons) · Ferramenta MCP: create_coupon_code
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
Cabeçalho obrigatório
Idempotency-Key: um UUID novo para cada mudança. Repetir o mesmo valor devolve o mesmo resultado e não muda nada duas vezes; o mesmo valor com outro pedido responde 409.
Corpo (JSON)
| Nome | Tipo | Regra |
|---|---|---|
benefit_id · obrigatório | string (uuid) | - |
code | string | - |
Resposta
object: "coupon"
id: string (uuid)
code: string
status: "rascunho" | "emitido" | "no_ar" | "encerrando" | "encerrado" | "desatualizado"
benefit: {
id: string (uuid)
name: string
}
deal_id: string (uuid) | null
campaign_id: string (uuid) | null
creator_handle: string | null
creator_name: string | null
issued_at: string (date-time) | null
live_at: string (date-time) | null
ends_at: string (date-time) | null
created_at: string (date-time)
updated_at: string (date-time)POST/api/v1/coupons/{id}/issueEmitir um cupomMuda dados
Marca um cupom em rascunho como emitido, a mesma mudança que o app permite à mão.
Responde 200 quando dá certo.
Ligado para todas as empresas. Se a Vega desligar as ações nas campanhas para a sua, responde feature_unavailable (GET /me mostra em features.workflow_writes).
Permissão
coupons:write (Criar e emitir cupons) · Ferramenta MCP: issue_coupon_code
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
Cabeçalho obrigatório
Idempotency-Key: um UUID novo para cada mudança. Repetir o mesmo valor devolve o mesmo resultado e não muda nada duas vezes; o mesmo valor com outro pedido responde 409.
Corpo (JSON)
{}
Resposta
object: "coupon"
id: string (uuid)
code: string
status: "rascunho" | "emitido" | "no_ar" | "encerrando" | "encerrado" | "desatualizado"
benefit: {
id: string (uuid)
name: string
}
deal_id: string (uuid) | null
campaign_id: string (uuid) | null
creator_handle: string | null
creator_name: string | null
issued_at: string (date-time) | null
live_at: string (date-time) | null
ends_at: string (date-time) | null
created_at: string (date-time)
updated_at: string (date-time)Vendas5 operações
GET/api/v1/salesListar planilhas de vendas
Os ciclos de vendas de cada campanha, com o total de vendas e de comissão em centavos. As linhas vêm ao consultar um ciclo.
Permissão
sales:read (Vendas) · Ferramenta MCP: list_sales
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
cursor | Na URL | string | 1 a 512 caracteres |
limit | Na URL | integer | 1 a 100 · padrão 25 |
campaign_id | Na URL | string (uuid) | - |
cycle_key | Na URL | string | - |
Resposta
Lista paginada de SalesCycle: os itens vêm em data, junto com has_more e next_cursor.
object: "sales_cycle"
id: string (uuid)
campaign_id: string (uuid)
cycle_key: string
window_start: string
window_end: string
status: "disponivel" | "enviado" | "importado"
return_deadline: string | null
returned_at: string (date-time) | null
return_channel: "upload" | "webhook" | null
totals: {
sales_cents: integer
commission_cents: integer
rows: integer
}
rows?: [SalesCycleRow]deal_id: string (uuid) | null
coupon_code: string | null
sales_cents: integer | null
commission_cents: integer | null
commission_bps: integer | nullGET/api/v1/sales/{id}Ver uma planilha de vendas
Um ciclo de vendas com as linhas: cartão, cupom, vendas e comissão.
Permissão
sales:read (Vendas) · Ferramenta MCP: get_sales_cycle
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
Resposta
object: "sales_cycle"
id: string (uuid)
campaign_id: string (uuid)
cycle_key: string
window_start: string
window_end: string
status: "disponivel" | "enviado" | "importado"
return_deadline: string | null
returned_at: string (date-time) | null
return_channel: "upload" | "webhook" | null
totals: {
sales_cents: integer
commission_cents: integer
rows: integer
}
rows?: [SalesCycleRow]deal_id: string (uuid) | null
coupon_code: string | null
sales_cents: integer | null
commission_cents: integer | null
commission_bps: integer | nullPOST/api/v1/campaigns/{id}/salesEnviar vendasMuda dados
Envia as vendas da campanha para o ciclo aberto, uma linha por cupom ou cartão, do mesmo jeito que o webhook de vendas. A resposta é 202; acompanhe pelo envio de vendas.
Responde 202 quando dá certo.
Ligado para todas as empresas. Se a Vega desligar as ações nas campanhas para a sua, responde feature_unavailable (GET /me mostra em features.workflow_writes).
Permissão
sales:write (Enviar vendas) · Ferramenta MCP: send_sales
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
Cabeçalho obrigatório
Idempotency-Key: um UUID novo para cada mudança. Repetir o mesmo valor devolve o mesmo resultado e não muda nada duas vezes; o mesmo valor com outro pedido responde 409.
Corpo (JSON)
| Nome | Tipo | Regra |
|---|---|---|
rows · obrigatório | [{ coupon: string, deal_id: string (uuid), sales_cents: integer }] | - |
Resposta
object: "sales_delivery"
id: string (uuid)
campaign_id: string (uuid)
status: "processing" | "accepted" | "rejected"
received_at: string (date-time)
processed_at: string (date-time) | null
stats: {
rows: integer | null
matched: integer | null
ignored: integer | null
}
errors: [{
line: integer | null
code: string
}]GET/api/v1/sales-deliveriesListar envios de vendas
Cada lote de vendas enviado à Vega (pelo webhook de vendas ou pela API), com o resultado e os códigos de erro.
Permissão
sales:read (Vendas)
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
cursor | Na URL | string | 1 a 512 caracteres |
limit | Na URL | integer | 1 a 100 · padrão 25 |
campaign_id | Na URL | string (uuid) | - |
status | Na URL | string | processing | accepted | rejected |
Resposta
Lista paginada de SalesDelivery: os itens vêm em data, junto com has_more e next_cursor.
object: "sales_delivery"
id: string (uuid)
campaign_id: string (uuid)
status: "processing" | "accepted" | "rejected"
received_at: string (date-time)
processed_at: string (date-time) | null
stats: {
rows: integer | null
matched: integer | null
ignored: integer | null
}
errors: [{
line: integer | null
code: string
}]GET/api/v1/sales-deliveries/{id}Ver um envio de vendas
Um lote de vendas: processando, aceito ou recusado, as linhas aceitas e ignoradas e os códigos de erro por linha.
Permissão
sales:read (Vendas) · Ferramenta MCP: get_sales_delivery
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
Resposta
object: "sales_delivery"
id: string (uuid)
campaign_id: string (uuid)
status: "processing" | "accepted" | "rejected"
received_at: string (date-time)
processed_at: string (date-time) | null
stats: {
rows: integer | null
matched: integer | null
ignored: integer | null
}
errors: [{
line: integer | null
code: string
}]Faturas2 operações
GET/api/v1/faturasListar faturas
As faturas mensais da empresa: situação (aberta, parcial ou paga), vencimento e totais em centavos.
Permissão
faturas:read (Faturas) · Ferramenta MCP: list_faturas
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
cursor | Na URL | string | 1 a 512 caracteres |
limit | Na URL | integer | 1 a 100 · padrão 25 |
status | Na URL | string | aberta | parcial | paga |
cycle_key | Na URL | string | - |
Resposta
Lista paginada de Fatura: os itens vêm em data, junto com has_more e next_cursor.
object: "fatura"
id: string (uuid)
cycle_key: string
kind: "regular" | "comissao_atrasada"
payment_model: "pix_por_criador" | "pix_unico" | "conta_marca"
status: "aberta" | "parcial" | "paga"
window_start: string | null
window_end: string
due_date: string
totals: {
fixed_cents: integer
variable_cents: integer
prize_cents: integer
vega_fee_cents: integer
processing_fee_cents: integer
transfer_fee_cents: integer
total_cents: integer
}
charge_count: integer
closed_at: string (date-time)
paid_at: string (date-time) | nullGET/api/v1/faturas/{id}Ver uma fatura
Uma fatura pelo identificador.
Permissão
faturas:read (Faturas) · Ferramenta MCP: get_fatura_status
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
Resposta
object: "fatura"
id: string (uuid)
cycle_key: string
kind: "regular" | "comissao_atrasada"
payment_model: "pix_por_criador" | "pix_unico" | "conta_marca"
status: "aberta" | "parcial" | "paga"
window_start: string | null
window_end: string
due_date: string
totals: {
fixed_cents: integer
variable_cents: integer
prize_cents: integer
vega_fee_cents: integer
processing_fee_cents: integer
transfer_fee_cents: integer
total_cents: integer
}
charge_count: integer
closed_at: string (date-time)
paid_at: string (date-time) | nullPagamentos2 operações
GET/api/v1/paymentsListar pagamentos
A parte de cada criador nas faturas da empresa: valor bruto, taxa da Vega, tarifas e total em centavos, com situação e datas. Só leitura: nada aqui paga ninguém.
Permissão
payments:read (Valores e pagamentos) · Ferramenta MCP: list_payments
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
cursor | Na URL | string | 1 a 512 caracteres |
limit | Na URL | integer | 1 a 100 · padrão 25 |
fatura_id | Na URL | string (uuid) | - |
creator_id | Na URL | string (uuid) | - |
status | Na URL | string | pendente | aguardando_conta | emitida | paga | estornada | falhou | aguardando_repasse | adiada |
cycle_key | Na URL | string | - |
paid_since | Na URL | string (date-time) | - |
fields | Na URL | string | full | compact |
Resposta
Lista paginada de Payment: os itens vêm em data, junto com has_more e next_cursor.
object: "payment"
id: string (uuid)
fatura_id: string (uuid)
cycle_key: string
creator: CreatorRef | null
gross_cents: integer
vega_fee_cents: integer
processing_fee_cents: integer
transfer_fee_cents: integer
total_cents: integer
status: "pendente" | "aguardando_conta" | "emitida" | "paga" | "estornada" | "falhou" | "aguardando_repasse" | "adiada"
due_date: string
issued_at: string (date-time) | null
paid_at: string (date-time) | null
rolled_to_cycle_key: string | null
created_at: string (date-time)
updated_at: string (date-time)
lines?: [{
kind: "fixo" | "variavel" | "comissao" | "taxa_vega" | "tarifa_pix" | "tarifa_saque" | "premio"
description: string
deal_id: string (uuid) | null
quantity: integer | null
unit_cents: integer | null
amount_cents: integer
}]object: "payment"
id: string (uuid)
creator_handle: string | null
status: "pendente" | "aguardando_conta" | "emitida" | "paga" | "estornada" | "falhou" | "aguardando_repasse" | "adiada"
total_cents: integer
due_date: stringid: string (uuid)
name: string | null
handle: string | null
platforms: [string]
claimed: booleanGET/api/v1/payments/{id}Ver um pagamento
Um pagamento pelo identificador, com as linhas dele (fixo, variável, comissão, prêmio e tarifas).
Permissão
payments:read (Valores e pagamentos) · Ferramenta MCP: get_payment
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
Resposta
object: "payment"
id: string (uuid)
fatura_id: string (uuid)
cycle_key: string
creator: CreatorRef | null
gross_cents: integer
vega_fee_cents: integer
processing_fee_cents: integer
transfer_fee_cents: integer
total_cents: integer
status: "pendente" | "aguardando_conta" | "emitida" | "paga" | "estornada" | "falhou" | "aguardando_repasse" | "adiada"
due_date: string
issued_at: string (date-time) | null
paid_at: string (date-time) | null
rolled_to_cycle_key: string | null
created_at: string (date-time)
updated_at: string (date-time)
lines?: [{
kind: "fixo" | "variavel" | "comissao" | "taxa_vega" | "tarifa_pix" | "tarifa_saque" | "premio"
description: string
deal_id: string (uuid) | null
quantity: integer | null
unit_cents: integer | null
amount_cents: integer
}]id: string (uuid)
name: string | null
handle: string | null
platforms: [string]
claimed: booleanGamificação2 operações
GET/api/v1/gamification-programsListar programas de Gamificação
As competições e bonificações da empresa: período, repetição, se os convites já saíram e quantos criadores entraram.
Permissão
gamification:read (Gamificação) · Ferramenta MCP: list_gamification_programs
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
cursor | Na URL | string | 1 a 512 caracteres |
limit | Na URL | integer | 1 a 100 · padrão 25 |
campaign_id | Na URL | string (uuid) | - |
kind | Na URL | string | competicao | bonus |
Resposta
Lista paginada de GamificationProgram: os itens vêm em data, junto com has_more e next_cursor.
object: "gamification_program"
id: string (uuid)
kind: "competicao" | "bonus"
name: string | null
campaign_id: string (uuid) | null
starts_on: string
ends_on: string
repeat: "nunca" | "mensal" | "trimestral" | "semestral"
draft: boolean
participants: integer
created_at: string (date-time)
updated_at: string (date-time)
cycles?: [{
index: integer
start: string
end: string
confirmed_at: string (date-time)
total_cents: integer
payouts: [{
creator: CreatorRef | null
kind: "dinheiro" | "outro"
amount_cents: integer | null
description: string | null
place: integer | null
points: integer | null
status: "a_faturar" | "faturado" | "fora_da_vega" | "a_entregar" | "entregue"
}]
}]id: string (uuid)
name: string | null
handle: string | null
platforms: [string]
claimed: booleanGET/api/v1/gamification-programs/{id}Ver um programa de Gamificação
Um programa pelo identificador, com os ciclos confirmados e os prêmios de cada criador.
Permissão
gamification:read (Gamificação) · Ferramenta MCP: get_gamification_program
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
Resposta
object: "gamification_program"
id: string (uuid)
kind: "competicao" | "bonus"
name: string | null
campaign_id: string (uuid) | null
starts_on: string
ends_on: string
repeat: "nunca" | "mensal" | "trimestral" | "semestral"
draft: boolean
participants: integer
created_at: string (date-time)
updated_at: string (date-time)
cycles?: [{
index: integer
start: string
end: string
confirmed_at: string (date-time)
total_cents: integer
payouts: [{
creator: CreatorRef | null
kind: "dinheiro" | "outro"
amount_cents: integer | null
description: string | null
place: integer | null
points: integer | null
status: "a_faturar" | "faturado" | "fora_da_vega" | "a_entregar" | "entregue"
}]
}]id: string (uuid)
name: string | null
handle: string | null
platforms: [string]
claimed: booleanAgenda1 operação
GET/api/v1/eventsListar a Agenda
A Agenda da empresa num intervalo de datas: os eventos dela, os eventos abertos aprovados pela Vega e os períodos das campanhas.
Permissão
agenda:read (Agenda) · Ferramenta MCP: list_events
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
cursor | Na URL | string | 1 a 512 caracteres |
limit | Na URL | integer | 1 a 100 · padrão 25 |
from | Na URL | string | - |
to | Na URL | string | - |
kind | Na URL | string | company_event | vega_event | campaign |
Resposta
Lista paginada de AgendaEvent: os itens vêm em data, junto com has_more e next_cursor.
object: "event"
id: string (uuid)
kind: "company_event" | "vega_event" | "campaign"
title: string
type: string | null
starts_on: string
ends_on: string
city: string | null
country: string | null
campaign_id: string (uuid) | nullRelatórios3 operações
GET/api/v1/reportsListar relatórios
Os relatórios compartilhados com a empresa toda: o nome, o tipo e um link que abre o relatório dentro da Vega. A tabela de um relatório vem em "Ver os dados de um relatório". Rascunhos, modelos e relatórios privados não aparecem.
Permissão
reports:read (Relatórios) · Ferramenta MCP: list_reports
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
cursor | Na URL | string | 1 a 512 caracteres |
limit | Na URL | integer | 1 a 100 · padrão 25 |
campaign_id | Na URL | string (uuid) | - |
Resposta
Lista paginada de Report: os itens vêm em data, junto com has_more e next_cursor.
object: "report"
id: string (uuid)
campaign_id: string (uuid) | null
name: string
source: "acordos" | "publicacoes"
format: "a4" | "slides"
live: boolean
snapshot_at: string (date-time) | null
created_at: string (date-time)
updated_at: string (date-time)
url: stringGET/api/v1/reports/{id}Ver um relatório
Um relatório visível para a empresa, pelo identificador.
Permissão
reports:read (Relatórios) · Ferramenta MCP: get_report
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
Resposta
object: "report"
id: string (uuid)
campaign_id: string (uuid) | null
name: string
source: "acordos" | "publicacoes"
format: "a4" | "slides"
live: boolean
snapshot_at: string (date-time) | null
created_at: string (date-time)
updated_at: string (date-time)
url: stringGET/api/v1/reports/{id}/dataVer os dados de um relatório
A tabela de um relatório da empresa, os mesmos dados da exportação em CSV: colunas e linhas. Colunas com dados comprados ficam de fora.
Permissão
reports:read (Relatórios) · Ferramenta MCP: get_report_data
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
Resposta
object: "report_data"
report: Report
columns: [{
key: string
label: string
type: "text" | "integer" | "number" | "cents" | "date" | "datetime"
}]
rows: [[string | number | null]]
truncated: booleanobject: "report"
id: string (uuid)
campaign_id: string (uuid) | null
name: string
source: "acordos" | "publicacoes"
format: "a4" | "slides"
live: boolean
snapshot_at: string (date-time) | null
created_at: string (date-time)
updated_at: string (date-time)
url: stringNotas fiscais2 operações
GET/api/v1/notas-fiscaisListar notas fiscais
As notas fiscais de serviço (NFS-e) emitidas para a empresa: a nota de cada criador por uma cobrança paga da fatura e a nota da taxa da Vega. Traz quem emitiu (nome e CNPJ da nota), valor em centavos, data de competência, situação e a referência da nota no emissor (provider_reference). Os links pdf_url e xml_url baixam o PDF e o XML da nota.
Permissão
notas_fiscais:read (Notas fiscais) · Ferramenta MCP: list_notas_fiscais
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
cursor | Na URL | string | 1 a 512 caracteres |
limit | Na URL | integer | 1 a 100 · padrão 25 |
period | Na URL | string | - |
fatura_id | Na URL | string (uuid) | - |
issuer_kind | Na URL | string | vega | creator |
status | Na URL | string | pendente | preparado | enviado | emitido | rejeitado | bloqueado | erro_provedor | reenvio_agendado |
Resposta
Lista paginada de NotaFiscal: os itens vêm em data, junto com has_more e next_cursor.
object: "nota_fiscal"
id: string (uuid)
status: "pendente" | "preparado" | "enviado" | "emitido" | "rejeitado" | "bloqueado" | "erro_provedor" | "reenvio_agendado"
issuer_kind: "vega" | "creator"
issuer_name: string | null
issuer_cnpj: string | null
creator_id: string (uuid) | null
tomador: {
org_id: string (uuid)
name: string
}
amount_cents: integer
competence_date: string | null
issued_at: string (date-time) | null
provider: string | null
provider_reference: string | null
fatura_id: string (uuid) | null
deal_id: string (uuid) | null
pdf_url: string | null
xml_url: string | null
created_at: string (date-time)GET/api/v1/notas-fiscais/{id}Ver uma nota fiscal
Uma nota fiscal pelo identificador. Os links pdf_url e xml_url baixam o arquivo com a mesma chave: a resposta redireciona (302) para um endereço que vale 60 segundos. Os links ficam vazios enquanto a Vega não guarda o arquivo.
Permissão
notas_fiscais:read (Notas fiscais) · Ferramenta MCP: get_nota_fiscal
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
Resposta
object: "nota_fiscal"
id: string (uuid)
status: "pendente" | "preparado" | "enviado" | "emitido" | "rejeitado" | "bloqueado" | "erro_provedor" | "reenvio_agendado"
issuer_kind: "vega" | "creator"
issuer_name: string | null
issuer_cnpj: string | null
creator_id: string (uuid) | null
tomador: {
org_id: string (uuid)
name: string
}
amount_cents: integer
competence_date: string | null
issued_at: string (date-time) | null
provider: string | null
provider_reference: string | null
fatura_id: string (uuid) | null
deal_id: string (uuid) | null
pdf_url: string | null
xml_url: string | null
created_at: string (date-time)Créditos1 operação
GET/api/v1/creditsVer o saldo e os preços
Quantos créditos a empresa tem agora, quantos o plano dá por mês, quanto custa cada ação paga e o link da Carteira para comprar mais. Não gasta créditos.
Ligado para todas as empresas. Se a Vega desligar a busca e os relatórios para a sua, responde feature_unavailable (GET /me mostra em features.paid_data_actions).
Permissão
prospecting:read (Buscas, relatórios de criadores e saldo) · Ferramenta MCP: get_credit_balance
Parâmetros
Nenhum parâmetro.
Resposta
object: "credits"
balance: integer
monthly_credits: integer | null
prices: [CreditPrice]
buy_url: stringaction: "search.vega" | "search.page" | "report.simplified"
credits: integer
description: stringBusca com IA da Vega4 operações
GET/api/v1/creator-searchesListar buscas
As buscas da Busca com IA da Vega dos últimos 90 dias, feitas na Vega ou pela API, da mais nova para a mais antiga. Filtre pela situação (buscando, pronta ou com falha). Não gasta créditos.
Ligado para todas as empresas. Se a Vega desligar a busca e os relatórios para a sua, responde feature_unavailable (GET /me mostra em features.paid_data_actions).
Permissão
prospecting:read (Buscas, relatórios de criadores e saldo) · Ferramenta MCP: list_creator_searches
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
cursor | Na URL | string | 1 a 512 caracteres |
limit | Na URL | integer | 1 a 100 · padrão 25 |
status | Na URL | string | searching | ready | failed |
Resposta
Lista paginada de CreatorSearch: os itens vêm em data, junto com has_more e next_cursor.
object: "creator_search"
id: string (uuid)
status: "searching" | "ready" | "failed"
failure_code: "sem_chave" | "desligado" | "fornecedor_indisponivel" | "sem_resultados" | "fila" | "tempo" | "erro_interno" | null
description: string
platforms: ["instagram" | "tiktok" | "youtube"]
created_at: string (date-time)
finished_at: string (date-time) | null
expires_at: string (date-time)
credits_spent: integer
results_shown: integer
exhausted: boolean
next: CreatorSearchNext | null
results: [CreatorSearchResult]kind: "list" | "extension"
credits: integercreator_id: string (uuid)
platform: "instagram" | "tiktok" | "youtube"
handle: string
display_name: string | null
profile_url: string
metrics: CreatorSearchMetrics | nullfollowers: integer | null
engagement_rate: number | null
niche: string | null
city: string | nullGET/api/v1/creator-searches/{id}Ver uma busca
Uma busca e os criadores que a empresa já pagou para ver, na ordem de relevância. Os números (seguidores, engajamento, nicho e cidade) aparecem só nos perfis que a própria Vega mediu; nos outros, metrics vem vazio. Ordenar por seguidores ou engajamento põe primeiro os perfis com números medidos pela Vega, e os outros vêm depois, na ordem de relevância. Enquanto a busca roda, a resposta traz Retry-After. Não gasta créditos.
Ligado para todas as empresas. Se a Vega desligar a busca e os relatórios para a sua, responde feature_unavailable (GET /me mostra em features.paid_data_actions).
Permissão
prospecting:read (Buscas, relatórios de criadores e saldo) · Ferramenta MCP: get_creator_search
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
order | Na URL | string | relevance | followers | engagement |
Resposta
object: "creator_search"
id: string (uuid)
status: "searching" | "ready" | "failed"
failure_code: "sem_chave" | "desligado" | "fornecedor_indisponivel" | "sem_resultados" | "fila" | "tempo" | "erro_interno" | null
description: string
platforms: ["instagram" | "tiktok" | "youtube"]
created_at: string (date-time)
finished_at: string (date-time) | null
expires_at: string (date-time)
credits_spent: integer
results_shown: integer
exhausted: boolean
next: CreatorSearchNext | null
results: [CreatorSearchResult]kind: "list" | "extension"
credits: integercreator_id: string (uuid)
platform: "instagram" | "tiktok" | "youtube"
handle: string
display_name: string | null
profile_url: string
metrics: CreatorSearchMetrics | nullfollowers: integer | null
engagement_rate: number | null
niche: string | null
city: string | nullPOST/api/v1/creator-searchesFazer uma buscaGasta créditos
Descreva o perfil que você procura, em português, e a Busca com IA da Vega devolve os 20 criadores mais parecidos. Dá para filtrar por rede, faixa de seguidores, engajamento mínimo, idioma e cidade. Gasta créditos. A mesma busca pedida de novo pela mesma chave em até 2 minutos sai de graça, e repetir o mesmo Idempotency-Key nunca cobra duas vezes. Leva uns 30 segundos: a resposta é 202 enquanto busca, ou 200 se terminou dentro do wait.
Gasta 5 créditos.
Ligado para todas as empresas. Se a Vega desligar a busca e os relatórios para a sua, responde feature_unavailable (GET /me mostra em features.paid_data_actions).
Permissão
credits:spend (Gastar créditos) · Ferramenta MCP: search_creators
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
wait | Na URL | integer | 0 a 50 |
Cabeçalho obrigatório
Idempotency-Key: um UUID novo para cada ação. Repetir o mesmo valor devolve a mesma resposta e nunca cobra duas vezes.
Corpo (JSON)
| Nome | Tipo | Regra |
|---|---|---|
description · obrigatório | string | 3 a 500 caracteres |
platforms | ["instagram" | "tiktok" | "youtube"] | instagram | tiktok | youtube |
min_followers | integer | 0 ou mais |
max_followers | integer | 0 ou mais |
min_engagement_rate | number | 0 a 1 |
language | string | pt | en | es |
city | string | 2 a 120 caracteres |
Resposta
object: "creator_search"
id: string (uuid)
status: "searching" | "ready" | "failed"
failure_code: "sem_chave" | "desligado" | "fornecedor_indisponivel" | "sem_resultados" | "fila" | "tempo" | "erro_interno" | null
description: string
platforms: ["instagram" | "tiktok" | "youtube"]
created_at: string (date-time)
finished_at: string (date-time) | null
expires_at: string (date-time)
credits_spent: integer
results_shown: integer
exhausted: boolean
next: CreatorSearchNext | null
results: [CreatorSearchResult]
billing: Billingkind: "list" | "extension"
credits: integercreator_id: string (uuid)
platform: "instagram" | "tiktok" | "youtube"
handle: string
display_name: string | null
profile_url: string
metrics: CreatorSearchMetrics | nullcharged: boolean
credits: integer
balance_after: integerfollowers: integer | null
engagement_rate: number | null
niche: string | null
city: string | nullPOST/api/v1/creator-searches/{id}/moreVer mais resultadosGasta créditos
Mais 20 criadores de uma busca pronta. Gasta créditos. O campo next da busca diz se ainda dá para pedir mais e quanto custa; quando a Vega precisa buscar de novo, a resposta é 202 até terminar. Se um pedido de mais resultados já está rodando, a resposta é esse mesmo pedido, sem cobrar.
Gasta 2 créditos.
Ligado para todas as empresas. Se a Vega desligar a busca e os relatórios para a sua, responde feature_unavailable (GET /me mostra em features.paid_data_actions).
Permissão
credits:spend (Gastar créditos) · Ferramenta MCP: more_creator_search_results
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
wait | Na URL | integer | 0 a 50 |
Cabeçalho obrigatório
Idempotency-Key: um UUID novo para cada ação. Repetir o mesmo valor devolve a mesma resposta e nunca cobra duas vezes.
Corpo (JSON)
{}
Resposta
object: "creator_search"
id: string (uuid)
status: "searching" | "ready" | "failed"
failure_code: "sem_chave" | "desligado" | "fornecedor_indisponivel" | "sem_resultados" | "fila" | "tempo" | "erro_interno" | null
description: string
platforms: ["instagram" | "tiktok" | "youtube"]
created_at: string (date-time)
finished_at: string (date-time) | null
expires_at: string (date-time)
credits_spent: integer
results_shown: integer
exhausted: boolean
next: CreatorSearchNext | null
results: [CreatorSearchResult]
billing: Billingkind: "list" | "extension"
credits: integercreator_id: string (uuid)
platform: "instagram" | "tiktok" | "youtube"
handle: string
display_name: string | null
profile_url: string
metrics: CreatorSearchMetrics | nullcharged: boolean
credits: integer
balance_after: integerfollowers: integer | null
engagement_rate: number | null
niche: string | null
city: string | nullRelatório simplificado3 operações
GET/api/v1/creator-reportsListar relatórios de criadores
Os Relatórios simplificados dos últimos 90 dias, feitos na Vega ou pela API, com o documento completo quando estiver pronto. Filtre por rede, perfil ou situação. Não gasta créditos.
Ligado para todas as empresas. Se a Vega desligar a busca e os relatórios para a sua, responde feature_unavailable (GET /me mostra em features.paid_data_actions).
Permissão
prospecting:read (Buscas, relatórios de criadores e saldo) · Ferramenta MCP: list_creator_reports
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
cursor | Na URL | string | 1 a 512 caracteres |
limit | Na URL | integer | 1 a 100 · padrão 25 |
platform | Na URL | string | instagram | tiktok | youtube |
handle | Na URL | string | 1 a 101 caracteres |
status | Na URL | string | generating | ready | failed |
Resposta
Lista paginada de CreatorReport: os itens vêm em data, junto com has_more e next_cursor.
object: "creator_report"
id: string (uuid)
status: "generating" | "ready" | "failed"
failure_code: "perfil_nao_encontrado" | "perfil_renomeado" | "perfil_privado" | "fornecedor_indisponivel" | "limite_custo" | "sem_chave" | "desligado" | "fila" | "tempo" | "erro_interno" | null
platform: "instagram" | "tiktok" | "youtube"
handle: string
creator_id: string (uuid) | null
requested_at: string (date-time)
generated_at: string (date-time) | null
expires_at: string (date-time)
credits_spent: integer
report: CreatorReportDocument | nullschema_version: 1 | 2
platform: "instagram" | "tiktok" | "youtube"
generated_at: string (date-time)
window: {
posts_read: integer
from_date: string | null
to_date: string | null
}
identity: {
platform_user_id: string
handle: string
display_name: string | null
bio: string | null
verified: boolean
category: string | null
city: {
status: "medida" | "sem_evidencia" | "indisponivel"
name: string | null
uf: string | null
country: string | null
ibge_id: integer | null
basis: "bio" | "endereco" | "locais" | "legendas" | null
}
niche: {
status: "medido" | "indisponivel"
niche_ids: [string]
tags: [string]
}
}
performance: {
followers: integer | null
following: integer | null
posts: integer | null
avg_likes: number | null
avg_comments: number | null
avg_views: number | null
avg_shares: number | null
engagement_rate: number | null
engagement_rate_by_views: number | null
posts_per_week: number | null
reels_share: number | null
sample_size: integer
viral_dropped: integer
}
brands: {
status: "medido" | "indisponivel" | "nao_se_aplica"
sponsored_posts: integer
sponsored_performance: number | null
items: [{
handle: string
posts: integer
last_post_on: string
declared: boolean
}]
}
quality: {
status: "medido" | "dados_insuficientes" | "nao_se_aplica"
score: number | null
signals: {
engajamento_vs_pares: number | null
segue_poucos: number | null
comentarios_de_verdade: number | null
comentaristas_comuns: number | null
curtidas_por_view: number | null
} | null
comments_read: integer
}
audience: {
status: "amostra" | "amostra_insuficiente" | "no_relatorio_completo"
sample: {
size: integer
brazil_share: number | null
no_posts_share: number
no_followers_share: number
follows_many_share: number
influencer_share: number
} | null
}
history: CreatorReportHistory | nullstatus: "medido" | "acompanhando"
tracked_since: string | null
followers: [{
on: string
followers: integer
}]
growth: {
d30: number | null
d90: number | null
}
engagement: [{
month: string
posts: integer
avg_likes: number | null
avg_comments: number | null
avg_views: number | null
}]GET/api/v1/creator-reports/{id}Ver um relatório de criador
Um Relatório simplificado: quem é o perfil, como os posts dele performam, as marcas que ele já citou, a qualidade da audiência, no TikTok uma amostra de seguidores medida pela Vega e o histórico (as leituras de seguidores feitas pela Vega, o crescimento em 30 e 90 dias e o engajamento por mês). Fica disponível por 90 dias. Não gasta créditos.
Ligado para todas as empresas. Se a Vega desligar a busca e os relatórios para a sua, responde feature_unavailable (GET /me mostra em features.paid_data_actions).
Permissão
prospecting:read (Buscas, relatórios de criadores e saldo) · Ferramenta MCP: get_creator_report
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
Resposta
object: "creator_report"
id: string (uuid)
status: "generating" | "ready" | "failed"
failure_code: "perfil_nao_encontrado" | "perfil_renomeado" | "perfil_privado" | "fornecedor_indisponivel" | "limite_custo" | "sem_chave" | "desligado" | "fila" | "tempo" | "erro_interno" | null
platform: "instagram" | "tiktok" | "youtube"
handle: string
creator_id: string (uuid) | null
requested_at: string (date-time)
generated_at: string (date-time) | null
expires_at: string (date-time)
credits_spent: integer
report: CreatorReportDocument | nullschema_version: 1 | 2
platform: "instagram" | "tiktok" | "youtube"
generated_at: string (date-time)
window: {
posts_read: integer
from_date: string | null
to_date: string | null
}
identity: {
platform_user_id: string
handle: string
display_name: string | null
bio: string | null
verified: boolean
category: string | null
city: {
status: "medida" | "sem_evidencia" | "indisponivel"
name: string | null
uf: string | null
country: string | null
ibge_id: integer | null
basis: "bio" | "endereco" | "locais" | "legendas" | null
}
niche: {
status: "medido" | "indisponivel"
niche_ids: [string]
tags: [string]
}
}
performance: {
followers: integer | null
following: integer | null
posts: integer | null
avg_likes: number | null
avg_comments: number | null
avg_views: number | null
avg_shares: number | null
engagement_rate: number | null
engagement_rate_by_views: number | null
posts_per_week: number | null
reels_share: number | null
sample_size: integer
viral_dropped: integer
}
brands: {
status: "medido" | "indisponivel" | "nao_se_aplica"
sponsored_posts: integer
sponsored_performance: number | null
items: [{
handle: string
posts: integer
last_post_on: string
declared: boolean
}]
}
quality: {
status: "medido" | "dados_insuficientes" | "nao_se_aplica"
score: number | null
signals: {
engajamento_vs_pares: number | null
segue_poucos: number | null
comentarios_de_verdade: number | null
comentaristas_comuns: number | null
curtidas_por_view: number | null
} | null
comments_read: integer
}
audience: {
status: "amostra" | "amostra_insuficiente" | "no_relatorio_completo"
sample: {
size: integer
brazil_share: number | null
no_posts_share: number
no_followers_share: number
follows_many_share: number
influencer_share: number
} | null
}
history: CreatorReportHistory | nullstatus: "medido" | "acompanhando"
tracked_since: string | null
followers: [{
on: string
followers: integer
}]
growth: {
d30: number | null
d90: number | null
}
engagement: [{
month: string
posts: integer
avg_likes: number | null
avg_comments: number | null
avg_views: number | null
}]POST/api/v1/creator-reportsGerar um relatório de criadorGasta créditos
Gera o Relatório simplificado de um perfil do Instagram, do TikTok ou do YouTube: mande a rede e o perfil, ou o creator_id de um resultado de busca. Gasta créditos. Se já existe um relatório pronto desse perfil com menos de 90 dias, ou um sendo gerado, ele volta sem cobrar (refresh: true pede um novo e cobra de novo). Leva menos de um minuto: a resposta é 202 enquanto gera.
Gasta 3 créditos.
Ligado para todas as empresas. Se a Vega desligar a busca e os relatórios para a sua, responde feature_unavailable (GET /me mostra em features.paid_data_actions).
Permissão
credits:spend (Gastar créditos) · Ferramenta MCP: generate_creator_report
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
wait | Na URL | integer | 0 a 50 |
Cabeçalho obrigatório
Idempotency-Key: um UUID novo para cada ação. Repetir o mesmo valor devolve a mesma resposta e nunca cobra duas vezes.
Corpo (JSON)
| Nome | Tipo | Regra |
|---|---|---|
platform | string | instagram | tiktok | youtube |
handle | string | 1 a 101 caracteres |
creator_id | string (uuid) | - |
refresh | boolean | - |
Resposta
object: "creator_report"
id: string (uuid)
status: "generating" | "ready" | "failed"
failure_code: "perfil_nao_encontrado" | "perfil_renomeado" | "perfil_privado" | "fornecedor_indisponivel" | "limite_custo" | "sem_chave" | "desligado" | "fila" | "tempo" | "erro_interno" | null
platform: "instagram" | "tiktok" | "youtube"
handle: string
creator_id: string (uuid) | null
requested_at: string (date-time)
generated_at: string (date-time) | null
expires_at: string (date-time)
credits_spent: integer
report: CreatorReportDocument | null
billing: Billingschema_version: 1 | 2
platform: "instagram" | "tiktok" | "youtube"
generated_at: string (date-time)
window: {
posts_read: integer
from_date: string | null
to_date: string | null
}
identity: {
platform_user_id: string
handle: string
display_name: string | null
bio: string | null
verified: boolean
category: string | null
city: {
status: "medida" | "sem_evidencia" | "indisponivel"
name: string | null
uf: string | null
country: string | null
ibge_id: integer | null
basis: "bio" | "endereco" | "locais" | "legendas" | null
}
niche: {
status: "medido" | "indisponivel"
niche_ids: [string]
tags: [string]
}
}
performance: {
followers: integer | null
following: integer | null
posts: integer | null
avg_likes: number | null
avg_comments: number | null
avg_views: number | null
avg_shares: number | null
engagement_rate: number | null
engagement_rate_by_views: number | null
posts_per_week: number | null
reels_share: number | null
sample_size: integer
viral_dropped: integer
}
brands: {
status: "medido" | "indisponivel" | "nao_se_aplica"
sponsored_posts: integer
sponsored_performance: number | null
items: [{
handle: string
posts: integer
last_post_on: string
declared: boolean
}]
}
quality: {
status: "medido" | "dados_insuficientes" | "nao_se_aplica"
score: number | null
signals: {
engajamento_vs_pares: number | null
segue_poucos: number | null
comentarios_de_verdade: number | null
comentaristas_comuns: number | null
curtidas_por_view: number | null
} | null
comments_read: integer
}
audience: {
status: "amostra" | "amostra_insuficiente" | "no_relatorio_completo"
sample: {
size: integer
brazil_share: number | null
no_posts_share: number
no_followers_share: number
follows_many_share: number
influencer_share: number
} | null
}
history: CreatorReportHistory | nullcharged: boolean
credits: integer
balance_after: integerstatus: "medido" | "acompanhando"
tracked_since: string | null
followers: [{
on: string
followers: integer
}]
growth: {
d30: number | null
d90: number | null
}
engagement: [{
month: string
posts: integer
avg_likes: number | null
avg_comments: number | null
avg_views: number | null
}]Listas salvas2 operações
GET/api/v1/creator-listsListar listas salvas
As listas de criadores salvas em Prospecção (Listas salvas), sem os criadores. Não gasta créditos.
Ligado para todas as empresas. Se a Vega desligar a busca e os relatórios para a sua, responde feature_unavailable (GET /me mostra em features.paid_data_actions).
Permissão
prospecting:read (Buscas, relatórios de criadores e saldo) · Ferramenta MCP: list_creator_lists
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
cursor | Na URL | string | 1 a 512 caracteres |
limit | Na URL | integer | 1 a 100 · padrão 25 |
Resposta
Lista paginada de SavedCreatorList: os itens vêm em data, junto com has_more e next_cursor.
object: "creator_list"
id: string (uuid)
name: string
tags: [string]
creator_count: integer
created_at: string (date-time)
updated_at: string (date-time)
creators?: [{
creator_id: string (uuid)
platform: string | null
handle: string
name: string | null
added_at: string (date-time)
}]
truncated?: booleanGET/api/v1/creator-lists/{id}Ver uma lista salva
Uma lista salva com os criadores dela: rede, perfil e nome, nada mais. Não gasta créditos.
Ligado para todas as empresas. Se a Vega desligar a busca e os relatórios para a sua, responde feature_unavailable (GET /me mostra em features.paid_data_actions).
Permissão
prospecting:read (Buscas, relatórios de criadores e saldo) · Ferramenta MCP: get_creator_list
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
Resposta
object: "creator_list"
id: string (uuid)
name: string
tags: [string]
creator_count: integer
created_at: string (date-time)
updated_at: string (date-time)
creators?: [{
creator_id: string (uuid)
platform: string | null
handle: string
name: string | null
added_at: string (date-time)
}]
truncated?: booleanAprovação automática pelas diretrizes5 operações
GET/api/v1/campaigns/{id}/content-approvalVer a aprovação do conteúdo
Como o conteúdo da campanha é aprovado: Totalmente automática, Automática com aprovação manual ou Totalmente manual, o padrão da empresa, se a Vega leu as diretrizes, quantos créditos custa cada vídeo conferido e as regras. Precisa do Monitoramento no plano.
Permissão
campaigns:read (Campanhas) · Ferramenta MCP: get_content_approval
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
Resposta
object: "content_approval"
campaign_id: string (uuid)
mode: "fully_automatic" | "automatic_with_manual_approval" | "fully_manual"
company_default?: "fully_automatic" | "automatic_with_manual_approval" | "fully_manual"
fully_automatic_allowed: boolean
checks_videos: boolean
credits_per_video_checked: integer
guidelines: {
present: boolean
reading: "reading" | "ready" | "failed" | "no_text" | null
}
rules: [ContentRule]
max_rules: integerid: string
origin: "campaign" | "guidelines" | "company"
condition: "says" | "does_not_say" | "caption_contains" | "caption_does_not_contain" | "mentions" | "no_paid_partnership_label" | "past_deadline" | "live_less_than_days" | "video_shorter_than_seconds" | "on_creator_account" | "has_campaign_hashtag" | "agreed_format" | "within_campaign_period" | "posted_before_approval" | "link_broken_or_other_account" | "taken_down"
value: string | null
effect: "approve" | "attention" | "refuse"
enabled: booleanPUT/api/v1/campaigns/{id}/content-approvalEscolher a aprovação do conteúdoMuda dados
Escolhe como o conteúdo da campanha é aprovado, como no painel do app. As duas opções que conferem gastam créditos da empresa por vídeo conferido; fotos e textos não gastam. A pessoa responsável pela chave precisa poder editar as automações e, nessas duas opções, usar créditos.
Responde 200 quando dá certo.
Ligado para todas as empresas. Se a Vega desligar as ações nas campanhas para a sua, responde feature_unavailable (GET /me mostra em features.workflow_writes).
Permissão
content_approval:write (Aprovação do conteúdo) · Ferramenta MCP: set_content_approval_mode
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
Resposta
object: "content_approval"
campaign_id: string (uuid)
mode: "fully_automatic" | "automatic_with_manual_approval" | "fully_manual"
company_default?: "fully_automatic" | "automatic_with_manual_approval" | "fully_manual"
fully_automatic_allowed: boolean
checks_videos: boolean
credits_per_video_checked: integer
guidelines: {
present: boolean
reading: "reading" | "ready" | "failed" | "no_text" | null
}
rules: [ContentRule]
max_rules: integer
rule_id?: string
notices?: [WriteNotice]id: string
origin: "campaign" | "guidelines" | "company"
condition: "says" | "does_not_say" | "caption_contains" | "caption_does_not_contain" | "mentions" | "no_paid_partnership_label" | "past_deadline" | "live_less_than_days" | "video_shorter_than_seconds" | "on_creator_account" | "has_campaign_hashtag" | "agreed_format" | "within_campaign_period" | "posted_before_approval" | "link_broken_or_other_account" | "taken_down"
value: string | null
effect: "approve" | "attention" | "refuse"
enabled: booleancode: string
message: stringPOST/api/v1/campaigns/{id}/content-approval/rulesCriar uma regraMuda dados
Cria uma regra da empresa, como "Nova condição" no app: uma condição da lista fechada, o valor e o que a Vega faz. No máximo 20 regras por campanha.
Responde 201 quando dá certo.
Ligado para todas as empresas. Se a Vega desligar as ações nas campanhas para a sua, responde feature_unavailable (GET /me mostra em features.workflow_writes).
Permissão
content_approval:write (Aprovação do conteúdo) · Ferramenta MCP: add_content_approval_rule
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
Cabeçalho obrigatório
Idempotency-Key: um UUID novo para cada mudança. Repetir o mesmo valor devolve o mesmo resultado e não muda nada duas vezes; o mesmo valor com outro pedido responde 409.
Corpo (JSON)
| Nome | Tipo | Regra |
|---|---|---|
condition · obrigatório | string | says | does_not_say | caption_contains | caption_does_not_contain | mentions | no_paid_partnership_label | past_deadline | live_less_than_days | video_shorter_than_seconds |
value | string | null | - |
effect · obrigatório | string | approve | attention | refuse |
Resposta
object: "content_approval"
campaign_id: string (uuid)
mode: "fully_automatic" | "automatic_with_manual_approval" | "fully_manual"
company_default?: "fully_automatic" | "automatic_with_manual_approval" | "fully_manual"
fully_automatic_allowed: boolean
checks_videos: boolean
credits_per_video_checked: integer
guidelines: {
present: boolean
reading: "reading" | "ready" | "failed" | "no_text" | null
}
rules: [ContentRule]
max_rules: integer
rule_id?: string
notices?: [WriteNotice]id: string
origin: "campaign" | "guidelines" | "company"
condition: "says" | "does_not_say" | "caption_contains" | "caption_does_not_contain" | "mentions" | "no_paid_partnership_label" | "past_deadline" | "live_less_than_days" | "video_shorter_than_seconds" | "on_creator_account" | "has_campaign_hashtag" | "agreed_format" | "within_campaign_period" | "posted_before_approval" | "link_broken_or_other_account" | "taken_down"
value: string | null
effect: "approve" | "attention" | "refuse"
enabled: booleancode: string
message: stringPATCH/api/v1/campaigns/{id}/content-approval/rules/{ruleId}Mudar uma regraMuda dados
Liga ou desliga uma regra, muda o que ela faz ou reescreve uma regra das diretrizes ou da empresa. Uma regra da campanha só liga, desliga e muda o efeito.
Responde 200 quando dá certo.
Ligado para todas as empresas. Se a Vega desligar as ações nas campanhas para a sua, responde feature_unavailable (GET /me mostra em features.workflow_writes).
Permissão
content_approval:write (Aprovação do conteúdo) · Ferramenta MCP: update_content_approval_rule
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
ruleId · obrigatório | No caminho | string | - |
Resposta
object: "content_approval"
campaign_id: string (uuid)
mode: "fully_automatic" | "automatic_with_manual_approval" | "fully_manual"
company_default?: "fully_automatic" | "automatic_with_manual_approval" | "fully_manual"
fully_automatic_allowed: boolean
checks_videos: boolean
credits_per_video_checked: integer
guidelines: {
present: boolean
reading: "reading" | "ready" | "failed" | "no_text" | null
}
rules: [ContentRule]
max_rules: integer
rule_id?: string
notices?: [WriteNotice]id: string
origin: "campaign" | "guidelines" | "company"
condition: "says" | "does_not_say" | "caption_contains" | "caption_does_not_contain" | "mentions" | "no_paid_partnership_label" | "past_deadline" | "live_less_than_days" | "video_shorter_than_seconds" | "on_creator_account" | "has_campaign_hashtag" | "agreed_format" | "within_campaign_period" | "posted_before_approval" | "link_broken_or_other_account" | "taken_down"
value: string | null
effect: "approve" | "attention" | "refuse"
enabled: booleancode: string
message: stringDELETE/api/v1/campaigns/{id}/content-approval/rules/{ruleId}Remover uma regraMuda dados
Remove uma regra das diretrizes ou da empresa. Uma regra da campanha não se remove: desligue-a.
Responde 200 quando dá certo.
Ligado para todas as empresas. Se a Vega desligar as ações nas campanhas para a sua, responde feature_unavailable (GET /me mostra em features.workflow_writes).
Permissão
content_approval:write (Aprovação do conteúdo) · Ferramenta MCP: remove_content_approval_rule
Parâmetros
| Nome | Onde | Tipo | Regra |
|---|---|---|---|
id · obrigatório | No caminho | string (uuid) | - |
ruleId · obrigatório | No caminho | string | - |
Resposta
object: "content_approval"
campaign_id: string (uuid)
mode: "fully_automatic" | "automatic_with_manual_approval" | "fully_manual"
company_default?: "fully_automatic" | "automatic_with_manual_approval" | "fully_manual"
fully_automatic_allowed: boolean
checks_videos: boolean
credits_per_video_checked: integer
guidelines: {
present: boolean
reading: "reading" | "ready" | "failed" | "no_text" | null
}
rules: [ContentRule]
max_rules: integer
rule_id?: string
notices?: [WriteNotice]id: string
origin: "campaign" | "guidelines" | "company"
condition: "says" | "does_not_say" | "caption_contains" | "caption_does_not_contain" | "mentions" | "no_paid_partnership_label" | "past_deadline" | "live_less_than_days" | "video_shorter_than_seconds" | "on_creator_account" | "has_campaign_hashtag" | "agreed_format" | "within_campaign_period" | "posted_before_approval" | "link_broken_or_other_account" | "taken_down"
value: string | null
effect: "approve" | "attention" | "refuse"
enabled: booleancode: string
message: string