Skip to content
API PlatformDevelopers

Webhook events · sla

sla.breached/2

SLA breached. An SLA target was breached for a conversation episode, with the breach owner, channel, contact and lateness (business hours and wall clock). `resolved_at` is set when the late reply or close that ended it is what recorded the breach; such a breach sends no sla.breach.resolved.

Payload

We POST this JSON to your endpoint. Answer any 2xx within 30 seconds. The same id arrives again on a retry — skip ones you have handled.

Payload fields
FieldTypeWhat it is
idrequiredstringEvent id. The same on every retry: use it to skip duplicates.pattern ^evt_[0-9A-HJKMNP-TV-Z]{26}$
typerequiredstringEvent type.always sla.breached
versionrequiredstringPayload version.always 2
api_versionrequiredstringThe endpoint's API version.
occurred_atrequiredstringWhen it happened.date-time
company_idrequiredintegerYour workspace id.
datarequiredobject
breach_idrequiredinteger or nullBreach id; null when there is no breach (warning, met).
episode_idrequiredintegerConversation episode id.
conversation_idrequiredintegerConversation id.
company_idrequiredintegerWorkspace id.
metricrequiredstringWhich clock: first_response, next_response or resolution.one of: first_response, next_response, resolution
due_atrequiredstringWhen it was due, ISO 8601.
sla_policyobject or nullThe SLA policy.
idrequiredintegerId.
namerequiredstring or nullName.
ownerobject or nullWho owed the clock.
idrequiredintegerId.
namerequiredstring or nullName.
teamobject or nullThe team.
idrequiredintegerId.
namerequiredstring or nullName.
channelobject or nullThe channel.
idrequiredintegerChannel id.
namestring or nullName.
typestring or nullChannel type, e.g. WHATSAPP.
contactobject or nullThe contact.
idrequiredintegerId.
namerequiredstring or nullName.
breached_atrequiredstringISO 8601.
resolved_atrequiredstring or nullISO 8601; null while the breach is open.
late_business_secondsrequiredinteger or nullHow late, in business-hours seconds.
late_secondsrequiredinteger or nullHow late, in wall-clock seconds.

Example

{
  "id": "evt_01J8Z7BZQ4F6G8J2K5N7Q9S1VC",
  "type": "sla.breached",
  "version": "2",
  "api_version": "2026-10-01",
  "occurred_at": "2026-09-24T09:20:00Z",
  "company_id": 7,
  "data": {
    "team": {
      "id": 21,
      "name": "Support Tier 1"
    },
    "owner": {
      "id": 311,
      "name": "Riya Support"
    },
    "due_at": "2026-06-06T10:00:00+00:00",
    "metric": "first_response",
    "channel": {
      "id": 5,
      "name": "Support WhatsApp",
      "type": "WHATSAPP"
    },
    "contact": {
      "id": 12345,
      "name": "Jane Doe"
    },
    "breach_id": 9001,
    "company_id": 7,
    "episode_id": 456,
    "sla_policy": {
      "id": 12,
      "name": "Standard SLA"
    },
    "breached_at": "2026-06-06T10:01:00+00:00",
    "resolved_at": null,
    "late_seconds": 60,
    "conversation_id": 123,
    "late_business_seconds": 60
  }
}

Headers

  • Webhook-Signature: t=…,v1=… — how to check it
  • Webhook-Id (also Webhook-Event-Id): the event id, the same on every retry — skip ones you have handled
  • Webhook-Delivery-Id: this delivery attempt, new on every try