staqlydocs
REST APIAPI referenceChannels

An event from Kick

An event from Kick (a chat message, the stream going live, a follow or subscription)

Every request sends Authorization: Bearer ...: the access token in local mode, an API key stk_... in cloud mode. Use Send to try it against your cloud instance with your API key.

POST
/v1/kick/webhook

The webhook URL to enter in the Kick app's settings is <api>/v1/kick/webhook (<dashboard>/api/v1/kick/webhook). Signed with Kick's key (Kick-Event-Signature: RSA SHA-256 of <message id>.<timestamp>.<body>); off (404) until the server has PROVIDER_KICK_CLIENT_ID. Each message id is handled once. A chat reply to a post's message becomes a comment under the post. An event for a channel the server no longer has answers 410, so Kick drops that subscription.

Header Parameters

Kick-Event-Message-Id*string
Kick-Event-Message-Timestamp*string
Kick-Event-Signature*string
Kick-Event-Type*string

Request Body

application/json
  1. body
[key: string]?any

Response Body

OK

application/json
  1. response
handled*integer

Posts the event touched

Example Request
curl -X POST 'https://staqly.example.com/v1/kick/webhook' \  -H 'Kick-Event-Message-Id: string' \  -H 'Kick-Event-Message-Timestamp: string' \  -H 'Kick-Event-Signature: string' \  -H 'Kick-Event-Type: string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "handled": 0}