Webhooks

Register Webhook

POST
Register a new Webhook

Request

This endpoint expects an object.
webhook_name
stringRequired
endpoint
stringRequired

Response

This endpoint returns an object
webhook_name
string
endpoint
string
POST
1curl -X POST /v2/webhooks/registrations/ \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "webhook_name": "webhook_name",
6 "endpoint": "endpoint"
7}'
200
Successful
1{
2 "webhook_name": "webhook_name",
3 "endpoint": "endpoint"
4}