Skip to main content
WEBHOOK POST
This webhook is sent when a message requires review.

Overview

The review.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:
Description: A message requires review.

Payload

All webhook requests follow the same top-level structure, containing an event object and a data object.

Event object

Data object

The data 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 HTTP POST 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.

Event details