Users
List users
Returns a paginated list of the organization’s active members, sorted by name. Use it to resolve the user_id in the assignments on customers and subscriptions.
GET
/
users
List users
curl --request GET \
--url https://api.alguna.io/users \
--header 'Alguna-Version: <alguna-version>' \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.alguna.io/users"
headers = {
"Alguna-Version": "<alguna-version>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'Alguna-Version': '<alguna-version>', Authorization: 'Bearer <token>'}
};
fetch('https://api.alguna.io/users', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"email": "jane@example.com",
"first_name": "Jane",
"id": "usr_01H1VECT",
"last_name": "Doe"
}
],
"pagination": {
"per_page": 20,
"total_pages": 5
}
}{
"detail": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"title": "<string>",
"type": "<string>"
}{
"detail": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"title": "<string>",
"type": "<string>"
}{
"detail": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"title": "<string>",
"type": "<string>"
}{
"detail": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"title": "<string>",
"type": "<string>"
}{
"detail": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"title": "<string>",
"type": "<string>"
}{
"detail": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"title": "<string>",
"type": "<string>"
}{
"detail": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"title": "<string>",
"type": "<string>"
}{
"detail": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"title": "<string>",
"type": "<string>"
}Authorizations
Query Parameters
⌘I
List users
curl --request GET \
--url https://api.alguna.io/users \
--header 'Alguna-Version: <alguna-version>' \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.alguna.io/users"
headers = {
"Alguna-Version": "<alguna-version>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'Alguna-Version': '<alguna-version>', Authorization: 'Bearer <token>'}
};
fetch('https://api.alguna.io/users', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"email": "jane@example.com",
"first_name": "Jane",
"id": "usr_01H1VECT",
"last_name": "Doe"
}
],
"pagination": {
"per_page": 20,
"total_pages": 5
}
}{
"detail": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"title": "<string>",
"type": "<string>"
}{
"detail": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"title": "<string>",
"type": "<string>"
}{
"detail": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"title": "<string>",
"type": "<string>"
}{
"detail": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"title": "<string>",
"type": "<string>"
}{
"detail": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"title": "<string>",
"type": "<string>"
}{
"detail": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"title": "<string>",
"type": "<string>"
}{
"detail": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"title": "<string>",
"type": "<string>"
}{
"detail": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"title": "<string>",
"type": "<string>"
}