CRM Users
Number of items to retireve, maximum of 500
20
Property by which to sort the results
created_at
Order of results (asc or desc)
desc
Page to retrieve number, to be used with per_page
1
OK
No content
Unauthorized - Credentials Incorrect
Forbidden - You cannot access this site
Not Found - The CRM does not contain any users
Unprocessable Entity - Required data missing or data invalid
GET /api/site/v2/users HTTP/1.1
Host: {{your site}}
x-api-key: YOUR_API_KEY
Accept: */*
No content
OK
No content
Unauthorized - Credentials Incorrect
Forbidden - You cannot access this site
Not Found - CRM user does not exist
Unprocessable Entity - Required data missing or data invalid
GET /api/site/v2/users/{id} HTTP/1.1
Host: {{your site}}
x-api-key: YOUR_API_KEY
Accept: */*
No content
The ID of the user
1234
OK
No content
Unauthorized - Credentials Incorrect
Forbidden - You cannot access this site
Not Found - CRM user does not exist
Unprocessable Entity - Required data missing or data invalid
PUT /api/site/v2/users/{id} HTTP/1.1
Host: {{your site}}
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 93
{
"name": "text",
"email": "text",
"password": "text",
"secure_zones": "text",
"cfs_field_1_1": "text"
}
No content
OK
No content
Unauthorized - Credentials Incorrect
Forbidden - You cannot access this site
Not Found - CRM user does not exist
Unprocessable Entity - Required data missing or data invalid
POST /api/site/v2/users/create HTTP/1.1
Host: {{your site}}
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 93
{
"name": "text",
"email": "text",
"password": "text",
"secure_zones": "text",
"cfs_field_1_1": "text"
}
No content
Last updated
Was this helpful?