cURL
curl --request POST \ --url https://notificationservice.withbenji.com/webhooks/subscribe \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "endpoint": "<string>", "event_name": "<string>", "entity_type": 123 }'
{ "code": "ok", "data": { "subscribed": true } }
Subscribe to a specific event or all entity events on the Benji Platform
Show possible entity type values
Was this page helpful?