Share board
POST/v2/boards/:board_id/members
Shares the board and Invites new members to collaborate on a board by sending an invitation email. Depending on the board's Sharing policy, there might be various scenarios where membership in the team is required in order to share the board with a user.
Required scope
boards:writeRate limiting
Level 3Request
Path Parameters
Unique identifier (ID) of the board to which the board member belongs.
- application/json
Body
required
Possible values: >= 1
, <= 20
Email IDs of the users you want to invite to the board. You can invite up to 20 members per call.
Possible values: [viewer
, commenter
, editor
, coowner
, owner
]
Default value: commenter
Role of the board member.
The message that will be sent in the invitation email.
Responses
- 201
- 400
- 404
- 429
Board members invited
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
failed
object[]
Contains information about the invites that failed.
Email ID for which the invitation failed.
Reason why the invitation failed.
Contains information about the invites that were successfully sent.
{
"failed": [
{
"email": "john.smith.demo@miro.com",
"reason": "INVITATION_FAILED"
}
],
"successful": 3074457350804038700
}
Malformed request
- application/json
- Schema
- Example (from schema)
Schema
Code of the error
Description of the error
Status code of the error
Type of the error
{
"code": "error",
"message": "Error message",
"status": 400,
"type": "error"
}
Not found
- application/json
- Schema
- Example (from schema)
Schema
Code of the error
Description of the error
Status code of the error
Type of the error
{
"code": "error",
"message": "Error message",
"status": 400,
"type": "error"
}
Too many requests
- application/json
- Schema
- Example (from schema)
Schema
Code of the error
Description of the error
Status code of the error
Type of the error
{
"code": "error",
"message": "Error message",
"status": 400,
"type": "error"
}