API Documentation

Complete API Reference

Domain Management API

Domain Management API Documentation

Authentication
Configure your API base URL and authentication key

Enter your API base URL (without trailing slash)

Required Header

api-key: your-api-key-here
GET/domain-info
Get Domain Information
Retrieve detailed information about a domain
GET /domain-info?domain=ind.mom
Headers:
  api-key: your-api-key-here
{
  "success": true,
  "data": {
    "domain": "ind.mom",
    "auto_billing": false,
    "whois_privacy": true,
    "locked": false,
    "created": "2023-01-15",
    "expiration_date": "2024-01-15",
    "nameservers": ["ns1.example.com", "ns2.example.com"],
    "domain_id": "12345",
    "epp_key": "ABC123XYZ"
  }
}
PATCH/update-nameserver
Update Nameservers
Update the nameservers for a domain
PATCH /update-nameserver?domain=ind.mom
Headers:
  api-key: your-api-key-here
  Content-Type: application/json

Body:
{
  "nameservers": ["ns1.secureparkme.com", "ns2.secureparkme.com"]
}
{
  "success": true,
  "result": {
    "status": true,
    "message": "Nameservers updated successfully"
  }
}
PATCH/update-settings
Update Domain Settings
Update privacy and lock settings for a domain
PATCH /update-settings?domain=ind.mom
Headers:
  api-key: your-api-key-here
  Content-Type: application/json

Body:
{
  "privacy": true,
  "is_locked": false
}
{
  "success": true,
  "result": {
    "status": true,
    "message": "Domain settings updated successfully"
  }
}
PATCH/update-contact
Update Registrant Contact
Update the registrant contact information for a domain
PATCH /update-contact?domain=ind.mom&contactType=registrant
Headers:
  api-key: your-api-key-here
  Content-Type: application/json

Body:
{
  "contact": {
    "first_name": "John",
    "last_name": "Doe",
    "email": "john.doe@example.com",
    "address": "123 Main St",
    "city": "New York",
    "state": "NY",
    "post_code": "10001",
    "country": "IN",
    "country_code": 1,
    "phone": "+1234567890",
    "account_type": "business",
    "business_name": "new",
    "business_number_type": "ABN",
    "business_number": "12345678"
  }
}
{
  "success": true,
  "result": {
    "status": true,
    "message": "Registrant contact updated successfully"
  }
}
PATCH/update-contact
Update Customer Contact
Update the customer contact information for a domain
PATCH /update-contact?domain=ind.mom&contactType=customer
Headers:
  api-key: your-api-key-here
  Content-Type: application/json

Body:
{
  "contact": {
    "username": "john_doe43434",
    "password": "NWx9673z9gptzVJN",
    "first_name": "John",
    "last_name": "Doe",
    "address": "123 Example Street",
    "city": "Testville",
    "country": "AU",
    "state": "WA",
    "post_code": "00000",
    "country_code": 61,
    "phone": "912345678",
    "mobile": "912345678",
    "email": "john.doe@example.com",
    "account_type": "business",
    "business_name": "John & Doe Corp",
    "business_number_type": "ABN",
    "business_number": "12345678"
  }
}
{
  "success": true,
  "result": {
    "status": true,
    "message": "Customer contact updated successfully"
  }
}