agency-board
POST /v1/board-hooks/{endpointKey}
The public inbound door — n8n, Zapier, Make, GitHub.
Hitelesítés
Ez a végpont nyilvános. Nem igényel hitelesítő adatot és szervezetet sem – ezt olvassa a saját marketingoldalunk és az MI-válaszadó motorunk is.
Ez a végpont nem fogad el szervezeti azonosítót. Az Ön kulcsa már azonosítja azt a szervezetet, amelyhez tartozik, és a válasz is erre vonatkozik.
Próbálja ki
Cserélje ki a hegyes zárójelek közötti részt a saját értékeivel, a kulcshelyőrzőt pedig a vezérlőpultján található kulccsal.
curl -X POST https://api.zinndigital.com/v1/board-hooks/{endpointKey} \
-H "Content-Type: application/json" \
-d '{ }'Be van jelentkezve? A vezérlőpultban lévő API-konzol kitölti a valós szervezetazonosítóját és a saját kulcsát, és a kérést az éles API-n futtatja, hogy láthassa a tényleges választ. Nyissa meg ezt a végpontot az API konzolban
Részletek
Unauthenticated by design: the HMAC signature IS the authentication, exactly as /v1/webhooks/stripe is. Send X-Zinn-Signature: sha256=<hmac-sha256 over "<timestamp>.<raw body>"> and X-Zinn-Timestamp (unix seconds, within five minutes of now), signed with the endpoint's secret. The body must be a JSON object. Five top-level values — event, status, title, body, ref — are projected into the rule's condition surface as payload_*, so a rule can branch on them. Anything else in the body is stored in the request log and is not conditionable. ⛔ An unknown endpoint key and a bad signature both answer 404 with the same body, deliberately: distinguishing them would turn this into an oracle for whether a key exists. The endpoint's OWNER sees the real reason on their own screen.
Paraméterek
| Név | Típus | Kötelező | Mi ez |
|---|---|---|---|
endpointKey (path) | string | Igen | The endpoint's opaque key — 32 hex characters. Deliberately not the board id: a board id in a URL customers paste into third-party systems leaks an internal identifier into… |
Kérés törzse
| Név | Típus | Kötelező | Mi ez |
|---|---|---|---|
event | string | Nem | — |
status | string | Nem | — |
title | string | Nem | — |
body | string | Nem | — |
ref | string | Nem | — |
Válasz
| Név | Típus | Kötelező | Mi ez |
|---|---|---|---|
accepted | boolean | Igen | — |
rules_fired | integer | Nem | — |
detail | string | Nem | — |
Hibák, amelyeket ez a végpont visszaadhattatlan
404 · 409 · 413 · 429