GET /v1/console/orgs
| Call | GET /v1/console/orgs |
| Price | free |
| Scope | console session cookie (not an API key) |
| Operation id | listConsoleOrgs |
What it does
Section titled “What it does”The organizations the signed-in user is a member of, with their role in each. Use the id in the org-scoped console endpoints. Session cookie required.
Example request
Section titled “Example request”Copy it as curl. Set VERDICT_API_KEY first; uuidgen makes a fresh Idempotency-Key.
curl -X GET 'https://api.askverdict.io/v1/console/orgs' \ --cookie "verdict_session=$VERDICT_SESSION"Example response
Section titled “Example response”200: The organizations.
{ "data": [ { "id": "org_01JC3Z4Y8R9K2M5N7P1Q3S5T7V", "name": "Northwind Ops", "slug": "northwind-ops", "role": "owner", "created_at": "2026-11-01T09:00:00Z" } ]}Parameters
Section titled “Parameters”| Name | In | Type | Required | Description |
|---|---|---|---|---|
x-verdict-version |
header | string | no | API version to use, a date. Defaults to the version current when the key was created. The current version is 2026-11-01. |
Response fields (200)
Section titled “Response fields (200)”Schema ConsoleOrgsResponse.
| Field | Type | Required | Description |
|---|---|---|---|
data |
array of ConsoleOrg | yes | Organizations, oldest membership first. |
data[].id |
string | yes | Organization id. |
data[].name |
string | yes | Organization name. |
data[].slug |
string | yes | URL-safe organization slug. |
data[].role |
enum: “owner”, “admin”, “developer”, “billing”, “read_only” | yes | The user’s role in this organization. |
data[].created_at |
string (date-time) | yes | When the organization was created. |
Errors
Section titled “Errors”Errors are RFC 9457 problem details and are never billed. Branch on type. See Errors.
| Status | Meaning |
|---|---|
400 |
Invalid request: malformed JSON, an unknown field, a failed constraint or a size limit (invalid_request). |
401 |
Missing, malformed, revoked or expired API key, or a bad webhook signature (unauthorized). |
429 |
Rate limited (rate_limited). Wait Retry-After seconds. |
500 |
Unexpected server error (internal). Not billed; retry with the same Idempotency-Key. |
Try it
Section titled “Try it”Open the interactive reference to send this request from the browser. The full document is at /openapi.json.