---
title: "Get Channel Key"
method: POST
path: "/api/channel/{id}/key"
tags: ["Channel"]
---

# Get Channel Key

`POST /api/channel/{id}/key`

## Request

- Base URL: `https://api.unorouter.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.unorouter.com/api/channel/{id}/key`
- Auth: one of:
  - API key in header `Authorization` and API key in header `New-Api-User`
  - API key in header `New-Api-User` and API key in cookie `session`

## Path parameters

- `id` string, required

## Response `200`

OK

- ResponseDtoChannelKeyData: Response_dto.ChannelKeyData schema
  - `data` ChannelKeyData, required
    - `key` string, required
  - `message` string, required
  - `success` boolean, required

---

[API](https://skmtc.dev/unorouter/apis/new-api.md) - [All operations](https://skmtc.dev/unorouter/apis/new-api/llms.txt) - [OpenAPI document](https://skmtc.dev/unorouter/apis/new-api/revisions/1b50ada14f59?raw)
