question

Kumar avatar image
Kumar asked Phong Vu answered

Receiving sms in c#

I am able to send sms using c#. But my problem is I don't know to receive those sms.

Can I get any help to know how I can receive the sms. Any sample will be great.

rest apisms and text messaging
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.

Anirban avatar image
Anirban answered

Using PubNub, you can receive sms. Check it out here: https://github.com/ringcentral/ringcentral-csharp-client/blob/master/RingCentral.Test/SubscripotionTest.cs#L31


If you want WebHook, check the reference: https://github.com/ringcentral/ringcentral-csharp-client/blob/master/RingCentral.Test/WebHookTest.cs


The direct API of RinCentral APIs to receive sms content is:

/restapi/v1.0/account/~/extension/~/message-store/<message id>/content/<attachment id>

Here you need to put the message id and the attachment id which you can use in your c#

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

Hi Ashim,

Check out this step-by -step tutorial.

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