Webhook with delivyr_ignore
Guide on how to abort unwanted webhook requests
If you're using a 3rd party integration and don't want to report back unrelated events (such as OTP delivery receipts or Campaign CSV metrics), you can include delivyr_ignore in the payload.
When set to true, the request will be aborted and return HTTP status 601.
Basic Object Usage:
In this example, if request_id NOT defined, or $not() resolves to true
{
"id": id,
"rejection_code": rejection_code,
"request_id": request_id,
"delivyr_ignore": $not($exists(request_id)) or $not(request_id)
}Array Usage:
If an array is detected, ONLY the first object will be inspected for delivyr_ignore
[
{
"id": id,
"rejection_code": rejection_code,
"request_id": request_id,
"delivyr_ignore": true
}
]Important note: Delivyr doesn't group events in the webhooks. 1 event = 1 webhook trigger.
Updated 19 days ago
Did this page help you?
