POST
/
webhook
/
add_handler
curl --request POST \
  --url https://api.skulabs.com/webhook/add_handler \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "<string>",
  "name": "<string>",
  "handler": {
    "url": "<string>",
    "method": "GET",
    "headers": {
      "authorization": "<string>"
    }
  }
}'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
type
string

The type of webhook to create

name
string

A user-friendly name for the webhook handler

handler
object