---
title: "Return application domains"
method: GET
path: "/WebApp/get_owned_domains"
tags: ["WebApp", "Web Apps"]
---

# Return application domains

`GET /WebApp/get_owned_domains`

## Request

- Base URL: `https://cpanel-server.tld:2083/execute`
- URL: `https://cpanel-server.tld:2083/execute/WebApp/get_owned_domains`
- Auth: HTTP basic

This function reports which of the account's domains are served by a
deployed web application.


**Note:**

This function does not require the `webapp`
account feature. Turning the feature off does not stop or remove a
running application, so an interface needs a way to tell that an
application still owns a domain.

## Response `200`

HTTP Request was successful.

- object
  - `apiversion` integer: The version of the API.
  - `func` string: The name of the method called.
  - `module` string: The name of the module called.
  - `result` object
    - `data` object[]: The domains served by a deployed web application. An empty array means no deployed application owns a domain.
      - `domain` string: The domain the application serves.
      - `runtime` string: The application's software system (runtime).
    - `errors` string[], nullable: List of errors if the API failed.
    - `messages` string[], nullable: List of messages generated by the API.
    - `metadata` object
    - `status` 0 | 1: - `1` - Success. - `0` - Failed. Check the `errors` field for more details.
    - `warnings` string[], nullable: List of warnings generated by the API. Warnings describe non-critical failures or other problematic conditions noted while running a API.

## Changes

- **2026-11-04** `05239220da37`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/cpanel/apis/cpanel-uapi/changes/WebApp/get_owned_domains/get.md)

---

[API](https://skmtc.dev/cpanel/apis/cpanel-uapi.md) - [All operations](https://skmtc.dev/cpanel/apis/cpanel-uapi/llms.txt) - [OpenAPI document](https://skmtc.dev/cpanel/apis/cpanel-uapi/revisions/05239220da37?raw)
