GET /user/domains
Retrieve all domains for the authenticated client.
Request
- Base URLhttps://developers.whmcs.com/api/v2
- Authnone declared
Query parameters
pageinteger
Example:1
Page number
page_sizeinteger
Example:10
Number of items per page. The maximum allowed value is 500. The default value is 50.
Response
A list of all domains
Example response
{
"data": [
{
"id": 123456,
"expiry_date": "2026-03-14",
"days_to_expiry": 45,
"days_of_grace_period": 30,
"days_of_redemption_period": 30,
"days_left_in_period": 15,
"renewal_periods": [
{
"pricing": {
"value": "19.99",
"code": "USD",
"display_value": "$19.99 USD",
"prefix": "$",
"suffix": " USD"
}
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.