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
HttpResponseMessage| Name | 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-11-04T11:34:28.6231477-07:00",
"Locked": false,
"AutoRenew": false,
"WhoIsPrivacy": false,
"Category": "Default Category",
"UpgradedDomain": false,
"AuthCode": "ab3de$gh1jk"
},
{
"DomainName": "example2.com",
"Status": "active",
"ExpirationDate": "2026-11-05T11:34:28.6387694-07:00",
"Locked": false,
"AutoRenew": false,
"WhoIsPrivacy": false,
"Category": "Other Category",
"UpgradedDomain": false,
"AuthCode": "kj1hg#ed4ba"
}
]
}
