🔗CRM Users

Retrieve an overview list of all CRM users from your website

GET/api/public/site/users/crm
Authorization
Query parameters
Response

OK

Request
const response = await fetch('/api/public/site/users/crm', {
    method: 'GET',
    headers: {},
});
const data = await response.json();

Retrieve all data about an individual CRM user

GET/api/public/site/users/crm/{id}
Authorization
Path parameters
id*string (id)

The ID or Email Address of the user

Example: "1234 or user@website.com"
Response

OK

Request
const response = await fetch('/api/public/site/users/crm/{id}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();

Update a CRM user

PUT/api/public/site/users/crm/{id}
Authorization
Path parameters
id*string (id)

The ID of the user

Example: 1234
Body

Your Users custom fields as a JSON object

name*string
email*string
passwordstring
secure_zonesstring
cfs_field_1_1string
Response

OK

Request
const response = await fetch('/api/public/site/users/crm/{id}', {
    method: 'PUT',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "name": "text",
      "email": "text"
    }),
});
const data = await response.json();

Create a CRM user

POST/api/public/site/users/crm/create
Authorization
Body

Your Users custom fields as a JSON object

name*string
email*string
passwordstring
secure_zonesstring
cfs_field_1_1string
Response

OK

Request
const response = await fetch('/api/public/site/users/crm/create', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "name": "text",
      "email": "text"
    }),
});
const data = await response.json();

Last updated