---
title: "Verify domain DNS"
method: POST
path: "/api/public/email-channel/verify/{id}"
tags: ["email-channel"]
---

# Verify domain DNS

`POST /api/public/email-channel/verify/{id}`

Asks SendGrid to re-check the DNS records for this channel's domain and, if inbound parse has been configured, also checks the MX. Returns the channel with the updated outbound_validation_status and inbound_validation_status.

## Path parameters

- `id` string, uuid, required

## Headers

- `x-api-key` string, required

## Response `200`

- EmailChannelResponseDto
  - `id` string, required
  - `sender_address` string, required
  - `sender_name` string, required
  - `created_at` string, date-time, required
  - `email_domain` EmailDomainResponseDto, required
    - `id` string, required
    - `domain` string, required
    - `outbound_validation_status` 'not_configured' | 'pending' | 'verified' | 'failed', required
    - `inbound_validation_status` 'not_configured' | 'pending' | 'verified' | 'failed', required
    - `dns_records` DnsRecordResponseDto[]
      - `id` string, required
      - `record_type` 'cname' | 'mx' | 'txt', required
      - `host` string, required
      - `data` string, required
      - `valid` boolean, required
      - `purpose` 'spf' | 'dkim1' | 'dkim2' | 'inbound_mx', required
    - `planned_inbound_mx` PlannedInboundMxResponseDto
      - `host` string, required
      - `data` string, required
    - `connection_method` 'manual' | 'shared', required
    - `subdomain_slug` string, nullable

## Other responses

- `404` — Email channel not found
- `default`

---

[API](https://skmtc.net/vambe/apis/vambe-ai-api.md) · [All operations](https://skmtc.net/vambe/apis/vambe-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vambe/vambe-ai-api/revisions/e206709d4be5/schema)
