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/xml-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/xml-api/getuserdomains.php"

Response

💡

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

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