v1

latestOpenAPI 3.0.02026-07-178236113.8 KB
Users

Invite a user to join the platform

Required scope - write_user. Assigning a privileged role (e.g. super_admin) additionally requires the caller to hold the root scope.

post/api/v1/users/invitations

Request body

emailstring email required

The email address to invite

firstNamestring

Optional first name

lastNamestring

Optional last name

localestring

Locale for the invitation email

orgSlugstring

Organization slug to assign the user to

rolesstring[]

Roles to assign to the invited user

signinUrlstring

URL to redirect the user to after accepting the invitation

Response

Example response

{
  "user": {
    "attributes": {
      "attribute name 1": "value for attribute name 1",
      "attribute name 2": "value for attribute name 2"
    }
  }
}