---
title: "List domain delegation states"
method: GET
path: "/mailboxes/inboxkit/domains/"
tags: ["senders"]
---

# List domain delegation states

`GET /mailboxes/inboxkit/domains/`

## Request

- Base URL: `https://api.getoneprofile.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getoneprofile.ai/mailboxes/inboxkit/domains/`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

The authorization progress surface: per-domain status and failure reasons.

## Response `200`

Successful Response

- InboxkitDomainsResponseSchema
  - `domains` InboxkitDomainReadSchema[], required
    - `authorized_at` string, date-time, nullable, required
    - `delegation_status` 'pending' | 'authorizing' | 'authorized' | 'failed', required: Where a Google Workspace domain stands in the delegation handshake. PENDING means we know the domain but have not asked InboxKit to register our client id yet; AUTHORIZING means their async request is in flight; AUTHORIZED means minting tokens for that domain's mailboxes works; FAILED carries a reason and is retryable (a new import attempt re-initiates).
    - `domain_name` string, required
    - `status_reason` string, nullable, required
    - `updated_at` string, date-time, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `422`: Invalid request made to the API.
- `500`: Internal server error.
- `502`: Bad gateway error.
- `503`: Service unavailable.

---

[API](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile.md) · [All operations](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/llms.txt) · [OpenAPI document](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/revisions/4a6bd71e3f02?raw)
