registerDomain
Register a new domain for 1 to 10 years by supplying registrant details or an existing contact ID, and complete payment with account funds or a saved payment profile.
Instructions
Register a domain. Spends account funds (or payment_id). Prefer an existing contact_id. [https://www.namesilo.com/api-reference]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad | No | Mailing address | |
| cp | No | Company | |
| ct | No | Country (ISO 3166-1 alpha-2, e.g. US) | |
| cy | No | City | |
| em | No | Email address | |
| fn | No | First name (or pass contact_id) | |
| fx | No | Fax number | |
| ln | No | Last name | |
| ph | No | Phone number | |
| st | No | State / province / territory | |
| zp | No | ZIP / postal code | |
| ad2 | No | Mailing address line 2 | |
| ns1 | No | Nameserver 1 | |
| ns2 | No | Nameserver 2 | |
| ns3 | No | Nameserver 3 | |
| ns4 | No | Nameserver 4 | |
| ns5 | No | Nameserver 5 | |
| ns6 | No | Nameserver 6 | |
| ns7 | No | Nameserver 7 | |
| ns8 | No | Nameserver 8 | |
| ns9 | No | Nameserver 9 | |
| caag | No | CIRA agreement version (.ca domains) | |
| calf | No | CIRA legal form (.ca domains) | |
| caln | No | CIRA language (.ca domains) | |
| cawd | No | CIRA WHOIS display (.ca domains) | |
| ns10 | No | Nameserver 10 | |
| ns11 | No | Nameserver 11 | |
| ns12 | No | Nameserver 12 | |
| ns13 | No | Nameserver 13 | |
| usap | No | US application purpose (.us domains) | |
| usnc | No | US nexus category (.us domains) | |
| years | Yes | Registration term in years (typically 1–10) | |
| coupon | No | Coupon code | |
| domain | Yes | Domain to register | |
| private | No | Enable free WHOIS privacy (1/true = yes, 0/false = no) | |
| portfolio | No | Portfolio to assign the new domain to | |
| auto_renew | No | Enable auto-renewal (1/true = yes, 0/false = no) | |
| contact_id | No | Existing contact profile ID | |
| payment_id | No | Verified credit-card profile ID. Omit to charge account funds | |
| nameservers | No | 2–13 nameservers; mapped to ns1–ns13 |