agency-board

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

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

Tất cả các điểm cuối agency-board

Xác thực

Gửi khóa API dưới dạng mã thông báo bearer. Điểm cuối này không nêu rõ quyền cụ thể trong thông số kỹ thuật, vì vậy hãy cấp cho khóa của bạn quyền tối thiểu cần thiết và kiểm tra phản hồi thay vì phỏng đoán.

Endpoint này không nhận ID tổ chức. Khóa của bạn đã xác định tổ chức mà nó thuộc về và phản hồi được giới hạn trong phạm vi đó.

Dùng thử

Thay thế bất kỳ nội dung nào trong ngoعل (angle brackets) bằng giá trị của riêng bạn và trình giữ chỗ key bằng một key từ trang tổng quan của bạn.

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>> }'

Đã đăng nhập? Bảng điều khiển API trong trang quản lý của bạn sẽ tự điền ID tổ chức thực tế và khóa của riêng bạn, sau đó chạy yêu cầu đối với API trực tiếp để bạn có thể xem phản hồi thực tế. Mở điểm cuối này trong bảng điều khiển API

Chi tiết

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.

Tham số

TênLoạiBắt buộcNội dung này là gì
boardId (path)UuidProject board ID (UUIDv7).

Nội dung yêu cầu

TênLoạiBắt buộcNội dung này là gì
user_idstringKhôngSomebody who already has an account. Give this **or** `email`, not both.
emailstringKhôngInvite somebody who does not have an account yet.
rolestring<manager, member, client>
member_org_idstringKhôngWhich organisation this seat belongs to. Ignored for a `client` seat, which is always the board's own client organisation.

Phản hồi

TênLoạiBắt buộcNội dung này là gì
idUuidUUIDv7 identifier — sortable by creation time (docs/02 §8).
board_idUuidUUIDv7 identifier — sortable by creation time (docs/02 §8).
user_idUuidUUIDv7 identifier — sortable by creation time (docs/02 §8).
member_org_idUuidThe organisation this seat belongs to — the agency's, or the client's.
rolestring<manager, member, client>
last_read_atstringKhông
created_atstringKhông
userAgencyBoardActorKhôngWho 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_byAgencyBoardActorKhông

Các lỗi điểm cuối này có thể trả về

401 · 403 · 404 · 422