Webhooks
KickBot webhooks send a signed HTTPS POST to your server when something happens on your channel, for example when a viewer sends a tip. Add an endpoint on the API & MCP page of the dashboard, or with the create_webhook action of the API and MCP. A channel can have up to 5 endpoints.
Add an endpoint
Section titled “Add an endpoint”- Open kickbot.com/dashboard/api and find Webhooks.
- Click Add webhook.
- Enter your endpoint URL and pick the events you want.
- Copy the signing secret. It is shown only once. If you lose it, rotate the secret to get a new one.
- Click Send test event to check that your endpoint answers.
The URL must use https:// on the standard port (443) and a public host name. Local, private and internal addresses do not work. KickBot does not follow redirects: answer at the exact URL you entered.
Only team members with API access can manage webhooks, and each event needs its feature permission. Tip events need a tipping permission. Agencies cannot use webhooks.
With the API, the same steps are create_webhook, test_webhook and rotate_webhook_secret. See the Webhooks API reference.
Events
Section titled “Events”| Event | When it is sent |
|---|---|
tip.created | A viewer sent a tip and it is in the tip queue. Test tips from the dashboard have is_test: true. |
tip.approved | A tip in the queue was approved, so it plays on stream. |
tip.rejected | A tip in the queue was rejected. The viewer is not charged. |
tip.replayed | A tip that already played was sent to the queue again. |
tip.queue.paused | The tip queue was paused. |
tip.queue.resumed | The tip queue was resumed. |
webhook.test | You sent a test event. Every endpoint gets it, whatever its events are. |
list_webhook_events returns the same list with an example of each payload.
Request format
Section titled “Request format”Every request has a JSON body with the same envelope:
{ "id": "6f1c2c1e-3b0a-4d5e-9a57-1c7f0e8b2d11", "type": "tip.created", "api_version": "2026-12-04", "created_at": "2026-12-04T18:00:00.000Z", "streamer_id": 12345, "data": { "tip_id": 123456, "tipper_name": "viewer123", "amount_cents": 500, "currency": "usd", "message": "Great stream!", "gif_url": null, "voice": { "id": 42, "label": "Narrator" }, "approval_status": "approved", "is_test": false, "created_at": "2026-12-04T18:00:00.000Z" }}id is unique for each delivery and stays the same when KickBot retries it. Use it to ignore a delivery you already handled.
The request has these headers:
| Header | Value |
|---|---|
Content-Type | application/json |
User-Agent | KickBot-Webhooks/1.0 |
X-KickBot-Delivery-Id | The delivery id (the same as id in the body). |
X-KickBot-Event | The event type, for example tip.created. |
X-KickBot-Timestamp | The time KickBot signed the request, in Unix seconds. |
X-KickBot-Signature | v1= and the HMAC-SHA256 signature in hex. |
Verify the signature
Section titled “Verify the signature”Check every request before you trust it. The signature is an HMAC-SHA256 of the timestamp, a dot and the raw request body, with your signing secret as the key. Use the raw body exactly as received, not parsed and serialized again. Reject requests with a timestamp more than 5 minutes old, so an old request cannot be sent again.
import crypto from 'node:crypto';
export function verifyKickBotWebhook(secret, rawBody, headers) { const timestamp = headers['x-kickbot-timestamp']; const signature = headers['x-kickbot-signature'] ?? ''; if (Math.abs(Date.now() / 1000 - Number(timestamp)) > 300) return false; const expected = crypto .createHmac('sha256', secret) .update(`${timestamp}.${rawBody}`) .digest('hex'); return signature.split(',').some((part) => { const value = part.trim().replace(/^v1=/, ''); return ( value.length === expected.length && crypto.timingSafeEqual(Buffer.from(value), Buffer.from(expected)) ); });}import hashlib, hmac, time
def verify_kickbot_webhook(secret: str, raw_body: bytes, headers) -> bool: timestamp = headers.get("X-KickBot-Timestamp", "") signature = headers.get("X-KickBot-Signature", "") if not timestamp.isdigit() or abs(time.time() - int(timestamp)) > 300: return False expected = hmac.new(secret.encode(), f"{timestamp}.".encode() + raw_body, hashlib.sha256).hexdigest() return any( hmac.compare_digest(part.strip().removeprefix("v1="), expected) for part in signature.split(",") )Answer quickly
Section titled “Answer quickly”Return any 2xx status within 5 seconds. Do the slow work after you answer, for example in a queue. KickBot reads at most 1 KB of your response and ignores it.
Retries
Section titled “Retries”A delivery fails when your endpoint does not answer within 5 seconds, cannot be reached, or returns a status that is not 2xx (a redirect counts as a failure). KickBot then tries again after 30 seconds, 2 minutes, 10 minutes, 30 minutes and 2 hours: 6 attempts in total. Deliveries can arrive out of order, so use created_at when the order matters.
After 25 failed attempts in a row, KickBot turns the endpoint off and shows that in the dashboard. Fix your endpoint, then turn it on again. One successful delivery resets the count.
The dashboard and get_webhook show the last 20 deliveries of an endpoint. KickBot keeps deliveries for 7 days.
Rotate the secret
Section titled “Rotate the secret”Rotate the secret if it leaks, or as a routine. The old secret stops working at once, so update your server right after you rotate. A delivery that fails in between is sent again with the retries above.
Get help
Section titled “Get help”Questions or problems: write to support@kickbot.com.