# Check a help center's custom domain now

```http
POST https://trydimmi.com/api/v1/help-centers/{help_center}/domain/checks
```

## Authorization

Send an API token as `Authorization: Bearer <token>`.
The token needs: `settings:write`.

## Path parameters

- `help_center` (string, required): Id of the help center, starting with hc_, such as hc_01jx2m8k4t. Find it with GET /help-centers.

## Response 200 (OK)

- `data` (object, required)
  - `created_at` (string, required): When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
  - `failure_reason` (string | null, required): Why the last DNS check did not pass, in words. Null when no check has failed.
  - `help_center_id` (string, required): Id of the help center this domain belongs to, starting with hc_. Send it wherever a help center is asked for.
  - `hostname` (string, required): The custom domain readers will use, such as help.acme.com.
  - `last_checked_at` (string | null, required): When the DNS records were last checked. Null before the first check.
  - `next_check_at` (string | null, required): When the DNS records will be checked again. Null when no further check is planned, as after checks gave up.
  - `object` (string, required): The kind of record this is, the same for every record of its kind, such as article.
  - `records` (object[] | null, required): The two DNS records the team creates at its DNS provider: one CNAME and one TXT, each with its name and value.
    - `name` (string, required): The host name to create the record at, at the team's DNS provider.
    - `type` (string, required): The DNS record type to create, such as CNAME or TXT.
    - `value` (string, required): The value the record must hold.
  - `status` (string, required): Where the domain's DNS check stands: pending, verified or failed. The help center is served on it only once verified.
  - `verified_at` (string | null, required): When the domain passed its DNS check. Null until it is verified.

## Response default (Error)

- `code` (string, required): Stable code for programs to tell errors apart, such as validation_failed or internal_error.
- `errors` (object): Each rejected field mapped to its messages. Only present when the input was invalid.
- `message` (string, required): What went wrong, in words safe to show a person.

## Example request

```bash
curl --request POST \
  --url 'https://trydimmi.com/api/v1/help-centers/{help_center}/domain/checks' \
  --header 'Authorization: Bearer <token>'
```

## Example response

```json
{
  "data": {
    "created_at": "2026-11-01T09:30:00Z",
    "failure_reason": "<string>",
    "help_center_id": "<string>",
    "hostname": "<string>",
    "last_checked_at": "2026-11-01T09:30:00Z",
    "next_check_at": "2026-11-01T09:30:00Z",
    "object": "<string>",
    "records": [
      {
        "name": "<string>",
        "type": "<string>",
        "value": "<string>"
      }
    ],
    "status": "<string>",
    "verified_at": "2026-11-01T09:30:00Z"
  }
}
```

---

Index of all dimmi docs: https://trydimmi.com/llms.txt (full text: https://trydimmi.com/llms-full.txt)
