marketplace

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

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

Tous les points de terminaison marketplace

Authentification

Envoyez une clé d'API en tant que jeton du porteur (bearer token). Cet endpoint n'indique pas de permission spécifique dans la spécification, attribuez donc à votre clé le minimum requis et vérifiez la réponse plutôt que de faire des suppositions.

Cet endpoint ne prend aucun identifiant d'organisation. Votre clé identifie déjà l'organisation à laquelle elle appartient, et la réponse y est limitée.

Essayer

Remplacez tout ce qui se trouve entre crochets par vos propres valeurs, et le espace réservé à la clé par une clé de votre tableau de bord.

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

Connecté ? La console d'API de votre tableau de bord saisit votre véritable ID d'organisation ainsi que votre propre clé, et exécute la requête sur l'API de production afin que vous puissiez voir la réponse réelle. Ouvrir ce point de terminaison dans la console API

Détails

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.

Paramètres

NomTypeObligatoireQu'est-ce que c'est
sale_id (path)stringOui

Corps de la requête

NomTypeObligatoireQu'est-ce que c'est
bodystringOui
localestringNon
attachmentsobject[]NonRefused 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.

Réponse

NomTypeObligatoireQu'est-ce que c'est
actionstring<allow, nudge, flag, mask, hold>OuiThe 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…
confidenceintegerOui
kindsstring[]NonWhat was detected, which is what makes the false-positive rate actionable.
nudgestringNonA message KEY for the inline warning, or empty. Never a sentence.

Erreurs que cet point de terminaison peut renvoyer

401 · 404