---
title: "Create an application to connect reported metrics"
method: POST
path: "/api/admin/metrics/applications/{appName}"
tags: ["Metrics"]
---

# Create an application to connect reported metrics

`POST /api/admin/metrics/applications/{appName}`

Is used to report usage as well which sdk the application uses

## Path parameters

- `appName` string, required

## Request body

- CreateApplicationSchema — Reported application information from Unleash SDKs
  - `strategies` string[] — Which [strategies](https://docs.getunleash.io/concepts#activation-strategies) the application has loaded. Useful when trying to figure out if your [custom strategy](https://docs.getunleash.io/concepts/activation-strategies#custom-strategies) has been loaded in the SDK
  - `url` string — A link to reference the application reporting the metrics. Could for instance be a GitHub link to the repository of the application
  - `color` string — Css color to be used to color the application's entry in the application list
  - `icon` string — An URL to an icon file to be used for the applications's entry in the application list

## Response `202`

This response has no body.

## Other responses

- `400` — The request data does not match what we expect.
- `401` — Authorization information is missing or invalid. Provide a valid API token as the `authorization` header, e.g. `authorization:*.*.my-admin-token`.
- `403` — The provided user credentials are valid, but the user does not have the necessary permissions to perform this operation

---

[API](https://skmtc.net/unleash/apis/unleash-api-3.md) · [All operations](https://skmtc.net/unleash/apis/unleash-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unleash/unleash-api-3/versions/b2c3116e633e/schema)
