agency-board

POST /v1/agency/boards/{boardId}/event-subscriptions

Turn a platform event on for this board.

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}/event-subscriptions \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "event_type": <string>, "column_id": <Uuid> }'

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

Opt-in, per board, off by default — nothing appears on a board nobody chose. One subscription per event type per board; posting the same event type again updates it. Cards land `internal` unless you say otherwise: a platform event names our own infrastructure and sometimes our own failures, and putting one in front of the agency's client should be a choice rather than a default.

Parameters

NaamTypeVerplichtWat dit is
boardId (path)UuidJaProject board ID (UUIDv7).

Aanvraaglichaam

NaamTypeVerplichtWat dit is
event_typestringJa
column_idUuidJaUUIDv7 identifier — sortable by creation time (docs/02 §8).
label_idUuidNeeUUIDv7 identifier — sortable by creation time (docs/02 §8).
card_visibilitystring<internal, client>Nee
enabledbooleanNee

Reactie

NaamTypeVerplichtWat dit is
idUuidJaUUIDv7 identifier — sortable by creation time (docs/02 §8).
board_idUuidJaUUIDv7 identifier — sortable by creation time (docs/02 §8).
event_typestringJa
column_idUuidJaUUIDv7 identifier — sortable by creation time (docs/02 §8).
label_idUuidNeeUUIDv7 identifier — sortable by creation time (docs/02 §8).
card_visibilitystring<internal, client>Nee
enabledbooleanJa
card_countintegerNee
last_card_atstringNee
created_atstringNee

Fouten die dit eindpunt kan retourneren

401 · 403 · 404 · 422