A flow was published, throttled, blocked or deprecated, Meta raised or cleared an endpoint or client alert, or its Flow JSON version expires soon. WABA-wide: every number gets it.
data
-
status (FLOW_STATUS_CHANGE); else Meta's event in lower case: client_error_rate, endpoint_error_rate, endpoint_latency, endpoint_availability, flow_version_expiry_warning (and any event Meta adds); other when Meta sent no event.
- event string
Meta's event: FLOW_STATUS_CHANGE, CLIENT_ERROR_RATE, ENDPOINT_ERROR_RATE, ENDPOINT_LATENCY, ENDPOINT_AVAILABILITY, FLOW_VERSION_EXPIRY_WARNING.
- old_status string
Left out when the flow was just created.
DRAFTPUBLISHEDDEPRECATEDBLOCKEDTHROTTLED - new_status string
DRAFTPUBLISHEDDEPRECATEDBLOCKEDTHROTTLED - message string
Meta's text.
- warning string
FLOW_VERSION_EXPIRY_WARNING: the Flow JSON version will freeze soon.
- alert_state string
ACTIVATEDDEACTIVATED - threshold number
- error_rate number
- p50_latency integer
- p90_latency integer
- availability number
- requests_count integer
- errors object[]
3 item fields
- error_type string
- error_rate number
- error_count integer
- timestamp string (date-time)
Inside the envelope {id, type, created, number, test?, data}: envelope, headers, signature.
Caused by
- POST /v1/{number}/flows Create a flow (draft, or published at once)
- POST /v1/{number}/flows/{id}/publish Publish a flow (cannot be undone)
- POST /v1/{number}/flows/{id}/deprecate Deprecate a published flow (cannot be undone)