Receiving Messages and User Events
When your webhook receives inbound messages, user events, form submissions, or campaign status updates from Pinnacle, the raw request body lacks type information. The process method validates incoming events by checking the signing secret and transforms the request into a fully typed MessageEvent, UserEvent, FormSubmissionEvent, or CampaignStatusEvent object.
Parameters
TypeScript
Python
Ruby
Returns
One of the following objects (discriminated by the type field):
MessageEvent: Inbound message or message status update (MESSAGE.RECEIVED,MESSAGE.STATUS).UserEvent: User event such as when a user started typing (USER.TYPING).FormSubmissionEvent: A recipient completed a hosted form (FORM.SUBMISSION).CampaignStatusEvent: Per-carrier launch or verification status changed for an RCS campaign (CAMPAIGN.STATUS).

