Responses

  • 200 application/json

    The listing of Domains services on your account.

    Hide response attributes Show response attributes object
    • domain_id string

      The ID number of the domain in our billing system.

    • domain_hostname string

      The hostname of the domain.

    • domain_expire_date string(date-time)

      The expiration date of the domain.

    • cost string

      The cost of the domain.

    • domain_status string

      The billing / registration status of the domain.

  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • code string Required
    • message string Required
GET /domains
curl \
 --request GET 'https://my.interserver.net/apiv2/domains' \
 --header "X-API-KEY: $API_KEY"
Response examples (200)
[
  {
    "cost": "11.00",
    "domain_id": "418295",
    "domain_status": "canceled",
    "domain_hostname": "unixsrv10.com",
    "domain_expire_date": ""
  },
  {
    "cost": "18.00",
    "domain_id": "592337",
    "domain_status": "active",
    "domain_hostname": "detain.dev",
    "domain_expire_date": "2023-08-14T00:59:38.000Z"
  }
]
Response examples (401)
{
  "code": "string",
  "message": "string"
}