---
title: "Get Hosting Configuration"
method: GET
path: "/groups/{groupId}/apps/{appId}/hosting/config"
tags: ["hosting"]
---

# Get Hosting Configuration

`GET /groups/{groupId}/apps/{appId}/hosting/config`

Returns the current hosting configuration. Hosting is active
if the response includes `status: "setup_ok"`.

## Response `200`

Successfully get hosting configuration

- HostingConfiguration
  - `enabled` boolean
  - `status` 'setup_ok' | 'change_in_progress' | 'change_failed' | 'change_failed_fatal'
  - `default_domain` object
    - `provider_type` string
    - `config` object
      - `app_default_domain` string — Default domain of hosted Atlas App Services App provided by App Services.

---

[API](https://skmtc.net/mongodb/apis/mongodb-atlas-app-services-admin-api.md) · [All operations](https://skmtc.net/mongodb/apis/mongodb-atlas-app-services-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mongodb/mongodb-atlas-app-services-admin-api/revisions/1365ab72bc03/schema)
