agency-board

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

Mint a copy-paste link to this board.

Toate punctele finale agency-board

Autentificare

Trimiteți o cheie API ca token de tip bearer. Acest punct final nu specifică o permisiune anume în specificație, așa că acordați cheii cele mai puține drepturi necesare și verificați răspunsul în loc să faceți presupuneri.

Acest endpoint nu necesită un ID de organizație. Cheia ta identifică deja organizația căreia îi aparține, iar răspunsul este limitat la aceasta.

Încearcă

Înlocuiți tot ce se află între paranteze unghiulare cu propriile valori și substituentul cheie cu o cheie din tabloul de bord.

curl -X POST https://api.zinndigital.com/v1/agency/boards/{boardId}/invites \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{  }'

Autentificat? Consola API din panoul de control îți completează ID-ul real al organizației și propria cheie și rulează cererea în API-ul live, astfel încât să poți vedea răspunsul efectiv. Deschideți acest punct final în consola API

Detalii

Returns a link you can paste into anything — a chat, an email you write yourself, a document. **No email is sent by us**, which is the point. A `viewer` link is read-only and needs **no Zinn® account**: whoever opens it sees exactly what the client sees, and can write nothing. Any other role seats the person on the board and therefore requires them to sign in first. ⛔ `token` appears in **this response only**. It cannot be read back later. ⛔ For a seat-bearing role this refuses unless the caller could grant that seat's organisation role themselves. The check has to happen here rather than at redemption, because by then the person redeeming is a stranger and there is no principal whose privileges could bound the grant.

Parametri

NumeTipObligatoriuCe este
boardId (path)UuidDaProject board ID (UUIDv7).

Corp cerere

NumeTipObligatoriuCe este
roleAgencyBoardInviteRoleNu
labelstringNu
expires_in_daysintegerNu
max_usesintegerNuOmit for an unlimited link.

Răspuns

NumeTipObligatoriuCe este
idUuidDaUUIDv7 identifier — sortable by creation time (docs/02 §8).
board_idUuidDaUUIDv7 identifier — sortable by creation time (docs/02 §8).
roleAgencyBoardInviteRoleDaWhat a share link grants. `viewer` is **link-only**: it creates no board seat and no organisation membership, because it grants no identity — it is read-through-the-token, which…
tokenstringNuThe full link token. ⛔ **Present on the create response and NOWHERE ELSE.** Only its SHA-256 digest is stored, so nothing can re-derive it — a screen that needs it must keep it…
token_prefixstringDaThe first few characters, so a manager with three links open can tell them apart. Far too short to shorten the search space of the secret part.
labelstringNuA note the manager typed. Never shown to the recipient.
member_org_idstringNuThe organisation a seat from this link belongs to. `null` for `viewer`, which seats nobody.
expires_atstringDaWhen the link stops admitting **new** people. ⛔ Expiry does not evict anybody who already joined — a colleague who joined in March must not lose the board in April because the s…
max_usesintegerNu`null` is unlimited. `1` makes the link single-use.
usesintegerDaSeats created through this link. A repeat visit by somebody already on the board does **not** count, so a client who bookmarks the link cannot exhaust it.
revoked_atstringNu
last_used_atstringNu
created_atstringDa
is_livebooleanDaWhether the link may admit somebody new right now — not revoked, not expired, not exhausted. Computed, so a caller never has to re-implement all three conditions.

Erori pe care le poate returna acest punct final

401 · 403 · 404 · 422