marketplace

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

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

Tutti gli endpoint marketplace

Autenticazione

Invia una chiave API come bearer token. Questo endpoint non specifica un permesso specifico nella specifica, quindi assegna alla tua chiave i permessi minimi necessari e verifica la risposta invece di fare supposizioni.

Questo endpoint non richiede alcun ID organizzazione. La tua chiave identifica già l'organizzazione a cui appartiene e la risposta è limitata ad essa.

Provalo

Sostituisci qualsiasi elemento tra parentesi angolari con i tuoi valori e il segnaposto key con una chiave dalla tua dashboard.

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> }'

Hai effettuato l'accesso? La console API nella tua dashboard inserisce il tuo ID organizzazione reale e la tua chiave personale, ed esegue la richiesta sull'API live in modo da poter vedere la risposta effettiva. Apri questo endpoint nella console API

Dettagli

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.

Parametri

NomeTipoObbligatorioChe cos'è
sale_id (path)string

Corpo della richiesta

NomeTipoObbligatorioChe cos'è
bodystring
localestringNo
attachmentsobject[]NoRefused 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.

Risposta

NomeTipoObbligatorioChe cos'è
actionstring<allow, nudge, flag, mask, hold>The 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…
confidenceinteger
kindsstring[]NoWhat was detected, which is what makes the false-positive rate actionable.
nudgestringNoA message KEY for the inline warning, or empty. Never a sentence.

Errori che questo endpoint può restituire

401 · 404