Hosting: Orders
List orders
Retrieve a paginated list of orders accessible to the authenticated client.
Only Web and Cloud hosting orders are listed. Agency Plan orders are listed by GET /api/agency-hosting/v1/orders.
This endpoint returns orders of your hosting accounts as well as orders of other client hosting accounts that have shared access with you.
Use the available query parameters to filter results by order statuses or specific order IDs for more targeted results.
get/api/hosting/v1/orders
Request
- Base URL: https://developers.hostinger.com
- URL: https://developers.hostinger.com/api/hosting/v1/orders
- Auth: HTTP bearer
Query parameters
pageinteger
Example:1
Page number
per_pageinteger
Example:25
Number of items per page
statusesstring[] nullable
Filter by order statuses
[ "active", "suspended" ]
order_idsinteger[] nullable
Filter by specific order IDs
[ 12345, 67890 ]
Response
Success response
Example response
{
"data": [
{
"id": 12345,
"client_id": 67890,
"subscription_id": "sub_abc123",
"created_at": "2023-10-08T12:00:00+00:00",
"plan": {
"name": "hostinger_business"
},
"status": "active"
}
],
"meta": {
"current_page": 1,
"per_page": 15,
"total": 100
}
}Changes
No recorded changes to this operation across all 130 revisions of this API.