TypeScript
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.useautumn.com/v1/platform/organizations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.useautumn.com/v1/platform/organizations"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)curl -X GET 'https://api.useautumn.com/v1/platform/organizations?limit=20&offset=0' \
-H 'Authorization: Bearer am_sk_test_...'
{
"list": [
{
"slug": "<string>",
"name": "<string>",
"created_at": 123
}
],
"total": 123,
"limit": 123,
"offset": 123
}{
"message": "<string>",
"code": "not_found"
}Platform (Beta)
List Organizations
Lists all organizations created by your master organization. Supports pagination.
GET
/
platform
/
organizations
TypeScript
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.useautumn.com/v1/platform/organizations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.useautumn.com/v1/platform/organizations"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)curl -X GET 'https://api.useautumn.com/v1/platform/organizations?limit=20&offset=0' \
-H 'Authorization: Bearer am_sk_test_...'
{
"list": [
{
"slug": "<string>",
"name": "<string>",
"created_at": 123
}
],
"total": 123,
"limit": 123,
"offset": 123
}{
"message": "<string>",
"code": "not_found"
}Lists all organizations created by your master organization. Supports pagination to handle large numbers of tenant organizations.
Only returns organizations that were created by your master organization through the Platform API. Organization slugs in the response do not include the master org ID prefix.