Skip to main content
POST
/
v1
/
domains
/
{id}
/
verify
Verify Domain
curl --request POST \
  --url https://api.unosend.co/v1/domains/{id}/verify \
  --header 'Authorization: Bearer <token>'

Documentation Index

Fetch the complete documentation index at: https://docs.unosend.co/llms.txt

Use this file to discover all available pages before exploring further.

id
string
required
The ID of the domain to verify.

Request

curl -X POST https://api.unosend.co/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.