Webhooks

RCS Inbound Message

POST
/v1/Webhooks/RcsInboundMessageReceivedWebhook

RcsInboundMessageReceivedWebhook is sent to the account-level URL configured for the RcsInboundMessageReceived type when an end user sends a message to one of your RCS agents.

AuthorizationBasic <token>

Basic Authorization header using the BASIC scheme. Use a pair companySid:token to access the API.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

RCS inbound message received event.

Response Body

curl -X POST "https://example.com/v1/Webhooks/RcsInboundMessageReceivedWebhook" \  -H "Content-Type: application/json" \  -d '{    "type": "RcsInboundMessageReceived",    "sid": "WH08df051c8bb8f5e0efa57d9bf992f08f0164f6d6317fbd46",    "payload": {      "sid": "RIXXXXXXXX",      "from": "+19876543210",      "agentId": "MyAgent",      "eventDate": "2023-03-22T16:44:55.123Z",      "content": {        "type": "Text",        "text": "Hello from RCS"      }    }  }'
Empty