---
title: "MapTiler Server using Admin API | Guides | Self hosting | Map server"
description: "Overview of secure authentication and requests using Admin API."
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# MapTiler Server using Admin API

This article provides an overview of the Admin API. These APIs require secure authentication, provided by tokens that can be found in the Credentials section of the settings.

## Using tokens for secure authentication

Navigate to the **Credentials** section of the **Settings**. Click on the create new credential if you have not done so yet.

![Screenshot\_from\_2022-08-03\_15-53-14.png](./Screenshot_from_2022-08-03_15-53-14_9e7b49534e.png)

After creating a credential, you will be able to copy the token. **Keep this token private** - treat it the same way as a password.

![Screenshot\_from\_2022-08-03\_15-52-44.png](./Screenshot_from_2022-08-03_15-52-44_368b1721fa.png)

You find a link to the full **documentation** of Admin API, if you wish to get more information about supported requests.

![Screenshot\_from\_2022-08-03\_15-52-03.png](./Screenshot_from_2022-08-03_15-52-03_fb9d7d3f45.webp)

## Using Admin API

You can send your requests to the API using any API client or event curl. Make sure you set the **Authorization** header in the form of **Token <YOUR\_TOKEN>**, so that we know it’s you making the requests.

If the request requires a parameter, you may need to add **Content-type** header and required data.

Examples with curl:

```text
curl -X POST -H "Authorization: Token <YOUR_TOKEN>" "<YOUR_SERVER>/api/v1/admin/<YOUR_REQUEST>"
```

```text
curl -X POST -H "Authorization: Token <YOUR_TOKEN>" -H "Content-type: application/json" -d '{"<PARAM_KEY>": <PARAM_VALUE>}' "<YOUR_SERVER>/api/v1/admin/<YOUR_REQUEST>"
```
