Webhooks
Webhooks allow you to receive real-time notifications when events occur in your LabelGrid account. Use webhooks to automate workflows and integrate with external systems.
Note: Webhooks require API access to be enabled on your account. Contact support if you need this feature enabled.
How Webhooks Work
- You configure a webhook - Specify a URL and which events to listen for
- An event occurs - For example, a release is delivered to a store
- LabelGrid sends a POST request - Your server receives the event data
- Your system processes it - Automate workflows based on the event
Accessing Webhooks
- Click your profile icon in the top-right corner
- Select Webhooks from the dropdown menu
Creating a Webhook
- Click Create Webhook
- Enter a Name to identify this webhook
- Enter the URL where you want to receive notifications
- Select which Events should trigger this webhook
- Click Create
Webhook Secret
When you create a webhook, you’ll receive a secret key. Use this to verify that incoming requests are actually from LabelGrid:
- Store the secret securely
- Verify the signature on incoming requests
- If compromised, regenerate the secret
Available Events
Configure your webhook to listen for these events:
| Event | Description |
|---|---|
| Delivery Completed | Triggered when a release is successfully delivered to an outlet |
| Delivery Failed | Triggered when delivery to an outlet fails |
| Takedown Completed | Triggered when a takedown request completes |
| Release Review Status Changed | Triggered when a release review status changes |
| Release Distributed | Triggered when a release is distributed |
| Payment Statement Ready | Triggered when a payment statement is ready |
You can select multiple events for a single webhook, or create separate webhooks for different event types.
Managing Webhooks
Viewing Your Webhooks
The webhook list shows:
| Column | Description |
|---|---|
| Name | The webhook name you assigned |
| URL | Where notifications are sent |
| Events | Number of events configured |
| Status | Active or Inactive |
| Success / Fail | Count of successful and failed deliveries |
| Last Triggered | When the webhook was last called |
Editing a Webhook
- Click the Edit action on the webhook row
- Modify the name, URL, or events
- Click Save
Activating / Deactivating
Toggle a webhook’s active status without deleting it:
- Active - Webhook will receive notifications
- Inactive - Webhook is paused, no notifications sent
Deleting a Webhook
- Click the Delete action on the webhook row
- Confirm the deletion
Warning: Deleted webhooks cannot be recovered.
Testing Webhooks
Before relying on a webhook in production, test it:
- Click the Test action on your webhook
- LabelGrid sends a test payload to your URL
- Check that your endpoint received and processed it correctly
Viewing Webhook Logs
Monitor webhook activity and troubleshoot issues:
- Click the View Logs action on a webhook
- See a history of all webhook deliveries
Log Details
Each log entry shows:
| Field | Description |
|---|---|
| Event Type | Which event triggered this delivery |
| Response Status | HTTP status code from your server |
| Duration | How long the request took |
| Attempt | Retry attempt number |
| Timestamp | When the delivery occurred |
Webhook Payload Format
When an event occurs, LabelGrid sends a POST request to your URL with a JSON payload:
{ "event": "delivery.completed", "timestamp": "2026-02-02T12:00:00Z", "data": { // Event-specific data }}Verifying Webhook Signatures
Each webhook request includes a signature header. Verify this to ensure the request is from LabelGrid:
- Get the signature from the request header
- Compute the expected signature using your webhook secret
- Compare the signatures
Retry Behavior
If your endpoint fails to respond (non-2xx status or timeout):
- LabelGrid retries the delivery
- Retries use exponential backoff
- Failed deliveries are logged with the error
Best Practices for Reliability
- Return a 200 OK response quickly
- Process the data asynchronously if needed
- Monitor your failure count
- Check logs if deliveries are failing
Use Cases
Automated Notifications
- Send Slack messages when releases go live
- Email your team when deliveries fail
- Update internal dashboards
Workflow Automation
- Trigger marketing campaigns when releases are distributed
- Update your website when new content is available
- Sync status to external project management tools
Monitoring and Alerting
- Get instant alerts for delivery failures
- Track distribution progress in real-time
- Monitor review status changes
Troubleshooting
Webhook Not Receiving Events
- Check status - Is the webhook Active?
- Verify URL - Is the endpoint accessible from the internet?
- Check events - Are the right events selected?
- Review logs - Any errors recorded?
High Failure Count
- Check your endpoint - Is it returning 200 OK?
- Check response time - Is it responding within timeout?
- Review error messages - What’s failing?
- Test manually - Send a test webhook
Regenerating the Secret
If your webhook secret is compromised:
- Click Regenerate Secret in webhook settings
- Update your application with the new secret
- Old secret immediately stops working
Need Help?
If you have questions about webhooks, contact our support team.