RESTful API for managing domains, DNS records, and related services at Name.com. Access via HTTPS at api.name.com (production) or api.dev.name.com (testing). Supports standard authentication, rate-limited to 20 requests/second.
https://docs.name.com/_mock/coreapi/namecom.api/
https://api.dev.name.com/
CreateAccountRequest has the information that is needed to create an account with the CreateAccount function.
The account details for the new account being created.
AccountName is the unique name of the account. Minimum length is 6 characters, maximum length is 60.
When set to true, domains in this account will be automatically renewed before expiration.
Contact information associated with this account.
CreateDate is the date the account was created.
Must be set to true to indicate acceptance of the API Terms of Service.
https://docs.name.com/_mock/coreapi/namecom.api/core/v1/accounts
https://api.dev.name.com/core/v1/accounts
curl -i -X POST \
-u <username>:<password> \
https://docs.name.com/_mock/coreapi/namecom.api/core/v1/accounts \
-H 'Content-Type: application/json' \
-d '{
"account": {
"accountName": "reseller_subaccount",
"password": "SecureP4ss!",
"contacts": {
"registrant": {
"firstName": "Jane",
"lastName": "Doe",
"address1": "123 Main St.",
"city": "Denver",
"state": "CO",
"zip": "12345",
"country": "US",
"phone": "+1.3035551212",
"email": "admin@example.net"
}
}
},
"apiTos": true,
"tos": true
}'
A successful response containing the newly created account details and credentials.
AccountName is the unique user-assigned name of newly created account.
The authentication token that should be used to access the API. This value is only returned once upon account creation.
{ "accountName": "new_reseller_account", "apiToken": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "apiTokenName": "my_reseller_token" }