Webhooks API
Use these actions to manage the webhook endpoints of your channel. KickBot sends a signed HTTPS request to each endpoint when one of its events happens.
Each action is a REST endpoint under https://kickbot.com/api/v1 and an MCP tool with the same name. The MCP area name is webhooks. Use it to load only this area: https://kickbot.com/api/v1/mcp?areas=webhooks.
A team member needs one of these permissions in Manage Team: Tipping configuration or Tipping moderation. Some actions need a specific one (the action says so). Owners and admins have every permission. Write actions also need a read and write key or connection. See Permissions and security.
How the feature works in the dashboard: Webhooks.
Actions
Section titled “Actions”| Tool | REST | Access |
|---|---|---|
list_webhook_events | GET /webhooks/events | Read |
list_webhooks | GET /webhooks | Read |
get_webhook | GET /webhooks/{id} | Read |
create_webhook | POST /webhooks | Write |
update_webhook | PATCH /webhooks/{id} | Write |
rotate_webhook_secret | POST /webhooks/{id}/rotate-secret | Write |
test_webhook | POST /webhooks/{id}/test | Write |
delete_webhook | DELETE /webhooks/{id} | Write |
list_webhook_events
Section titled “list_webhook_events”List webhook events. List the event types this channel can send to a webhook, with a description and an example payload of each.
GET /api/v1/webhooks/eventsNo input fields.
list_webhooks
Section titled “list_webhooks”List webhooks. List the webhook endpoints of the channel. A channel can have 5. The signing secret is never returned, only its first characters (secret_prefix).
GET /api/v1/webhooksNo input fields.
get_webhook
Section titled “get_webhook”Get a webhook. Get one webhook endpoint and its 20 most recent deliveries (status, HTTP status, error). Deliveries are kept for 7 days.
GET /api/v1/webhooks/{id}| Field | Type | Required | Description |
|---|---|---|---|
id (in the path) | string | Yes | The webhook id (a UUID). |
create_webhook
Section titled “create_webhook”Create a webhook. Create a webhook endpoint: KickBot sends a signed HTTPS POST to the URL for each event. The response has secret (whsec_…): it is shown only this once. Store it to verify the X-KickBot-Signature header of each delivery. A channel can have 5 endpoints; over that it fails with limit_reached.
POST /api/v1/webhooksNeeds a read and write key or connection.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | No | A label for the endpoint, up to 80 characters. Default: the host name of the URL. |
url | string | Yes | The HTTPS URL KickBot sends events to, up to 500 characters. It must use port 443 and a public host name: local, private and internal addresses are refused. |
events | array of string | Yes | The event types to send, for example [“tip.created”]. Call list_webhook_events for the types you can use. |
update_webhook
Section titled “update_webhook”Update a webhook. Change the name, URL or events of a webhook endpoint, or turn it on or off. Only the fields you send change. KickBot turns an endpoint off by itself after 25 failed deliveries in a row.
PATCH /api/v1/webhooks/{id}Needs a read and write key or connection.
| Field | Type | Required | Description |
|---|---|---|---|
id (in the path) | string | Yes | The webhook id (a UUID). |
name | string | No | A label for the endpoint, up to 80 characters. Default: the host name of the URL. |
url | string | No | The HTTPS URL KickBot sends events to, up to 500 characters. It must use port 443 and a public host name: local, private and internal addresses are refused. |
events | array of string | No | The event types to send, for example [“tip.created”]. Call list_webhook_events for the types you can use. |
enabled | boolean | No | On (true) or off (false). Turning an endpoint on again also resets its failure count. |
rotate_webhook_secret
Section titled “rotate_webhook_secret”Rotate a webhook secret. Make a new signing secret for a webhook endpoint. The old secret stops working at once. The response has secret (whsec_…): it is shown only this once. Store it to verify the X-KickBot-Signature header of each delivery.
POST /api/v1/webhooks/{id}/rotate-secretNeeds a read and write key or connection.
| Field | Type | Required | Description |
|---|---|---|---|
id (in the path) | string | Yes | The webhook id (a UUID). |
test_webhook
Section titled “test_webhook”Send a test event. Send a signed webhook.test event to the endpoint now and return the result: ok, the HTTP status, the error and the time it took. Works on an endpoint that is off. A test is not retried.
POST /api/v1/webhooks/{id}/testNeeds a read and write key or connection. This has an effect outside your settings (for example on your live stream). Rate limit: 20 per minute.
| Field | Type | Required | Description |
|---|---|---|---|
id (in the path) | string | Yes | The webhook id (a UUID). |
delete_webhook
Section titled “delete_webhook”Delete a webhook. Delete a webhook endpoint and its delivery log. KickBot stops sending to it at once.
DELETE /api/v1/webhooks/{id}Needs a read and write key or connection. This can delete or replace data, and you may not be able to undo it.
| Field | Type | Required | Description |
|---|---|---|---|
id (in the path) | string | Yes | The webhook id (a UUID). |