DNSimple Registrar

This is a multi-tenant domain registrar service. This page gives a short overview of the public API. Each endpoint returns JSON. Each endpoint uses the usual HTTP verbs and status codes.

For request and response examples for each endpoint, see the full API documentation.

How to start

  1. Get an OAuth 2.1 bearer token. See Authentication.
  2. Find your tenant ID. Then select a TLD association.
  3. Use the endpoints below. Each request must carry the bearer token as Authorization: Bearer <token>.

The API documentation gives an example request and an example response for each endpoint below.

Authentication

The server implements OAuth 2.1 with PKCE, refresh-token rotation with reuse detection, and unauthenticated Dynamic Client Registration.

Discovery
GET /.well-known/oauth-authorization-server
Authorize (interactive, with PKCE)
GET /oauth/authorize
Sign in (a step of the authorize flow)
POST /oauth/authorize/login
Two-factor challenge (TOTP)
POST /oauth/authorize/totp
Approve or deny (a step of the authorize flow)
POST /oauth/authorize/consent
Log out
POST /oauth/logout
Token exchange & refresh
POST /oauth/token
Token introspection
POST /oauth/introspect
Revocation
POST /oauth/revoke
Register a client (DCR, unauthenticated)
POST /oauth/register

Capability areas

Each tenant-scoped endpoint starts with /api/v1/tenants/:tenant_id/.

Domains

Change of registrant

A change to the registrant Name, Organization, or Email is material. It needs a confirmation from the two parties.

Contacts

Hosts — nameservers

Registry accounts and certificates

TLD associations — read-only

Pricing

Registrant agreement + acceptance

Tenant administration

Current user — not tenant-scoped

Audit events — read-only

The audit log is the evidence of each action. A notification is different: it is an item that needs your attention.

Notifications

Disputes — read-only

Abuse

Directory — RDAP-style lookups

These read-only lookups below /directory/v1/ are public. They need no bearer token. The service applies a rate limit to each source IP address. A lookup returns only the fields that the disclosure flags of the contact permit.

Callbacks

These endpoints need no authentication. Each one completes a workflow that a token from the server started. Usually the service sends that token to the end user in an email message or an SMS message. Each endpoint takes its token in the URL or in the body. A call to one of these endpoints is the confirmation.

Registrar-hosted pages

These paths give HTML, not JSON. They let a person complete an operation without an API client. An email message links to them when the tenant has no page of its own. Each page is a second front end onto the endpoints above, and it adds no rule.