OpenAPI 3.0.0raw.githubusercontent.com2026-08-203414331.2 MB

17d492a8f422

Agency Hosting: Websites

List Agency Plan websites

Retrieve a paginated list of Agency Plan websites (H5G, Builder, and Horizons) accessible to the authenticated client.

This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you.

The response shape differs per platform — see the platform field on each item.

Use website_types to list only websites of a given detected type, e.g. only WordPress websites (website_types=wordpress) or only Node.js websites (website_types=nodejs). Combine with order_ids, states, or domain for more targeted results.

get/api/agency-hosting/v1/websites

Query parameters

pageinteger
Example:1

Page number

per_pageinteger
Example:25

Number of items per page

order_idsinteger[] nullable

Filter by order IDs. Accepts a comma-separated list.

[
  12345,
  67890
]
statesstring[] nullable

Filter by website state. Accepts a comma-separated list.

[
  "active"
]
website_typesstring[] nullable

Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.

[
  "wordpress",
  "nodejs"
]
domainstring nullable
Example:example.com

Filter by domain name (case-insensitive substring match)

Response

Success response

Example response

{
  "data": [
    {
      "id": "zpwlGlp19",
      "client_id": 123,
      "order_id": 1234,
      "platform": "h5g",
      "state": "active",
      "created_at": "2024-05-29T05:49:49.067239Z",
      "plan": {
        "name": "hostinger_premium",
        "display_name": "Premium Hosting",
        "has_cdn": true
      },
      "details": {
        "uid": "zpwlGlp19",
        "ipv4": "192.161.10.1",
        "flavor": "wp-6.2.0",
        "type": "wordpress",
        "username": "u123456789",
        "description": "Very awesome website",
        "state": "active",
        "created_at": "2024-05-29T05:49:49.067239Z"
      },
      "suspension_reason": "non_payment"
    }
  ],
  "meta": {
    "current_page": 1,
    "per_page": 15,
    "total": 100
  }
}