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.
The type of webhook to create
A user-friendly name for the webhook handler
Show child attributes
The URL the webhook should go to
The HTTP method to use for the webhook
GET, POST, PUT, DELETE OK