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. Anull 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.
3.1 Carousel content
The carousel is undermessage.content.content.richCardDetails.carousel in dispatch callbacks and message.payload.content.richCardDetails.carousel in delivery callbacks.
4. Delivery reports
Delivery callbacks useevent_type: message_delivery. The examples show delivered and read.
4.1 Nested delivery-status fields
5. Additional event metadata
Theadditional_data object differs across the examples.
6. RCS interaction callbacks
Interaction callbacks useevent_type: rcs_event; rcs_event_type identifies the interaction.
6.1 CTA / action click
The supplied CTA sample usesrcs_event_type: ACTION.
6.2 Quick reply
The supplied quick-reply sample usesrcs_event_type: REPLY.
6.3 CTA and quick-reply comparison
7. Incoming text message
The supplied incoming-text callback usesevent_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.attemptsis an integer. - Boolean:
additional_data.provider_response.successis a Boolean (truein the supplied submit sample). - Object: A nested JSON object containing related fields.
- Array of Objects:
carousel.contentsandsuggestionscontain 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
Zsuffix. - 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
- Use JSON field names exactly as documented, including the spelling
corelation_id. - The examples show
message.contentin dispatch callbacks andmessage.payloadin delivery callbacks and incoming text. Preserve the field name received. - Fields and nested objects vary by event type. Do not expect every field in every callback.
- Provider-related metadata is documented because it appears in the JSON; it is not required to process the primary event category and status.
- 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.
- 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.