Users
Create and send an organization invitation
Create an invitation to join an existing organization. The organization ID is specified in the URL.
post/api/v1/users/organizations/{organizationId}/invitations
Request
- Base URL: https://api-sandbox.koywe.com
- URL: https://api-sandbox.koywe.com/api/v1/users/organizations/{organizationId}/invitations
- Auth: HTTP bearer
Path parameters
organizationIdstring required
Organization ID to invite the user to
Request body
Example request
{
"email": "invited.user@example.com",
"roles": [
"k3r_admin"
]
}Response
Organization invitation created and sent successfully.
Example response
{
"success": true,
"message": "Invitation sent to user@example.com for organization My Organization",
"organizationId": "org3_xxxxxxxxxxxxxx",
"userExists": true,
"rolesAssignedImmediately": true,
"pendingApprovalId": "pa_xxxxxxxxxxxxxx"
}Changes
No recorded changes to this operation across all 1 revision of this API.