Webhook Setup
Learn how to configure webhook endpoints to receive real-time events.Creating an Endpoint
1
Go to Dashboard
Navigate to app.ledger.so
2
Open Webhooks
Go to Settings > Webhooks
3
Add Endpoint
Click Add Endpoint and enter your URL
4
Select Events
Choose which events to subscribe to
5
Save
Copy your signing secret for verification
Endpoint Requirements
Your webhook endpoint must:- Use HTTPS (required in production)
- Accept POST requests
- Return 2xx status within 30 seconds
- Accept
application/jsoncontent type
Example Endpoint
Managing Endpoints
Update Endpoint
- Go to Settings > Webhooks
- Click on the endpoint
- Update URL or subscribed events
- Save changes
Rotate Secret
If your signing secret is compromised:- Go to Settings > Webhooks
- Click on the endpoint
- Click Rotate Secret
- Update your server with the new secret
Delete Endpoint
- Go to Settings > Webhooks
- Click on the endpoint
- Click Delete
- Confirm deletion
Testing Webhooks
Send Test Event
- Go to Settings > Webhooks
- Click on the endpoint
- Click Send Test Event
- Select event type
- View delivery result
Local Development
Use a tunnel service for local testing:Monitoring
View webhook delivery status in the Dashboard:- Delivered - Successfully received
- Pending - Awaiting delivery
- Failed - All retries exhausted
- Request payload
- Response status
- Delivery attempts
- Error messages