🎉 Support ticket and account removal API documentation is now available! Changelog...
XML API
Domains
Get a user's domains

Get a user's domains

This endpoint gets the domains connected to a user's vPanel account.

HTTP Endpoint

POST https://panel.myownfreehost.net/json-api/getuserdomains.php

Usage

⚠️

Make sure to use the username given by vPanel (e.g hname_12345678) here and not the username you set yourself.


curl -X POST -u username:password -d "api_user=username&api_key=password&username=hname_12345678" "https://panel.myownfreehost.net/json-api/getuserdomains.php"

Response

💡

The above request returns a list/array structured like the following:


[["ACTIVE","subdomain.example.com"]]