API

API Key

In order to access your data using Umami Cloud, you will need to generate an API key.

All API routes in the reference section are available in Umami Cloud using an API key, with the exception of some routes listed in the Not Allowed section.

Create your key#

Once logged in, click on the side nav profile button then click Settings.

Navigate to API keys and click on the Create key button.

You can reveal your key by clicking on the visible icon in the text input.

Using your key#

You can access your Umami Cloud data by querying the following address.

https://api.umami.is/v1

Pass your API key in the Authorization header using the Bearer authentication scheme.

For example, with curl it would look like this:

Using your key with API Client#

Set the following environment variables to have the API client use your API key.

More details on using the API client can be found in API client.

Region#

The region will default to the region of the Account that owns the API-KEY. You can specify the region by adding the region to the API call as the first path.

https://api.umami.is/v1/us

https://api.umami.is/v1/eu

Limits#

Each API key is limited to 50 calls every 15 seconds.

Not allowed#

The following API routes are not made available using your API key.

Deleting your key#

From API keys click the Delete button for the specific key to be deleted.

Once an API key is deleted, it cannot be recovered.