{
"status": 400,
"code": "bad.request",
"message": "Invalid event type: queue.sla.breach"
}
Trying to wire up a Genesys Cloud webhook to trigger Slack notifications when a queue breaches its Service Level Agreement. The goal is to capture the specific queue and the missed SLA percentage so we can alert the ops team immediately. I’m using the Python SDK to create the webhook, but the API keeps rejecting the event type.
Here is the payload I’m sending to POST /api/v2/webhooks/webhooks:
webhook_request = WebhookRequest(
name="SLA Breach Alert",
description="Notify Slack on SLA breach",
enabled=True,
event_type="queue.sla.breach",
target_url="https://hooks.slack.com/services/T00/B00/XXXX",
http_method="POST"
)
I’ve checked the documentation for the available event types, and I see queue.summary and routing.queue.member.update, but nothing explicit for SLA breaches. Is there a specific event type I’m missing? Or do I need to subscribe to a different event and filter the payload myself in the webhook consumer? The current setup just fails validation on the server side.
I’ve tried routing.queue.sla.breach as well, but that returns the same 400 error. What’s the correct event string here?