Follow the steps below to create users via Quatrix API:
- Log in to the account using GET /session/login.
Get available user groups with GET /user/group and choose group_id for a new user.
If you want enable SFTP access to a newly created user, use GET /service call and get the id of service where the key = SFTP.
Execute the call POST /user/create with following parameters:
Must be without '@'
user email address
list of strings
user role - 3
secondary admin role - 1535
quota is measured in bytes (B).
"-1" means unlimited storage
"en_GB" - English - default
"zh_CN" - Chinese
list of strings -
to enable SFTP you need to specify its ID.
GET /service - retrieves all services.
status string A
A - active, D - disabled
* required parameters
With response code 201 the user is created and a welcome email for setting a password will be sent to the user.
Example Request URL