support
POST /v1/tickets/deflect
Knowledge-base articles and a live diagnosis, before a ticket is opened.
Autenticação
Envie uma chave de API como um token de portador. A chave deve ter a permissão tickets.reply; uma chave sem ela é recusada com 403, e não 404.
Onde vai o ID da sua organização
Este endpoint aceita org_id como um campo no corpo JSON.
O ID da sua organização está na tela de chaves de API no seu painel, ao lado da própria chave. É o mesmo ID em todas as chamadas que você fizer.
Experimente
Substitua qualquer item entre colchetes por seus próprios valores e o espaço reservado para a chave por uma chave do seu painel.
curl -X POST https://api.zinndigital.com/v1/tickets/deflect \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ }'Conectado? O console da API no seu painel preenche o ID da sua organização real e a sua própria chave, e executa a requisição contra a API de produção para que você possa ver a resposta real. Abra este endpoint no console da API
Detalhes
The KB + AI in front of the ticket form (#2661). Given what the customer has typed so far, returns matching published KB articles and — when a site is named — findings from live checks against it, including whether its nameservers still point at us. ⛔ This never refuses to open a ticket and must never be made to. Everything it returns is offered; the form's submit button is unaffected. Requires `tickets.reply`. ⛔ `checks_incomplete` is `true` when a check could not run. "We found nothing wrong" and "we could not look" are different answers and the client must render them differently.
Corpo da requisição
| Nome | Tipo | Obrigatório | O que é |
|---|---|---|---|
subject | string | Não | — |
body | string | Não | — |
site_id | object | Não | The site they are asking about. When given, live checks run against it — including whether its nameservers still point at us. |
org_id | object | Não | — |
Resposta
| Nome | Tipo | Obrigatório | O que é |
|---|---|---|---|
articles | object[] | Sim | — |
findings | TicketDeflectionFinding[] | Sim | — |
applied | string[] | Sim | Remedies applied automatically. ⛔ Only remedies on an explicit, audited allow-list are ever applied without a human. |
checks_incomplete | boolean | Sim | ⛔ True when a live check could not run. "We found nothing wrong" and "we could not look" are different answers and must render differently. |
incidents | TicketDeflectionIncident[] | Sim | Open public incidents affecting this customer. ⛔ NOTHING HERE BLOCKS THE FORM — owner ruling 2026-08-24 was *warn prominently, still let them submit*. A customer with a genuinel… |
status_url | string | Sim | The public status page in the reader's language, for the "follow this to resolution" link. ⛔ A separate origin with no shared fate with the platform (docs/121 §1), so it cannot… |
Erros que este endpoint pode retornar
401 · 403 · 422 · 429