Skip to main content

RCS Webhook User Guide

This guide documents the customer-facing JSON structure and values for GTS CPaaS RCS Status webhooks. It covers outbound message lifecycle notifications, delivery reports, RCS interactions, and incoming text messages. A field may appear only for particular event types. A null value means the field is null in that sample; it does not establish that the field is always required for every event.

1. Webhook event types

2. Top-level webhook fields

3. Message object

The examples use message.content in dispatch callbacks and message.payload in delivery callbacks and incoming text. Preserve the field name received; the samples do not establish that these fields are interchangeable. The carousel is under message.content.content.richCardDetails.carousel in dispatch callbacks and message.payload.content.richCardDetails.carousel in delivery callbacks.

4. Delivery reports

Delivery callbacks use event_type: message_delivery. The examples show delivered and read.

4.1 Nested delivery-status fields

5. Additional event metadata

The additional_data object differs across the examples.

6. RCS interaction callbacks

Interaction callbacks use event_type: rcs_event; rcs_event_type identifies the interaction.

6.1 CTA / action click

The supplied CTA sample uses rcs_event_type: ACTION.

6.2 Quick reply

The supplied quick-reply sample uses rcs_event_type: REPLY.

6.3 CTA and quick-reply comparison

7. Incoming text message

The supplied incoming-text callback uses event_type: incoming_message and status: received.

8. Agent object

9. Field types and value conventions

  • String: Text, identifiers, phone numbers, URLs, timestamps, and enumerated values are represented as JSON strings in the examples.
  • Integer: delivery_info.attempts is an integer.
  • Boolean: additional_data.provider_response.success is a Boolean (true in the supplied submit sample).
  • Object: A nested JSON object containing related fields.
  • Array of Objects: carousel.contents and suggestions contain arrays of objects.
  • Null: Examples include message_id, corelation_id, rcs_message_id, thumbnailUrl, delivery timestamps, and error fields.
  • Timestamp: Timestamp strings use ISO 8601 format with a UTC Z suffix.
  • Phone number: Phone numbers are strings, not numeric JSON values. The samples show values both with and without a leading +, depending on the field.

10. Notes on the payload contract

  1. Use JSON field names exactly as documented, including the spelling corelation_id.
  2. The examples show message.content in dispatch callbacks and message.payload in delivery callbacks and incoming text. Preserve the field name received.
  3. Fields and nested objects vary by event type. Do not expect every field in every callback.
  4. Provider-related metadata is documented because it appears in the JSON; it is not required to process the primary event category and status.
  5. The example does not include a failed-delivery callback. A failure event type, status value, and failure payload cannot be defined from the available sample.
  6. This guide documents only fields and values evidenced in the GTS CPaaS RCS Status webhook structure; it does not infer additional callback fields or enum values.

Appendix A. Sample webhook payloads

The source guide contains full examples for message dispatch (submit and sent), delivery (delivered and read), CTA/action, incoming text, and quick reply. The following compact examples show the event-specific structure; fields not shown here may be present in the full callbacks.

A.1 Message dispatch – submit

A.2 Message dispatch – sent

A.3 Message delivery – delivered

A.4 Message delivery – read

A.5 RCS interaction – CTA/action

A.6 Incoming text message

A.7 RCS interaction – quick reply