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>"
}
}
}'
Creates a new webhook 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>"
}
}
}'
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
OK