curl --request POST \
--url https://revstack.dev/v1/webhooks/endpoints \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"events": [
"<string>"
]
}
'{
"id": "<string>",
"success": true
}Registers a new webhook endpoint URL to receive event notifications.
curl --request POST \
--url https://revstack.dev/v1/webhooks/endpoints \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"events": [
"<string>"
]
}
'{
"id": "<string>",
"success": true
}