POST
This webhook is sent when a message requires review.
Overview
Thereview.required webhook is triggered when a message requires review.
RevReply sends an HTTP POST request to your configured webhook URL containing an event object and information about the lead, conversation, classification, and reason for review.
Event
The webhook event is identified by the following name:Payload
All webhook requests follow the same top-level structure, containing anevent object and a data object.
Event object
Data object
Thedata object contains information about the lead, conversation, classification, and reason the message requires review.
Example payload
Handling the webhook
Your webhook endpoint should accept an HTTPPOST request with a JSON body.
A successful webhook handler should process the event and return an appropriate HTTP success response.
Because webhook delivery is event-driven, your application should identify the event using event.name before processing the contents of data.