Users
List Users
Retrieve a list of all users.
GET
/
users
List Users
curl --request GET \
--url https://integrations.clopos.com/open-api/v2/users \
--header 'x-token: <api-key>'const options = {method: 'GET', headers: {'x-token': '<api-key>'}};
fetch('https://integrations.clopos.com/open-api/v2/users', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://integrations.clopos.com/open-api/v2/users"
headers = {"x-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": [
{
"id": 123,
"email": "jsmith@example.com",
"username": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"status": true,
"owner": 123,
"created_at": "2023-11-07T05:31:56Z"
}
],
"total": 123
}Was this page helpful?
⌘I
List Users
curl --request GET \
--url https://integrations.clopos.com/open-api/v2/users \
--header 'x-token: <api-key>'const options = {method: 'GET', headers: {'x-token': '<api-key>'}};
fetch('https://integrations.clopos.com/open-api/v2/users', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://integrations.clopos.com/open-api/v2/users"
headers = {"x-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": [
{
"id": 123,
"email": "jsmith@example.com",
"username": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"status": true,
"owner": 123,
"created_at": "2023-11-07T05:31:56Z"
}
],
"total": 123
}