---
title: "Read a sending domain"
method: GET
path: "/v1/domains/{id}"
tags: ["Domains"]
---

# Read a sending domain

`GET /v1/domains/{id}`

## Request

- Base URL: `https://api.sendora.se`
- URL: `https://api.sendora.se/v1/domains/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, uuid, required

## Response `200`

A sending domain and the two records it needs.

- object: A sending domain and the two records it needs.
  - `domainId` string, uuid, required
  - `domain` string, required
  - `verified` boolean, required: True while both records count as found; only then may mail go out. A lookup that fails at the resolver never changes it, and a record found missing on a verified domain starts a 24-hour warning (failingSince) through which the domain stays verified.
  - `createdAt` string, date-time, required
  - `lastCheckedAt` string, date-time, nullable, required: When the records were last looked up.
  - `failingSince` string, date-time, nullable, required: When a check first found a record of this verified domain missing or wrong. Mail keeps going out, the records are looked up hourly, and the first check 24 hours after this that still misses one ends the verification. Null unless the domain is verified and in that warning; verified and each record tell the rest.
  - `returnPath` object, required: The return-path record, which also satisfies SPF.
    - `type` 'CNAME', required
    - `host` string, required: The name to create the record under.
    - `value` string, required: The value the record must hold.
    - `verified` boolean, required
    - `verifiedAt` string, date-time, nullable, required
  - `dkim` object, required: The DKIM public key record.
    - `type` 'TXT', required
    - `host` string, required: The name to create the record under.
    - `value` string, required: The value the record must hold.
    - `verified` boolean, required
    - `verifiedAt` string, date-time, nullable, required

## Other responses

- `401`: The key is missing, malformed or revoked.
- `403`: The key is of the other kind, or a connected app may not do this here: it is not for connections, the connection may only read here, or it is for test servers only.
- `404`: No such domain of this account.

---

[API](https://skmtc.dev/sendora/apis/sendora-api.md) · [All operations](https://skmtc.dev/sendora/apis/sendora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sendora/apis/sendora-api/revisions/72efbbb34b64?raw)
