agency-board

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

Mint a new signing secret.

Alle agency-board-eindpunten

Authenticatie

Stuur een API-sleutel mee als bearer token. Dit eindpunt vermeldt geen specifieke toestemming in de specificatie, dus geef uw sleutel de minimale rechten die nodig zijn en controleer het antwoord in plaats van zomaar wat aan te nemen.

Dit eindpunt vereist geen organisatie-id. Uw sleutel identificeert al de organisatie waartoe deze behoort, en het antwoord is hierop afgestemd.

Probeer het

Vervang alles tussen punthaakjes door uw eigen waarden en de sleutelplaatsvervanger door een sleutel uit uw dashboard.

curl -X POST https://api.zinndigital.com/v1/agency/boards/{boardId}/webhooks/{webhookId}/rotate \
  -H "Authorization: Bearer zdk_live_…"

Ingelogd? De API-console in je dashboard vult je echte organisatie-id en je eigen sleutel in, en voert het verzoek uit tegen de live API zodat je de daadwerkelijke respons kunt zien. Open dit eindpunt in de API-console

Details

The URL does not change; only the secret does. Deliveries signed with the old secret stop verifying immediately, so update the receiver in the same sitting.

Parameters

NaamTypeVerplichtWat dit is
boardId (path)UuidJaProject board ID (UUIDv7).
webhookId (path)UuidJaOutbound webhook subscription ID (UUIDv7).

Reactie

NaamTypeVerplichtWat dit is
idUuidJaUUIDv7 identifier — sortable by creation time (docs/02 §8).
board_idUuidJaUUIDv7 identifier — sortable by creation time (docs/02 §8).
namestringJa
urlstringJa
eventsstring[]Nee
statusBoardAutomationStatusJa`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_secretbooleanJaWhether 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_failuresintegerNee
suspended_reasonstringNeeWhy 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_atstringNee
last_delivered_atstringNee
last_failed_atstringNee
created_atstringNee
secretstringJaShown ONCE, here. Store it now; rotate to get a new one.

Fouten die dit eindpunt kan retourneren

401 · 403 · 404 · 422