Add User
POST {{api-domain}}/crm/v2/users
To add a user to your Organization. Refer to the documentation for more details.
Request Body
{"users"=>[{"role"=>"{{role_id}}", "first_name"=>"Patricia", "email"=>"Patricia@abcl.com", "profile"=>"{{profile_id}}", "last_name"=>"Boyle", "Currency"=>"AFN", "territories"=>[{"manager"=>true, "name"=>"North Zone", "id"=>"{{territory_id}}"}, {"manager"=>true, "name"=>"South Zone", "id"=>"{{territory_id}}"}]}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"users":[{"code":"INVALID_DATA","details":{"expected_data_type":"text","api_name":"last_name"},"message":"invalid data","status":"error"}]}