marketplace

POST /v1/marketplace/orders/{sale_id}/messages/preview

Assess a draft before it is sent — the inline nudge.

Todos os endpoints de marketplace

Autenticação

Envie uma chave de API como um token bearer. Este endpoint não especifica uma permissão específica na documentação, portanto, conceda à sua chave o mínimo necessário e verifique a resposta em vez de assumir.

Este endpoint não requer um ID de organização. Sua chave já identifica a organização à qual pertence, e a resposta é delimitada a ela.

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/marketplace/orders/{sale_id}/messages/preview \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "body": <string> }'

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

docs/133 D26, the top rung of the ladder and the one that does most of the work: most circumvention is naive, and telling someone once, before they send, that the platform holds the money and the guarantee stops most of it. Writes nothing and counts nothing, so it is safe to call on blur. Storing a policy event for a draft somebody then edits would also poison the false-positive rate with messages that were never sent. `nudge` is a message KEY, not a sentence — it is rendered in every locale by the client.

Parâmetros

NomeTipoObrigatórioO que é
sale_id (path)stringSim

Corpo da requisição

NomeTipoObrigatórioO que é
bodystringSim
localestringNão
attachmentsobject[]NãoRefused entirely on a pre-sales thread: an attachment bypasses text scanning and we have no OCR, so on the one surface where nobody has paid there are no files.

Resposta

NomeTipoObrigatórioO que é
actionstring<allow, nudge, flag, mask, hold>SimThe rung the ladder chose. There is no rung that refuses to send — the hardest action is holding for review, and at high confidence the action is on the ACCOUNT rather than on t…
confidenceintegerSim
kindsstring[]NãoWhat was detected, which is what makes the false-positive rate actionable.
nudgestringNãoA message KEY for the inline warning, or empty. Never a sentence.

Erros que este endpoint pode retornar

401 · 404