GET /user/domains/{domain_id}

Retrieve a specific domain for the authenticated client.

Request

  • Base URL
    https://developers.whmcs.com/api/v2
  • Auth
    none declared

Path parameters

domain_idinteger required
Example:789

Domain ID

Response

Domain information including renewal information

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.