---
title: "Unlock Channel"
method: POST
path: "/web/channels/{channel_id}/unlock"
tags: ["web: каталог"]
---

# Unlock Channel

`POST /web/channels/{channel_id}/unlock`

## Request

- Base URL: `https://tgmarket.io` (the document declares no server; this is the origin it was published from)
- URL: `https://tgmarket.io/web/channels/{channel_id}/unlock`
- Auth: none declared

Открыть карточку (level 1, 1 ключ) или ещё и рекламные контакты (level 2, +1 ключ; у канала без контактов —
409 no_contacts) за ключи (docs/37 §5, §6). Повтор в срок бесплатен, апгрейд — за разницу; не хватает
ключей — 402 keys_required {need, have}. Подписчику открывать не нужно.

## Path parameters

- `channel_id` integer, required

## Request body

- UnlockIn
  - `level` 1 | 2
  - `auto` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tgmarket/apis/tg-market-api.md) · [All operations](https://skmtc.dev/tgmarket/apis/tg-market-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tgmarket/apis/tg-market-api/revisions/15aba68e1fef?raw)
