User and Workspace management
Create User
Create users, and assign them roles, licenses, and workspaces.
- You must be an organization admin to create users.
- We check that the user email domain matches your organization domain.
- We check that the user email and phone number have a valid format.
post/public/v1/users
Query parameters
notify_userboolean
Send a confirmation email to the user that was added to workspace(s).
notify_ws_adminsboolean
Send a confirmation email to all workspace admins indicating that the user has been added to the workspace.
Request body
Example request
{
"user": {
"email": "email@example.com",
"first_name": "John",
"last_name": "Doe",
"phone_number": "+14842634627"
},
"workspaces": [
{
"workspace_id": "2eWSKSvVqmuVCnuUK3iWwD",
"role": "Member"
}
]
}Response
OK
Example response
{
"user_id": "iMymdDd9XFD3HyxP5VD67Q"
}