Skip to Content
Docs

List sending domains

GET
/v1/domains

The workspace's sending domains with their verification state and the DNS records to publish. Read-only: add and verify domains in the console.

Authorization

bearerAuth
headerAuthorizationBearer <token>

API key sent as Authorization: Bearer <key>. Looked up by SHA-256 hash (email_core::sha256_hex) against api_keys.hash; revoked keys and keys belonging to a suspended tenant are rejected. See the top-level Authentication section for permission levels.

Response Body

Domains, newest first.

application/json
  1. response
data?array<>
Example Request
curl -X GET 'https://api.emitd.com/v1/domains'
Example Response
{  "data": [    {      "id": "string",      "domain": "string",      "status": "pending",      "region": "string",      "created_at": 0,      "verification": {        "spf": true,        "dkim": true,        "dmarc": true,        "mail_from": true      },      "records": [        {          "kind": "TXT",          "host": "string",          "value": "string",          "purpose": "spf"        }      ]    }  ]}