Create and send an organization invitation
Create an invitation to join an existing organization. The organization ID is specified in the URL.
Path parameters
organizationId
Organization ID to invite the user to
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
email
Email address of the user to invite
roles
Array of role IDs or names to assign to the user for the organization. Must contain at least 1 role.
Response
Organization invitation created and sent successfully.
success
message
organizationId