TypeScript
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.useautumn.com/v1/platform/users', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.useautumn.com/v1/platform/users"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)curl -X GET 'https://api.useautumn.com/v1/platform/users?limit=20&offset=0&expand=organizations' \
-H 'Authorization: Bearer am_sk_test_...'
{
"list": [
{
"email": "jsmith@example.com",
"created_at": 123,
"organizations": [
{
"slug": "<string>",
"name": "<string>",
"created_at": 123
}
]
}
],
"total": 123,
"limit": 123,
"offset": 123
}{
"message": "<string>",
"code": "not_found"
}Platform (Beta)
List Users
Lists all users created by your master organization. Supports pagination and optional expansion of related organizations.
GET
/
platform
/
users
TypeScript
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.useautumn.com/v1/platform/users', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.useautumn.com/v1/platform/users"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)curl -X GET 'https://api.useautumn.com/v1/platform/users?limit=20&offset=0&expand=organizations' \
-H 'Authorization: Bearer am_sk_test_...'
{
"list": [
{
"email": "jsmith@example.com",
"created_at": 123,
"organizations": [
{
"slug": "<string>",
"name": "<string>",
"created_at": 123
}
]
}
],
"total": 123,
"limit": 123,
"offset": 123
}{
"message": "<string>",
"code": "not_found"
}Lists all users created by your master organization. Supports pagination and optional expansion of related organizations.