POST
Create Company User
Create a new user for a Company.
Company Users are users able to login into Clients Area for its parent Company.
Important
Calls to this method must include the cookie .LawPanel.AuthCookie in order to identify you at user level. For more details about authentication please check this link. To obtain the cookie you can use the method Login.
Request URL
Request headers
string
Subscription key which provides access to this API.
Request body
Payload must contain information about the Company User to be created.
Most of the properties are self-explanatory, but:
- string Required client_id: The ID for Client/Company owner of the new Company User. To get a list of all Companies available in your Firm please check this link.
Loading...
{
"type": "object",
"properties": {
"client_id": {
"type": "string"
},
"user": {
"type": "object",
"properties": {
"user_name": {
"type": "string"
},
"email": {
"type": "string"
},
"password": {
"type": "string"
},
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
},
"phone_number": {
"type": "string"
},
"is_email_confirmed": {
"type": "boolean"
},
"user_role": {
"type": "integer"
}
}
}
},
"example": {
"client_id": "1c8a8cf8-a58a-46b8-a172-ab440147061f",
"user": {
"user_name": "user@domain.com",
"email": "user@domain.com",
"password": "123456",
"first_name": "John",
"last_name": "Doe",
"phone_number": "+543875333953",
"is_email_confirmed": true,
"user_role": 2
}
}
}
Response 201
This code is returned when the Company User is created successfully.