RCS

Navigate to Integrations -> Outbound Webhooks

RCS Delivery Receipts

  • Select the service you are sending the RCS messages from
  • Select the channel as RCS
{
  "deliveryInfoNotification": {
    "deliveryInfo": {
      "timeStamp": "2019-10-17T14:14:30.495-04:00",
      "Description": "Submitted",
      "code": "7501",
      "deliveryChannel": "rcs",
      "additionalInfo": "",
      "destination": "+17812280832",
      "destinationType": "msisdn",
      "deliveryStatus": "Submitted"
    },
    "carrier": "8",
    "subtid": "c74fd072-7ed7-4b15-8f2d-66a3b6f06dd6",
    "transid": "c74fd072-7ed7-4b15-8f2d-66a3b6f06dd6",
    "callbackData": "",
    "serviceProvider": "GOOGLE",
    "correlationid": ""
  }
}
{
  "deliveryInfoNotification": {
    "deliveryInfo": {
      "timeStamp": "2019-10-17T14:14:35.981-04:00",
      "Description": "Delivered",
      "code": "7500",
      "deliveryChannel": "rcs",
      "additionalInfo": "",
      "destination": "+91XXXXXXXXXX",
      "destinationType": "",
      "deliveryStatus": "Delivered"
    },
    "carrier": "8",
    "subtid": "c74fd072-7ed7-4b15-8f2d-66a3b6f06dd6",
    "transid": "c74fd072-7ed7-4b15-8f2d-66a3b6f06dd6",
    "callbackData": "",
    "serviceProvider": "GOOGLE",
    "correlationid": ""
  }
}
{
  "deliveryInfoNotification": {
    "deliveryInfo": {
      "timeStamp": "2019-10-17T14:14:39.124-04:00",
      "Description": "Read",
      "code": "7502",
      "deliveryChannel": "rcs",
      "additionalInfo": "",
      "destination": "+91XXXXXXXXXX",
      "destinationType": "",
      "deliveryStatus": "Read"
    },
    "carrier": "8",
    "subtid": "c74fd072-7ed7-4b15-8f2d-66a3b6f06dd6",
    "transid": "c74fd072-7ed7-4b15-8f2d-66a3b6f06dd6",
    "callbackData": "",
    "serviceProvider": "GOOGLE",
    "correlationid": ""
  }
}
{
    "deliveryInfoNotification": 
       {
          "deliveryInfo": 
             {
                "timeStamp": "2020-04-24T12:56:30.439Z",
                "Description": "Service provider exception.",
                "code": "7010",
                "deliveryChannel": "rcs",
                "additionalInfo": "Unable to determine service provider for recipient: +9163xxxxxxxx carrier: Reliance (JIO) and protocol:RCS",
                "destination": "XXXXXXXXXXX",
                "destinationType": "msisdn",
                "deliveryStatus": "Failed"
             },
          "subtid": "",
          "transid": "1ea5cd99-6cac-4c6e-a351-ffa42244842f",
          "callbackData": "",
          "correlationid": "40d93325-4651-4c67-9de1-fe9aff7dda3f"
       }
}

RCS Incoming Messages & Events

  • Select the app that you expect to receive messages or events from as the Entity
{
   "channel":"rcs",
   "msisdn":"+916304451252",
   "message":"RCSTest2",
   "appId":"a_157017189286805250",
   "event":"MO",
   "ts":"2019-10-23T02:10:49.466-03:00",
   "tid":"42392840-09c2-2f42-bf4d-8676413befe1",
   "serviceProvider":"GOOGLE",
   "carrier":"8",
   "messageid":"ndzkbkvudzbznjg3w424tyorja"
}
{
    "channel": "rcs",
    "msisdn": "+916304451252",
    "appId": "a_157017189286805250",
    "event": "ATTACHMENT",
    "ts": "2019-10-21T06:28:15.644-03:00",
    "tid": "471957e9-c5e8-742c-38a3-2141e66acc35",
    "serviceProvider": "GOOGLE",
    "carrier": "N/A",
    "attachments": "[{\"payload\":{\"url\":\"https://rcs-user-content-us.storage.googleapis.com/407b434c-ea2a-4d24-9e73-d5c1dbf0f5f7/0f37f034c3764ac3400adc09b5307df91ca31a47b2ef229fc59588537902\"},\"type\":\"video\"}]",
    "messageid": "uo53ledr7fg6hlj7nfztguulse"  
}
{
   "channel":"rcs",
   "msisdn":"+916304451252",
   "appId":"a_157017189286805250",
   "event":"Location",
   "ts":"2019-10-17T14:34:58.808+03:00",
   "tid":"475794b6-8bdb-973d-aab9-e20bae8c11a3",
   "serviceProvider":"GOOGLE",
   "carrier":"N/A",
   "latitude":"17.434679",
   "longitude":"78.3985752",
   "messageId": "zygwbhiu5zb3xj7bwluuhgkqn4"
}
{
    "channel": "rcs",
    "msisdn": "+916304451252",
    "postback": "Yes",
    "appId": "a_157017189286805250",
    "event": "postback",
    "ts": "2020-08-05T04:44:17.179-05:00",
    "tid": "63736533-6312-e9d6-b95e-1654c51af8a3",
    "serviceProvider": "GOOGLE",
    "carrier": "N/A",
    "messageId": "ty55gvyrfvc7jjjj4wxzgoigzi"
}