---
title: "Create Endpoint"
method: POST
path: "/v1/webhooks"
tags: ["API v1: webhooks"]
---

# Create Endpoint

`POST /v1/webhooks`

## Request

- Base URL: `https://tgmarket.io` (the document declares no server; this is the origin it was published from)
- URL: `https://tgmarket.io/v1/webhooks`
- Auth: none declared

Новый адрес. Секрет подписи возвращается один раз.

## Request body

- EndpointIn
  - `name` string
  - `url` string, required: https:// URL that receives POST requests

## 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)
