agency-board
POST /v1/board-hooks/{endpointKey}
The public inbound door — n8n, Zapier, Make, GitHub.
Аутентификација
Ова крајња тачка је јавна. Не захтева никакве акредитиве нити организацију — то је оно што читају наш сопствени маркетиншки сајт и машине за одговоре са вештачком интелигенцијом.
Ова крајња тачка не прихвата id организације. Ваш кључ већ идентификује организацију којој припада, а одговор је ограничен на њу.
Испробајте
Замените све што је у угластим заградама сопственим вредностима, а чувар места кључа кључем са своје контролне табле.
curl -X POST https://api.zinndigital.com/v1/board-hooks/{endpointKey} \
-H "Content-Type: application/json" \
-d '{ }'Пријављени сте? API конзола на вашој контролној табли попуњава ваш прави id организације и ваш сопствени кључ, и покреће захтев према живом API-ју како бисте могли да видите стварни одговор. Отворите ову крајњу тачку у API конзоли
Детаљи
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.
Параметри
| Назив | Тип | Обавезно | Шта је ово |
|---|---|---|---|
endpointKey (path) | string | Да | 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… |
Тело захтева
| Назив | Тип | Обавезно | Шта је ово |
|---|---|---|---|
event | string | Не | — |
status | string | Не | — |
title | string | Не | — |
body | string | Не | — |
ref | string | Не | — |
Одговор
| Назив | Тип | Обавезно | Шта је ово |
|---|---|---|---|
accepted | boolean | Да | — |
rules_fired | integer | Не | — |
detail | string | Не | — |
Грешке које ова крајња тачка може вратити
404 · 409 · 413 · 429