Set Up Webhooks
Register a webhook endpoint to receive events from Vetrol.
Register via Console
- Go to Console → Webhooks
- Click Add Endpoint
- Enter your HTTPS endpoint URL
- Select the events you want to receive
- Click Save
Register via API
curl -X POST https://api.vetrol.io/v1/webhooks \
-u "$VETROL_ACCOUNT_SID:$VETROL_AUTH_TOKEN" \
-d "Url=https://example.com/webhooks/vetrol" \
-d "Events=messages.delivered,payments.completed"