List Organizations
curl --request GET \
--url https://allomia.com/api/organization \
--header 'Authorization: <authorization>'import requests
url = "https://allomia.com/api/organization"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://allomia.com/api/organization', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://allomia.com/api/organization",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://allomia.com/api/organization"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://allomia.com/api/organization")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://allomia.com/api/organization")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"organizations": [
{
"id": "<string>",
"name": "<string>",
"email": "<string>",
"address": "<string>",
"city": "<string>",
"stateProvince": "<string>",
"postalCode": "<string>",
"country": "<string>",
"phoneNumber": "<string>",
"tenantId": "<string>",
"timezone": "<string>",
"createdAt": "<string>",
"createdBy": "<string>"
}
],
"pagination": {
"page": 123,
"limit": 123,
"total": 123,
"totalPages": 123,
"hasNextPage": true,
"hasPreviousPage": true
}
}Organizations (Tenant Only)
List Organizations
Retrieves a paginated list of organizations
GET
/
api
/
organization
List Organizations
curl --request GET \
--url https://allomia.com/api/organization \
--header 'Authorization: <authorization>'import requests
url = "https://allomia.com/api/organization"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://allomia.com/api/organization', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://allomia.com/api/organization",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://allomia.com/api/organization"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://allomia.com/api/organization")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://allomia.com/api/organization")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"organizations": [
{
"id": "<string>",
"name": "<string>",
"email": "<string>",
"address": "<string>",
"city": "<string>",
"stateProvince": "<string>",
"postalCode": "<string>",
"country": "<string>",
"phoneNumber": "<string>",
"tenantId": "<string>",
"timezone": "<string>",
"createdAt": "<string>",
"createdBy": "<string>"
}
],
"pagination": {
"page": 123,
"limit": 123,
"total": 123,
"totalPages": 123,
"hasNextPage": true,
"hasPreviousPage": true
}
}List Organizations
Retrieves a paginated list of organizations for the authenticated tenant. This endpoint requires a valid tenant API key for authentication.Headers
string
required
API key is required. Enter your tenant-specific API key in the format ‘Bearer
YOUR-API-KEY’
Query Parameters
integer
default:"1"
Page number for pagination (1-based indexing)
integer
default:"10"
Number of items per page (default 10, max 100)
string
default:"createdAt"
Field to sort by (prefix with - for descending order, e.g. -createdAt)
string
Search term to filter organizations by name
Response
array
Array of organization objects
Show Organization properties
Show Organization properties
string
The unique identifier for the organization
string
The name of the organization
string
The email address for the organization
string
The street address of the organization
string
The city where the organization is located
string
The state or province where the organization is located
string
The postal code or ZIP code for the organization
string
The country where the organization is located
string
The contact phone number for the organization
string
The tenant ID that the organization belongs to
string
The timezone for the organization
string
The timestamp when the organization was created (ISO 8601 format: “2025-06-01T12:34:56Z”)
string
The ID of the user who created the organization
object
Example Request
curl -X GET "https://allomia.com/api/organization?page=1&limit=10&sort=name&search=health" \
-H "Authorization: Bearer YOUR-API-KEY"
Example Response
{
"organizations": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-123456789012",
"name": "Valley Health Clinic",
"email": "info@valleyhealthclinic.com",
"address": "123 Main Street",
"city": "San Francisco",
"stateProvince": "CA",
"postalCode": "94105",
"country": "USA",
"phoneNumber": "+14155551234",
"tenantId": "tenant_123",
"timezone": "America/Los_Angeles",
"createdAt": "2025-06-01T12:34:56Z",
"createdBy": "b2c3d4e5-f6a7-8901-bcde-234567890123"
},
{
"id": "d4e5f6a7-b8c9-0123-defa-456789012345",
"name": "Mountain Health Partners",
"email": "contact@mountainhealth.org",
"address": "456 Oak Avenue",
"city": "Denver",
"stateProvince": "CO",
"postalCode": "80202",
"country": "USA",
"phoneNumber": "+13035557890",
"tenantId": "tenant_123",
"timezone": "America/Denver",
"createdAt": "2025-05-15T09:22:33Z",
"createdBy": "e5f6a7b8-c9d0-1234-efab-567890123456"
}
],
"pagination": {
"page": 1,
"limit": 10,
"total": 2,
"totalPages": 1,
"hasNextPage": false,
"hasPreviousPage": false
}
}
⌘I