Skip to main content
POST
/
api
/
webhooks
Create webhook
curl --request POST \
  --url http://localhost:8000/api/webhooks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>",
  "events": "<array>"
}
'

Authorizations

Authorization
string
header
required

JWT token from login. Use: Authorization: Bearer <token>

Body

application/json
url
string
events
array

Response

201

Created