CRM Users
Authorizations
Query parameters
per_pageintegerOptionalExample:
Number of items to retireve, maximum of 500
20
sort_typestringOptionalExample:
Property by which to sort the results
created_at
sort_orderstringOptionalExample:
Order of results (asc or desc)
desc
pageintOptionalExample:
Page to retrieve number, to be used with per_page
1
Responses
200
OK
401
Unauthorized - Credentials Incorrect
403
Forbidden - You cannot access this site
404
Not Found - The CRM does not contain any users
422
Unprocessable Entity - Required data missing or data invalid
get
GET /api/site/v2/users/crm HTTP/1.1
Host: {{your site}}
x-api-key: YOUR_API_KEY
Accept: */*
No content
Authorizations
Path parameters
Responses
200
OK
401
Unauthorized - Credentials Incorrect
403
Forbidden - You cannot access this site
404
Not Found - CRM user does not exist
422
Unprocessable Entity - Required data missing or data invalid
get
GET /api/site/v2/users/crm/{id} HTTP/1.1
Host: {{your site}}
x-api-key: YOUR_API_KEY
Accept: */*
No content
Authorizations
Path parameters
idstring · idRequiredExample:
The ID of the user
1234
Body
namestringRequired
emailstringRequired
passwordstringOptional
secure_zonesstringOptional
cfs_field_1_1stringOptional
Responses
200
OK
401
Unauthorized - Credentials Incorrect
403
Forbidden - You cannot access this site
404
Not Found - CRM user does not exist
422
Unprocessable Entity - Required data missing or data invalid
put
PUT /api/site/v2/users/crm/{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
Authorizations
Body
namestringRequired
emailstringRequired
passwordstringOptional
secure_zonesstringOptional
cfs_field_1_1stringOptional
Responses
200
OK
401
Unauthorized - Credentials Incorrect
403
Forbidden - You cannot access this site
404
Not Found - CRM user does not exist
422
Unprocessable Entity - Required data missing or data invalid
post
POST /api/site/v2/users/crm/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?