DNS API

Automate DNS records over a simple REST API. Create, update, and delete records programmatically for certificate issuance, dynamic infrastructure, and deployment pipelines.

Base URL

https://api.yeil.app/v1/dns

Create your first record

  1. 1

    Get an API key

    Open a team in team.yeil.app, go to its app account, then Apps. Mint a key; the secret is shown once.

  2. 2

    Find your zone id

    Look up the zone that owns the name you want to manage.

    curl -H "Authorization: Bearer $API_KEY" \
      "https://api.yeil.app/v1/dns/zones?suffix_of=example.com"
  3. 3

    Create a record

    curl -X POST \
      -H "Authorization: Bearer $API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"name":"@","type":"A","content":"203.0.113.10","ttl":300}' \
      "https://api.yeil.app/v1/dns/zones/$ZONE_ID/records"

Next: Authentication and API reference.