Register a new domain name for the specified number of years and with the specified attributes.
*You must have at least one verified credit card or adequate account funds to utilize these commands
Sample RequestRequest Parameters
domain: The domain you want to register
years: The number of years for which you would like to register the domain (must be a number between 1-10)
payment_id: The ID number for the
verified credit card to use for the transaction. If you do not specify a payment_id, we will attempt to process the transaction using your account funds.
private: Whether or not you want the registration to utilize our free WHOIS privacy service. Use "1" for private, and "0" for not private. If not supplied, the domain will be registered without privacy.
auto_renew: Whether or not you want the domain to auto-renew upon its expiration. Use "1" to auto-renew, and "0" not to auto-renew. If not supplied, the domain will be set to auto-renew.
portfolio: The encoded name of the portfolio to assign the domain to upon registration. If the portfolio name is not currently in use, our system will automatically create the portfolio and assign the domain to it.
ns1-13: You can provide up to 13 nameservers to use for the domain registration. If you do not provide any nameservers, or any of the checks below do not pass, our default nameservers will be used.
Must provide at least 2 nameservers
All provided nameservers must already exist at the requisite registry. If not all nameservers exist, you will receive a 301 response indicating that the domain was registered, but our nameservers were used.
coupon: The coupon code to apply to this order
Passing Contact Information: You can optionally pass the following fields to use for the WHOIS contact information (registrant, administrative, billing and technical) for the domain.
If you do not pass a value for ALL of the required fields, anything you do pass for contact information will be ignored and your default account contact profile will be used
If there is a problem with any of the data you provide, you will receive a response code of 302 indicating a successful domain registration, but that your account's default contact profile was used (you can configure your account to reject orders with invalid contact information via the Reseller Manager page in your account.).
All values must be encoded.
Character limits for each field are in parentheses.
.CA Domains: You must use one of the two following options when registering .ca domains:
You can specify a contact ID (see "Passing Contact ID" section below) so long as that contact ID is already setup with the requisite .ca information and is set as an Individual legal type.
If you do not pass a contact ID, you must have a "Default .ca Profile" in place to register .ca domains via the API. You can create your Default .ca Profile on the Profile Manager page in your account.
Passing Contact ID: You may alternatively pass the internal NameSilo contact profile ID. You can get this value by running a getAccountContacts command.
If you do not pass a valid contact ID, you will receive a response code of 302 indicating a successful domain registration, but that your account's default contact profile was used (you can configure your account to reject orders with invalid contact information via the Reseller Manager page in your account.).
contact_id: The contact profile ID to assign to this domain