Authentication
RequiresAuthorization: Basic {base64_encoded_api_key} and x-account-id: {account_id}. See authentication.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
fields | string | No | Comma-separated list of fields to include in the response |
filter[updated_after] | string (ISO 8601) | No | Only return organizations updated after this timestamp |
next | string | No | Cursor token for the next page of results |
expand | string | No | Comma-separated list of relations to expand |
raw | boolean | No | Include the raw provider response alongside the unified data |
proxy | object | No | Additional headers to pass through to the provider |
Response
Returns a paginated list ofIamOrganization objects.
| Field | Type | Description |
|---|---|---|
id | string | StackOne unique identifier |
remote_id | string | Provider’s unique identifier |
name | string | Organization name |
created_at | string (ISO 8601) | When the organization was created |
updated_at | string (ISO 8601) | When the organization was last updated |
Example
- cURL
- TypeScript
- Python
Example Response
Errors
| Status | Meaning |
|---|---|
| 400 | Bad request — invalid query parameters |
| 401 | Unauthorized — invalid or missing API key |
| 403 | Forbidden — insufficient permissions |
| 404 | Not found — account not found |
| 422 | Provider does not support this endpoint |