Organizations API
Organizations are tenants in CertusOrdo. Each organization has agents, API keys, and isolated data.
Create Organization
Creates a new organization and returns an API key.
Request
Response
{
"id": "f9cc87c8-ed04-4fdb-bb2b-ed82702a55b8",
"name": "Acme Corp",
"slug": "acme-corp",
"api_key": "aa_E0V7sLJNKg7H4...",
"created_at": "2025-01-16T14:30:00Z"
}
Save the API Key
The api_key is only returned once. Store it securely.
Example
List Organizations
Returns organizations accessible with your API key.
Headers
| Header | Required | Description |
|---|---|---|
X-API-Key |
Yes | Your API key |
Response
[
{
"id": "f9cc87c8-ed04-4fdb-bb2b-ed82702a55b8",
"name": "Acme Corp",
"slug": "acme-corp",
"is_active": true,
"created_at": "2025-01-16T14:30:00Z"
}
]
Example
Get Organization
Returns details for a specific organization.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id |
UUID | Organization ID |
Response
{
"id": "f9cc87c8-ed04-4fdb-bb2b-ed82702a55b8",
"name": "Acme Corp",
"slug": "acme-corp",
"is_active": true,
"created_at": "2025-01-16T14:30:00Z",
"updated_at": "2025-01-16T14:30:00Z"
}