API Docs / Operations / User Invitations / Send an invitation

Send an invitation

POST /api/user-invitations

Sends an invitation email to a user to join a tenant.

Returns:

  • 200 OK if invitation was sent
  • 400 Bad Request if user already accepted or invalid request
  • 401 Unauthorized if not authenticated
  • 404 Not Found if user doesn't exist in tenant

Request Body*

The send invitation request

{
  "email": "user@example.com",
  "tenantCode": "string"
}

Responses

200 OK
401 Unauthorized - Invalid or missing API key