Skip to main content
WEBHOOK POST
This webhook is sent whenever a new inbound message is received.

Overview

The message.received webhook is triggered whenever a new inbound message is received. RevReply sends an HTTP POST request to your configured webhook URL containing an event object and information about the received message.

Event

The webhook event is identified by the following name:
Description: A new inbound message was received.

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 received message, lead, and conversation.

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