GET /api/hosting/v1/websites returns empty data array despite active hosting sites in hPanel #51
manish-stacks
started this conversation in
Feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Hostinger API team,
I am facing an issue with the GET /api/hosting/v1/websites endpoint.
The API returns 200 OK, but the response is always:
{
"data": [],
"meta": {
"current_page": 1,
"per_page": 25,
"total": 0
}
}
However, I do have active hosting websites in my account (around 85 websites visible in hPanel).
Details:
Endpoint: GET /api/hosting/v1/websites
Authentication: Bearer token (valid and regenerated)
Account: hostinghbs@gmail.com
Hosting status: Active (85 websites in hPanel)
I have already:
Regenerated the token
Verified correct account
Confirmed request is successful (200 OK)
But still the API returns empty data.
Please investigate this mismatch between hPanel and API response.
Beta Was this translation helpful? Give feedback.
All reactions