---
title: "Check the records now"
method: POST
path: "/v1/domains/{id}/verify"
tags: ["Domains"]
---

# Check the records now

`POST /v1/domains/{id}/verify`

## Request

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

Looks both records up at once and records the result; the answer carries the domain as it stands and what each lookup found. A lookup that fails at the resolver changes nothing. A check that begins a verified domain's 24-hour warning or ends its verification mails the account's administrators, as Sendora's own checks do.

## Path parameters

- `id` string, uuid, required

## Response `200`

The domain as it stands, with what each lookup found.

- object: The domain as it stands, with what each lookup found.
  - `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
  - `check` object, required
    - `returnPath` 'ok' | 'missing' | 'mismatch' | 'dns_error', required: dns_error is a resolver failure, such as a DNSSEC problem or a timeout, not an absent record.
    - `dkim` 'ok' | 'missing' | 'mismatch' | 'dns_error', required: dns_error is a resolver failure, such as a DNSSEC problem or a timeout, not an absent record.

## 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)
