Skip to main content
POST
/
v1
/
domains
/
{id}
/
verify
Verify Domain
curl --request POST \
  --url https://api.example.com/v1/domains/{id}/verify
id
string
required
The ID of the domain to verify.

Request

cURL
curl -X POST https://www.unosend.co/api/v1/domains/dom_123/verify \
  -H "Authorization: Bearer un_xxxxxxxxxx"

Response

200
{
  "id": "dom_123",
  "domain": "yourdomain.com",
  "status": "verified",
  "dns_records": [
    {
      "type": "TXT",
      "name": "_unosend",
      "value": "unosend-verification=abc123",
      "purpose": "verification",
      "verified": true
    },
    {
      "type": "TXT",
      "name": "@",
      "value": "v=spf1 include:_spf.unosend.co ~all",
      "purpose": "spf",
      "verified": true
    }
  ],
  "verified_at": "2024-01-15T11:00:00.000Z"
}
DNS changes can take up to 48 hours to propagate. If verification fails, try again later.