Invite a user
Authentication
An auth_token should be provided to authenticate a session.
To obtain an auth_token, see the /api/v1/authenticate POST request.
An auth_token should be provided to authenticate a session.
To obtain an auth_token, see the /api/v1/authenticate POST request.
Welcome to the new emnify developer docs! These pages replace the legacy Swagger-based site, which will be removed by end of January 2026.
Invite a user to a Workspace by specifying username and the roles that the user will have in the organization.
This user is created and a User invited event is sent.
There is no additional action such as an email sent.
The following fields may be provided:
username (String) - Email of the invited username (String) - Name of the invited userorganisation (Object) - Defaults to the default Workspace of the requesting userroles (Array) - Assigns the Administrator role by defaultIf the invited user doesn’t exist, a new user is created and the organisation.id is their default Workspace.
If the invited user already exists, the user is assigned to the Workspace.
This fails if the Workspace feature isn’t enabled on the target organization’s tariff plan.