Skip to content

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.

ToolRESTAccess
list_webhook_eventsGET /webhooks/eventsRead
list_webhooksGET /webhooksRead
get_webhookGET /webhooks/{id}Read
create_webhookPOST /webhooksWrite
update_webhookPATCH /webhooks/{id}Write
rotate_webhook_secretPOST /webhooks/{id}/rotate-secretWrite
test_webhookPOST /webhooks/{id}/testWrite
delete_webhookDELETE /webhooks/{id}Write

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/events

No input fields.

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/webhooks

No input fields.

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}
FieldTypeRequiredDescription
id (in the path)stringYesThe webhook id (a UUID).

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/webhooks

Needs a read and write key or connection.

FieldTypeRequiredDescription
namestringNoA label for the endpoint, up to 80 characters. Default: the host name of the URL.
urlstringYesThe 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.
eventsarray of stringYesThe event types to send, for example [“tip.created”]. Call list_webhook_events for the types you can use.

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.

FieldTypeRequiredDescription
id (in the path)stringYesThe webhook id (a UUID).
namestringNoA label for the endpoint, up to 80 characters. Default: the host name of the URL.
urlstringNoThe 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.
eventsarray of stringNoThe event types to send, for example [“tip.created”]. Call list_webhook_events for the types you can use.
enabledbooleanNoOn (true) or off (false). Turning an endpoint on again also resets its failure count.

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-secret

Needs a read and write key or connection.

FieldTypeRequiredDescription
id (in the path)stringYesThe webhook id (a UUID).

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}/test

Needs 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.

FieldTypeRequiredDescription
id (in the path)stringYesThe webhook id (a UUID).

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.

FieldTypeRequiredDescription
id (in the path)stringYesThe webhook id (a UUID).