Domains

Verify domain DNS or apply DNS via Cloudflare, Vercel, or GoDaddy

post/domains/{id}

Request

  • Base URL: https://api.groundmail.dev
  • URL: https://api.groundmail.dev/domains/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Domain id or domain name

Request body

action'verify' | 'apply' required
provider'cloudflare' | 'godaddy' | 'vercel'

Required when action is apply

Response

Domain verified, or DNS apply results

OR

Example response

{
  "domain": {
    "name": "example.com"
  },
  "records": [
    {
      "type": "TXT"
    }
  ],
  "inbound_records": [
    {
      "type": "TXT"
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.