List Users

get
all users

https://data.salesmachine.io/v2/users
Request
Response
Request
Query Parameters
offset
optional
string
What offset of results to fetch. Defaults to first item.
limit
optional
string
How many results per page. Defaults to 25, Max is 100.
order
optional
string
Returns the accounts in ascending or descending order. Valid values: asc or desc. Defaults to desc.
sort
optional
string
What field to sort the results by. Valid values: ‘created_at’
Response
200: OK
{
"object": "user.list",
"data": [
{
"object": "user",
"id": "5d3bae5bcb4a287b44583a55",
"created_at": 1564192347,
"email": "jdoe@acme.com",
"name": "John Doe",
"role": "admin",
"enabled": true
},
.....
],
"pagination": {
"total": 4019,
"offset": 0,
"limit": 25,
"count": 25,
"next": "https://api.salesmachine.io/v2/users?offset=25&limit=25"
}
}
curl -X GET https://data.salesmachine.io/v2/users \
-H 'Accept: application/json'
-H 'Authorization:Bearer <Your access token>'