API reference (Resolved)
OpenAPI reference documentation for DigiCert® DNS (Resolved)
5 minute read
DigiCert® DNS API lets you automate domain and DNS infrastructure management. Use it to manage primary and secondary domains, primary-domain records, reusable DNS settings, access controls, and reporting workflows from CI/CD pipelines and infrastructure automation systems.
The DigiCert DNS API uses a two-step authentication flow. Exchange an API key for a JSON Web Token (JWT), then send that token as a bearer token with each request to the manager API.
<prefix_identifier>.<secretkey>./auth/login endpoint to receive a JWT access token.curl -X POST https://authentication.digicertdns.com/v1/auth/login \
-H "Authorization: Bearer <prefix_identifier>.<secretkey>"
Include the returned access_token in the Authorization header of all other requests:
curl -X GET https://manager.digicertdns.com/v1/domains/primary \
-H "Authorization: Bearer <access_token>"
expires_in: 3600). Reuse the token until it expires, then request a new token from /auth/login.The API uses separate production hosts for authentication and resource operations.
| Purpose | Base URL | Operations |
|---|---|---|
| Authentication | https://authentication.digicertdns.com/v1 | POST /auth/login |
| Manager API | https://manager.digicertdns.com/v1 | All other operations |
Append the endpoint path to the appropriate base URL. For example, use https://manager.digicertdns.com/v1/domains/primary to list primary domains.
DigiCert DNS manages two types of domains. The type determines the source of the zone data and how records are updated.
| Type | Description | How records are managed |
|---|---|---|
| Primary | DigiCert DNS is the authoritative source for the zone | Create and manage records directly through the API |
| Secondary | An external primary nameserver is the source of the zone data | Retrieve records that DigiCert DNS receives through AXFR; records are read-only through the API |
IP sets define zone-transfer and notification addresses. Primary IP sets use transferTo and notifyTo addresses for external secondary servers. Secondary IP sets use transferFrom and notifyFrom addresses for external primary servers. You can optionally associate a TSIG key with an IP set to authenticate zone transfers.
Primary domains support full create, read, update, and delete operations for the following record types.
| Type | Purpose |
|---|---|
| A | Maps a hostname to an IPv4 address |
| AAAA | Maps a hostname to an IPv6 address |
| CNAME | Aliases one hostname to another |
| MX | Directs mail to the responsible mail servers |
| NS | Delegates a zone to authoritative nameservers |
| TXT | Stores arbitrary text, such as SPF or domain-verification values |
| SRV | Advertises the location of a service |
| PTR | Maps an IP address to a hostname for reverse lookups |
| CAA | Specifies which certificate authorities can issue certificates for the domain |
Use POST /domains/primary/{domainId}/records/bulk/delete to delete selected records from a primary domain in a single request. To delete all records, use DELETE /domains/primary/{domainId}/records with the required confirmDeleteAll query parameter.
DigiCert DNS provides role-based access controls for users, service API keys, and DNS resources.
/auth/login before every request.202 Accepted when the request is accepted for processing or 204 No Content after successful deletion. Treat 202 as acceptance of the request, not as confirmation that deletion is complete. Confirm the domain’s state before starting dependent operations.| Method | Endpoint | Description |
|---|---|---|
| POST | /auth/login | Exchange an API key for a JWT access token |
| GET | /domains/primary | List all primary domains |
| POST | /domains/primary | Create a new primary domain |
| POST | /domains/primary/bulk | Provision multiple primary domains in bulk |
| GET | /domains/primary/{domainId}/records | List all records for a primary domain |
| POST | /domains/primary/{domainId}/records/A | Create an A record for a primary domain |
| PUT | /domains/primary/{domainId}/records/A/{recordId} | Update a specific A record |
| GET | /domains/secondary | List all secondary domains |
| POST | /tsig | Create a TSIG key |
| GET | /ipsets/primary | List IP sets for primary domains |
| POST | /accessmanagement/api-key | Generate a new API key |
| POST | /accessmanagement/api-key/{apiKeyId}/rotate | Rotate an existing API key |
| GET | /health/primary/{domainId}/health | Return the health status of a primary domain |
| GET | /activitylog | Retrieve the account activity log |
| GET | /accounting/quota | Return the current usage quota |
OpenAPI reference documentation for DigiCert® DNS (Resolved)
OpenAPI reference documentation for DigiCert® DNS (Unresolved)
Start typing to search across DigiCert documentation.