GET account/domains?page={page}&domainsPerPage={domainsPerPage}
Gets a list of domains from the account.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
page |
The page in the result set to retrieve. Default: 1. |
integer |
Default value is 1 |
domainsPerPage |
The number of domains to include per page. The default is 20. The maximum is 100. |
integer |
Default value is 20 |
Body Parameters
None.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "ResultsTotal": 2, "CurrentPage": 1, "Domains": [ { "DomainName": "example.com", "Status": "expired", "ExpirationDate": "2025-05-11T13:06:07.9329685-06:00", "Locked": false, "AutoRenew": false, "WhoIsPrivacy": false, "Category": "Default Category", "UpgradedDomain": false, "AuthCode": "ab3de$gh1jk" }, { "DomainName": "example2.com", "Status": "active", "ExpirationDate": "2026-05-12T13:06:07.944969-06:00", "Locked": false, "AutoRenew": false, "WhoIsPrivacy": false, "Category": "Other Category", "UpgradedDomain": false, "AuthCode": "kj1hg#ed4ba" } ] }