agency-board

POST /v1/agency/boards/{boardId}/webhooks

Add an outbound webhook.

Gbogbo àwọn agency-board endpoints

Ìfàṣẹ́pọ̀

Fi bọ́kì kọ́kọ́ (bearer token) ránṣẹ́ gẹ́gẹ́ bí àmì ìdánimọ̀ API. Ibùdó yìí kò sọ àṣẹ pàtó kan nínú àlàyé rẹ̀, nítorí náà fún kọ́kọ́ rẹ̀ ní ohun tó kéré jù lọ tí ó nílò kí o sì ṣàyẹ̀wò ìdáhùn náà dípò kí o kàn rò ó.

Ojú abánisọ̀rọ̀ yìí kò gba id ajọ kankan. Kọ́kọ́rọ́ rẹ ti mọ ajọ ti o jẹ ti e, a o si fèsì nipa rẹ̀.

Gbiyanju rẹ

Rọ́pọ̀ èyíkéyìí nínú àwọn àmì ìtọ́ka < > pẹ̀lú iye tirẹ̀, àti àmì ìdánimọ̀ bọ́tìnnì náà pẹ̀lú bọ́tìnnì kan láti inú dásibọ̀ọ̀dù rẹ.

curl -X POST https://api.zinndigital.com/v1/agency/boards/{boardId}/webhooks \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "name": <string>, "url": <string> }'

Ṣé o ti wọlé? Iwọ̀n api ní nú ìgbékalẹ̀ rẹ kún id àjọ gidi rẹ ati bọtini tirẹ, o si nṣiṣẹ ibeere na lòdì si api gidi ki o le rii esi gidi na. Ṣí ojú abáná yìí sílẹ̀ nínú kọnsólù API

Àwọn kúlẹ̀kúlẹ̀

HTTPS only. We mint the signing secret and return it **once, in this response**. There is no endpoint that can read it back, so keep it — rotate to get a new one. Deliveries are signed `X-Zinn-Signature: sha256=<hmac over "<timestamp>.<body>">` with `X-Zinn-Timestamp`, `X-Zinn-Delivery` and `X-Zinn-Event` beside them. The timestamp is bound INTO the signature so a captured request cannot be replayed for ever, and so a receiver cannot be tricked about which timestamp it was.

Àwọn ìpìlẹ̀

OrúkọIruTí a nílòKini o jẹ
boardId (path)UuidBẹẹniProject board ID (UUIDv7).

Akoonu ibeere naa

OrúkọIruTí a nílòKini o jẹ
namestringBẹẹni
urlstringBẹẹniHTTPS only. Private and link-local addresses are refused when the socket opens, not when you save.
eventsstring[]BẹẹkọEmpty means every event this board emits.
statusstring<enabled, disabled>Bẹẹkọ

Idahun

OrúkọIruTí a nílòKini o jẹ
idUuidBẹẹniUUIDv7 identifier — sortable by creation time (docs/02 §8).
board_idUuidBẹẹniUUIDv7 identifier — sortable by creation time (docs/02 §8).
namestringBẹẹni
urlstringBẹẹni
eventsstring[]Bẹẹkọ
statusBoardAutomationStatusBẹẹni`suspended` means WE paused it after repeated failure and it carries a reason the customer has not read. It is a third state rather than a reuse of `disabled`, because collapsin…
has_secretbooleanBẹẹniWhether a signing secret is stored. The secret itself is in Vault and is returned only by create and rotate; no endpoint can read it back.
consecutive_failuresintegerBẹẹkọ
suspended_reasonstringBẹẹkọWhy we paused this webhook, in authored copy from a closed table — never an exception from our own code. It distinguishes your endpoint refusing a delivery, your endpoint being…
suspended_atstringBẹẹkọ
last_delivered_atstringBẹẹkọ
last_failed_atstringBẹẹkọ
created_atstringBẹẹkọ
secretstringBẹẹniShown ONCE, here. Store it now; rotate to get a new one.

Awọn aṣiṣe ti ibudo ipari yii le da pada

401 · 403 · 404 · 422