Skip to main content
POST
/
v1
/
webhooks
/
endpoints
Create a webhook endpoint
curl --request POST \
  --url https://revstack.dev/v1/webhooks/endpoints \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>",
  "events": [
    "<string>"
  ]
}
'
{
  "id": "<string>",
  "success": true
}

Body

application/json
url
string<uri>
required
events
string[]
required
Minimum array length: 1

Response

201 - application/json

Webhook endpoint created

id
string
required
success
boolean
required