---
title: "Subscribe to webhooks"
method: POST
path: "/bot/subscribe"
---

# Subscribe to webhooks

`POST /bot/subscribe`

## Request

- Base URL: `http://api.kokocares.org`
- URL: `http://api.kokocares.org/bot/subscribe`
- Auth: none declared

Subscribe to webhooks. A subscription will overwrite the previous value.

## Request body

- BotSubscribeBody
  - `url` string, uri

## Response `201`

Webhook created

---

[API](https://skmtc.dev/kokocares/apis/koko-bot-api.md) - [All operations](https://skmtc.dev/kokocares/apis/koko-bot-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kokocares/apis/koko-bot-api/revisions/78709d276611?raw)
