API referenceTeam
Invite someone by email
Signed-in owners and admins only; only owners can invite owners. No API key can invite. Inviting an address again replaces its earlier link.
POST
Signed-in owners and admins only; only owners can invite owners. No API key can invite. Inviting an address again replaces its earlier link.
bearerAuthheader
AuthorizationBearer <mr_live_ / mr_test_>API key. Never log the secret.
application/json- body
email*stringFormat
emailrole*stringValue in
"owner""admin""approver""viewer"The invite. The link is emailed and expires in 7 days.
curl -X POST 'https://api.mailroomapi.com/v1/members/invites' \ -H 'Content-Type: application/json' \ -d '{ "email": "user@example.com", "role": "owner"}'Example Response
Empty