Create a Webhook

Create a Webhook

post

This endpoint allows you to create a new Webhook.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
urlstringRequired

Encoded URL for the callback endpoint.

Responses
post
/v2/webhooks

Example

curl --location 'https://dev.underdogprotocol.com/v2/webhooks' \
--header 'Authorization: Bearer {token}' \
--header 'Content-Type: application/json' \
--data '{
    "url": "https:/google.com",
    "triggers": []
}'

Last updated