---
title: "Register Telegram Webhook Endpoint"
method: POST
path: "/api/admin/telegram/webhook"
tags: ["admin"]
---

# Register Telegram Webhook Endpoint

`POST /api/admin/telegram/webhook`

Register or update the Telegram webhook URL.

If webhook_url is empty, constructs it from APP_BASE_URL.

## Request body

- TelegramWebhookRequest
  - `webhook_url` string

## Response `200`

Successful Response

- TelegramWebhookResponse
  - `status` string, required
  - `webhook_url` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/mozilla-ai/apis/clawbolt.md) · [All operations](https://skmtc.net/mozilla-ai/apis/clawbolt/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mozilla-ai/clawbolt/revisions/0e52fe5f8d33/schema)
