Share a whiteboard to new users or team chat channels.

POST {{baseUrl}}/whiteboards/:whiteboardId/collaborator

Use this API to add collaborators to a whiteboard.

Scopes: whiteboard_collaborator:write:admin

Rate Limit Label : MEDIUM

Request Body

{"collaborators"=>[{"email"=>"<string>", "channel_id"=>"<string>", "role"=>0}, {"email"=>"<string>", "channel_id"=>"<string>", "role"=>2}]}

HEADERS

| Key | Datatype | Required | Description | | Content-Type | string | | | | Accept | string | | |

RESPONSES

status: Created

[{"collaborator_id":"\u003cstring\u003e","collaborator_name":"\u003cstring\u003e","user_id":"\u003cstring\u003e","channel_id":"\u003cstring\u003e","avatar":"\u003cstring\u003e","role":1,"collaborator_type":1},{"collaborator_id":"\u003cstring\u003e","collaborator_name":"\u003cstring\u003e","user_id":"\u003cstring\u003e","channel_id":"\u003cstring\u003e","avatar":"\u003cstring\u003e","role":3,"collaborator_type":1}]