API referenceTeam
What an invite link is for, without using it
POST
application/json- body
token*stringworkspace, email, role, invited_by, expires_at
curl -X POST 'https://api.mailroomapi.com/v1/invites/preview' \ -H 'Content-Type: application/json' \ -d '{ "token": "string"}'Example Response
Empty
Remove someone, or leave DELETE
Owners and admins remove others (only owners remove owners); anyone can remove themselves. Their sessions in this workspace end immediately. The last owner cannot leave.
Accept an invite and get a session POST
The link proves the address, so this creates the person if needed.