---
title: "Config Type"
description: "The Application Config type is a required input to the top-level"
url: https://developers.dhis2.org/docs/app-runtime/types/Config
source: https://github.com/dhis2/app-runtime/tree/master/docs/types/Config.md
---

# Config Type

The Application Config type is a required input to the top-level
[Provider](https://developers.dhis2.org/docs/app-runtime/provider.md), and can be accessed from within an application
with the [useConfig](https://developers.dhis2.org/docs/app-runtime/hooks/useConfig.md) hook.

|    Property    |   Type   | Description                                                                                                     |
| :------------: | :------: | --------------------------------------------------------------------------------------------------------------- |
|  **baseUrl**   | _string_ | The base URL of the DHIS2 Core server, i.e. `https://play.dhis2.org/dev`                                        |
| **apiVersion** | _number_ | The default API version to use. API request resource paths will be expanded to `{baseUrl}/api/{version}/{path}` |
