
# List organization domains

`GET /v1/organization-domains` · permission `organization-domains:read`

Lists the environment's organization domains oldest first (ID order) with cursor pagination. Only forward paging (`after`) is supported. A page has 1-100 items, 20 by default.

## Request

| Field | Type | Required | Description |
|---|---|---|---|
| `limit` | query | no | Page size, 1-100 (default 20). |
| `after` | query | no | Cursor from `list_metadata.after` of the previous page. |
| `organization_id` | query | no | Only domains of this organization (`org_…`). |
| `domain` | query | no | Only this domain (Unicode or A-label, exact match). |
| `status` | query | no | Only domains in this status: `pending`, `verified`, `unverified`, `expired` or `revoked`. |

No request body.

## Response

`200 OK` with a page of domains.

```json
{
  "data": [
    {
      "id": "odm_01j9xk3m7q8r2s4t6v8w0y2z4c",
      "organization_id": "org_01j9xk3m7q8r2s4t6v8w0y2z4a",
      "domain": "acme.com",
      "status": "verified",
      "verification_method": "dns_txt",
      "txt_record_name": "_akp-verify.acme.com",
      "txt_record_value": "idp-verify=EXAMPLEtokenEXAMPLEtokenEXAMPLEtokenEXAMPLEtok",
      "verification_started_at": "2026-10-12T09:30:00.123456Z",
      "verified_at": "2026-10-12T09:35:00.654321Z",
      "last_checked_at": "2026-10-12T09:35:00.654321Z",
      "unverified_at": null,
      "next_check_at": "2026-10-13T09:35:00.654321Z",
      "last_failure_code": null,
      "capture_mode": "off",
      "sso_routing_enabled": false,
      "created_at": "2026-10-12T09:30:00.123456Z",
      "updated_at": "2026-10-12T09:35:00.654321Z",
      "version": 2
    }
  ],
  "list_metadata": {
    "before": null,
    "after": null
  }
}
```

## Errors

| HTTP | code | When |
|---|---|---|
| 422 | `validation_failed` | A filter, `limit` or cursor is invalid (`before` and an `order` other than `asc` are not supported). |
| 401 | `unauthenticated` | The credential is missing, invalid or revoked. |
| 403 | `insufficient_permissions` | The credential lacks the required permission. |
| 429 | `rate_limited` | The rate limit was exceeded; retry after the `Retry-After` period. |
| 503 | `service_unavailable` | A dependency is temporarily unavailable; retry after the `Retry-After` period. |

## Example

```bash
curl "https://api.eu.keenauth.com/v1/organization-domains?organization_id=org_01j9xk3m7q8r2s4t6v8w0y2z4a&status=verified" \
  -H "Authorization: Bearer $KEENAUTH_SECRET_KEY"
```
