marketplace

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

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

Semua titik akhir marketplace

Autentikasi

Kirimkan kunci API sebagai token bearer. Titik akhir ini tidak menyatakan izin tertentu dalam spesifikasi, jadi berikan kunci Anda izin minimum yang diperlukan dan periksa responsnya alih-alih berasumsi.

Endpoint ini tidak memerlukan id organisasi. Kunci Anda telah mengidentifikasi organisasi tempatnya berafiliasi, dan respons akan dibatasi untuk organisasi tersebut.

Coba

Ganti apa pun di dalam tanda kurung sudut dengan nilai Anda sendiri, dan placeholder kunci dengan kunci dari dasbor Anda.

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

Sudah masuk? Konsol API di dasbor Anda akan mengisi ID organisasi asli dan kunci Anda sendiri, serta menjalankan permintaan terhadap API langsung sehingga Anda dapat melihat respons aktualnya. Buka titik akhir ini di konsol API

Detail

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.

Parameter

NamaJenisWajibTentang apa ini
sale_id (path)stringYa

Isi permintaan

NamaJenisWajibTentang apa ini
bodystringYa
localestringTidak
attachmentsobject[]TidakRefused 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.

Tanggapan

NamaJenisWajibTentang apa ini
actionstring<allow, nudge, flag, mask, hold>YaThe 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…
confidenceintegerYa
kindsstring[]TidakWhat was detected, which is what makes the false-positive rate actionable.
nudgestringTidakA message KEY for the inline warning, or empty. Never a sentence.

Kesalahan yang dapat dikembalikan oleh titik akhir ini

401 · 404