curl -X GET "https://api.orwel.io/api/v1/users?limit=10" \
-H "Authorization: Bearer orwel_sk_YOUR_KEY"
const response = await fetch(
'https://api.orwel.io/api/v1/users?limit=10',
{
headers: {
'Authorization': 'Bearer orwel_sk_YOUR_KEY'
}
}
);
const data = await response.json();
console.log(data);
import requests
headers = {
'Authorization': 'Bearer orwel_sk_YOUR_KEY'
}
params = {
'limit': 10
}
response = requests.get(
'https://api.orwel.io/api/v1/users',
headers=headers,
params=params
)
data = response.json()
print(data)
{
"data": [
{
"id": "cc0e8400-e29b-41d4-a716-446655440007",
"email": "john@example.com",
"name": "John Doe",
"avatar": "https://example.com/avatar.jpg",
"username": "johndoe",
"language": "en",
"created_at": "2024-06-15T10:30:00Z",
"workspace_role": "admin",
"joined_at": "2024-06-15T10:30:00Z"
},
{
"id": "dd0e8400-e29b-41d4-a716-446655440008",
"email": "jane@example.com",
"name": "Jane Smith",
"avatar": "https://example.com/avatar2.jpg",
"username": "janesmith",
"language": "en",
"created_at": "2024-07-20T14:20:00Z",
"workspace_role": "member",
"joined_at": "2024-07-20T14:20:00Z"
}
],
"pagination": {
"limit": 10,
"offset": 0,
"total": 5
}
}
Users
List Users
Retrieve a paginated list of workspace members
GET
/
api
/
v1
/
users
curl -X GET "https://api.orwel.io/api/v1/users?limit=10" \
-H "Authorization: Bearer orwel_sk_YOUR_KEY"
const response = await fetch(
'https://api.orwel.io/api/v1/users?limit=10',
{
headers: {
'Authorization': 'Bearer orwel_sk_YOUR_KEY'
}
}
);
const data = await response.json();
console.log(data);
import requests
headers = {
'Authorization': 'Bearer orwel_sk_YOUR_KEY'
}
params = {
'limit': 10
}
response = requests.get(
'https://api.orwel.io/api/v1/users',
headers=headers,
params=params
)
data = response.json()
print(data)
{
"data": [
{
"id": "cc0e8400-e29b-41d4-a716-446655440007",
"email": "john@example.com",
"name": "John Doe",
"avatar": "https://example.com/avatar.jpg",
"username": "johndoe",
"language": "en",
"created_at": "2024-06-15T10:30:00Z",
"workspace_role": "admin",
"joined_at": "2024-06-15T10:30:00Z"
},
{
"id": "dd0e8400-e29b-41d4-a716-446655440008",
"email": "jane@example.com",
"name": "Jane Smith",
"avatar": "https://example.com/avatar2.jpg",
"username": "janesmith",
"language": "en",
"created_at": "2024-07-20T14:20:00Z",
"workspace_role": "member",
"joined_at": "2024-07-20T14:20:00Z"
}
],
"pagination": {
"limit": 10,
"offset": 0,
"total": 5
}
}
Requires an API key (
orwel_sk_) with the leads:read scope.Query Parameters
Response
Array of workspace user objects
Show User Object
Show User Object
curl -X GET "https://api.orwel.io/api/v1/users?limit=10" \
-H "Authorization: Bearer orwel_sk_YOUR_KEY"
const response = await fetch(
'https://api.orwel.io/api/v1/users?limit=10',
{
headers: {
'Authorization': 'Bearer orwel_sk_YOUR_KEY'
}
}
);
const data = await response.json();
console.log(data);
import requests
headers = {
'Authorization': 'Bearer orwel_sk_YOUR_KEY'
}
params = {
'limit': 10
}
response = requests.get(
'https://api.orwel.io/api/v1/users',
headers=headers,
params=params
)
data = response.json()
print(data)
{
"data": [
{
"id": "cc0e8400-e29b-41d4-a716-446655440007",
"email": "john@example.com",
"name": "John Doe",
"avatar": "https://example.com/avatar.jpg",
"username": "johndoe",
"language": "en",
"created_at": "2024-06-15T10:30:00Z",
"workspace_role": "admin",
"joined_at": "2024-06-15T10:30:00Z"
},
{
"id": "dd0e8400-e29b-41d4-a716-446655440008",
"email": "jane@example.com",
"name": "Jane Smith",
"avatar": "https://example.com/avatar2.jpg",
"username": "janesmith",
"language": "en",
"created_at": "2024-07-20T14:20:00Z",
"workspace_role": "member",
"joined_at": "2024-07-20T14:20:00Z"
}
],
"pagination": {
"limit": 10,
"offset": 0,
"total": 5
}
}