Webhook 5xx retries killing us, need DLQ pattern

Genesys keeps hammering our endpoint after a 502, filling the logs with noise. We need a way to dump those failed payloads into a dead letter queue instead of letting the platform retry indefinitely. Is there a standard header or response code we can send to stop the retries and trigger a side-process? We’re just curling the /api/v2/analytics events for now.

you can’t really force a DLQ from the Genesys side for webhooks directly. the platform just retries on 5xx. if you want to stop the hammering, you have to return a 2xx status code to acknowledge receipt, even if you’re just logging it or shunting it to a dead letter queue yourself.

{
 "status": 200,
 "body": "acknowledged"
}

if you return 4xx or 5xx, Genesys keeps trying. returning 200 tells the platform “got it, move on”. you’ll have to handle the actual failure and DLQ logic in your own backend service after that 200 response. it’s messy but it’s the only way to stop the retry loop.