-
Getting Started
-
Domains
- Authentication & Headers
- Get Domain Pricing
- Search Domain Availability
- List Domains
- Register Domain
- Transfer Domain
- Get Registrar Domain Info
- Change Nameservers
- Registrar Lock (Enable/Disable)
- Whois Privacy (Toggle)
- Dns Management (Get/Set)
- Get Epp/Authorization Code
- Renew Domain
- Restore Expired Domain
- Get Local Domain Details
- Register Custom Nameserver (Glue Record)
- List Contact Profiles
- Create Contact Profile
- Update Contact Profile
- Assign Contacts To Domain
-
SMM | Lab (SEO)
-
Hosted Payments
-
Crypto Payments
-
Messaging
-
WhatsApp API
-
Email API
-
IPTV
Dns Management (Get/Set)
Managing Custom DNS Records: Allows you to configure DNS records. To use this effectively, your domain must currently be set up with UMVA's default registrar DNS nameservers. Update your records in bulk across the root domain and assorted subdomains.
Endpoints:
GET /{id}/dns: Retrieve current cached records.POST /{id}/dns: Bulk update your records.
Data Constraints for POST (Case-Insensitive):
Record valid type structures must be strictly verified against the following arrays: ['A', 'AAAA', 'CNAME', 'MX', 'TXT', 'SRV'].
Parameters for POST:
id(required, URL parameter): The local ID of the domainttl(optional, integer): Time-to-Live numeric value in seconds. Constraint: Minimum:60, Maximum:86400. Defaults to300.main_records(optional, array): Array of main records {type, value, priority}subdomains(optional, array): Array of subdomain records {name, type, value, priority}
Example POST Request:
curl -X POST "https://umva.net/api/domain/123/dns"
-H "X-API-Key: your_api_key_here"
-H "Content-Type: application/json"
-d '{
"ttl": 300,
"main_records": [{"type": "MX", "value": "mail.site.com", "priority": "10"}],
"subdomains": [{"name": "app", "type": "A", "value": "1.2.3.4"}]
}'
Success Response Example (HTTP 200 GET):
{
"success": true,
"data": {
"domain": "example.com",
"using_dynadot_dns": true,
"ttl": 300,
"main_records": [{"type": "MX", "value": "mail.site.com", "priority": "10"}],
"subdomain_records": [{"name": "app", "type": "A", "value": "1.2.3.4"}]
}
}
Success Response Example (HTTP 200 POST):
{
"success": true,
"message": "DNS records updated successfully.",
"data": {
"domain": "example.com",
"records_set": {
"main_records": 1,
"subdomain_records": 1,
"ttl": 300
}
}
}
Error Response Example (HTTP 500):
{
"success": false,
"message": "Domain is not using registrar DNS. Please change nameservers first."
}