agency-board

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

Put somebody on a board, or invite them by email.

Sve agency-board krajnje tačke

Autentifikacija

Pošaljite API ključ kao bearer token. Ova krajnja tačka ne navodi specifičnu dozvolu u specifikaciji, zato dodelite svom ključu minimum potrebnih ovlašćenja i proverite odgovor umesto da pretpostavljate.

Ovaj krajnji tačka ne prihvata ID organizacije. Vaš ključ već identifikuje organizaciju kojoj pripada, a odgovor je ograničen na nju.

Isprobajte

Zamenite bilo šta u uglastim zagradama sopstvenim vrednostima, a ključni placeholder sa ključem sa vaše kontrolne table.

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

Prijavljeni ste? API konzola na vašoj kontrolnoj tabli automatski popunjava ID vaše stvarne organizacije i vaš sopstveni ključ, i izvršava zahtev nad API-jem uživo tako da možete videti stvarni odgovor. Otvorite ovu krajnju tačku u API konzoli

Detalji

Give `user_id` for somebody who already has an account, or `email` to invite somebody who does not — the invitation goes through `tenancy.Invitation` and the person joins on acceptance, authenticated by Keycloak with no secret token in the flow. ⛔ A `client` seat may only be given to a member of the board's own client organisation, and **no seat is written for a pending invite**: a client's authorisation is a live membership of that organisation, re-read on every request, so a seat created before acceptance would look like access and confer none.

Parametri

NazivVrstaObaveznoŠta je ovo
boardId (path)UuidDaProject board ID (UUIDv7).

Telo zahteva

NazivVrstaObaveznoŠta je ovo
user_idstringNeSomebody who already has an account. Give this **or** `email`, not both.
emailstringNeInvite somebody who does not have an account yet.
rolestring<manager, member, client>Da
member_org_idstringNeWhich organisation this seat belongs to. Ignored for a `client` seat, which is always the board's own client organisation.

Odgovor

NazivVrstaObaveznoŠta je ovo
idUuidDaUUIDv7 identifier — sortable by creation time (docs/02 §8).
board_idUuidDaUUIDv7 identifier — sortable by creation time (docs/02 §8).
user_idUuidDaUUIDv7 identifier — sortable by creation time (docs/02 §8).
member_org_idUuidDaThe organisation this seat belongs to — the agency's, or the client's.
rolestring<manager, member, client>Da
last_read_atstringNe
created_atstringNe
userAgencyBoardActorNeWho holds this seat, by name. ⛔ Render THIS, never `user_id` — the People drawer printed the id at a colleague's name until 2026-09-01 (`docs/425`).
invited_byAgencyBoardActorNe

Greške koje ovaj krajnji tačka može da vrati

401 · 403 · 404 · 422