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

Request

cURL
curl https://www.unosend.co/api/v1/domains/dom_123 \
  -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
    }
  ],
  "created_at": "2024-01-15T10:30:00.000Z",
  "verified_at": "2024-01-15T11:00:00.000Z"
}