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
Organization invitation data with email and roles
email
Email address of the user to invite
roles
Array of role IDs to assign to the user for the organization. Must contain at least 1 role. Available organization roles: k3r_user_org_inviter, k3r_user_org_viewer, k3r_user_org_manager, k3r_user_org_operator, k3r_user_org_merchant_admin
Response
Organization invitation created and sent successfully.
success
Indicates whether the operation was successful
message
Message describing the invitation result
organizationId
ID of the organization for this invitation
userExists
Indicates whether the invited user already exists in the system