---
title: "POST /api/webhook"
method: POST
path: "/api/webhook"
---

# POST /api/webhook

`POST /api/webhook`

Webhook to receive commands

## Request body

- object
  - `callback_query` object, required
    - `id` string, required
    - `data` string, required
    - `message` object, required
      - `message_id` integer, required
    - `from` object
      - `id` integer, required
      - `username` string, nullable, required

## Response `204`

When webhook request is valid

## Other responses

- `400` — Bad request
- `401` — When request signature is not valid

---

[API](https://skmtc.net/ethcomments/apis/ethereum-comments-protocol-indexer-api.md) · [All operations](https://skmtc.net/ethcomments/apis/ethereum-comments-protocol-indexer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ethcomments/ethereum-comments-protocol-indexer-api/versions/9627e9d1ff21/schema)
