Create User
Creates a new user in the caller’s org.
The registration flow this user will go through depends on the registration kind specified:
- If
Direct, we orchestrate the user’s registration: he will receive an email from us directly. Then be redirected to our dashboard to finish registration and onboard there. This is only available forCustomerEmployee. This is for users meant to use our dashboard directly (in addition to custom apps you may build). - if
Delegated, you orchestrate the user’s registration: he won’t receive an email from us. It’s your responsibility to verify your user’s identity & email, before you programmatically kick-off their registration (cf Delegated Registration doc). This is available for eitherCustomerEmployeeorEndUser. This is for users meant to only use your own apps (not our dashboard), who should not interact with us directly.
If registration is unspecified, the default behaviour depends on the user kind:
CustomerEmployee: defaults toDirectregistration: sends a registration email from us.EndUser: defaults toDelegatedregistration (only option for those): does not send a registration email.
Permission-wise, when the new user gets created:
CustomerEmployeehold no permissions upon creation. Use permission endpoints to grant some.EndUserhold the defaultManagedDefaultEndUserAccesswhich is granted by default to all EndUsers. Use permission endpoints to update this default end-user permission. (cf Managed Permissions)
POST
Create User
Authentication
✅ Tenant User (TenantUser)✅ Organization User (
CustomerEmployee)❌ End User (
EndUser)❌ Personal Access Token not allowed
✅ Service Account
Required Permissions
Auth:Users:Create: Always required.Authorizations
Bearer Token: Used to authenticate API requests. More details how to generate the token: Authentication flows
User Action Signature: Used to sign the change-inducing API requests. More details how to generate the token: User Action Signing flows
Body
application/json
Response
200 - application/json
Success