question

Pau Rodriguez avatar image
Pau Rodriguez asked Pau Rodriguez answered

Outbound Messages - Instant Message Event

Is there a way to have outbound messages with the Instant Message Event? The payload example has a direction, but it seems this is only working for inbound.

If this is not the appropriate webhook, can someone point me to the correct event to have instant outbound messages?


getting started
1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Phong Vu avatar image
Phong Vu answered

Unfortunately, outbound message notification does not include the message payload, nor the "from" and "to" info. What is your use case?

1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Pau Rodriguez avatar image
Pau Rodriguez answered

Hi Phong,

We were trying to get all the SMS messages to ingest those in another system, we were taking a look, and we decide to use that event, as the payload had direction as a parameter, we were thinking Inbound and Outbound should be the values, but it seems only works for Inbound. After that, we decided to get Inbound with that event and Outbound with message-store?type=SMS&direction=Outbound and then get the Message ID and do an API call to getMessges to have the text of the messages + from and to.

Do you know, for instant message events if there is another value for direction?


Thanks


1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys