Skip to main content
POST
Create DNS record

Authorizations

Authorization
string
header
required

Registrar API Bearer token. Obtain from dashboard at /dashboard/seller/api-access after requesting Registrar API access.

Path Parameters

domain_name
string
required

Domain name (e.g., 'example.com')

Body

application/json
type
enum<string>
required
Available options:
A,
AAAA,
CNAME,
MX,
TXT
Example:

"A"

content
string
required
Example:

"192.0.2.1"

name
string

Subdomain name (use empty string or '@' for root domain)

Example:

"www"

ttl
integer
default:3600
Example:

3601

comment
string

Optional comment for the record

priority
integer

Priority for MX records

Response

DNS record created successfully

success
boolean
Example:

true

message
string
Example:

"DNS record created successfully"

data
object