Skip to main content
Question

Recieve SMS using C#

  • November 23, 2018
  • 4 replies
  • 1594 views

How can I receive SMS using C#


So I can send SMS using the api. But can't seem to find a way to receive them. Is it even possible? At this point I think I need something like ngrok? But Im not sure where to start.


Thanks In Advance

4 replies

  • Community Manager
  • 420 replies
  • November 25, 2018
If you want to receive sms in real time, check this: https://github.com/ringcentral/ringcentral-csharp-client/blob/master/RingCentral.Test/SubscripotionT... It is powered by PubNub, so you don't need ngrok.

Alternatively, you can check WebHook which does require a public address: https://github.com/ringcentral/ringcentral-csharp-client/blob/master/RingCentral.Test/WebHookTest.cs

Or if you don't need real time sms notification, you can retrieve sms via HTTP GET /restapi/v1.0/account/~/extension/~/message-store


  • Author
  • Known Participant
  • 14 replies
  • November 26, 2018
Tyler

Thanks again! I will try these.

  • Author
  • Known Participant
  • 14 replies
  • November 26, 2018
Tyler

Hmm I just plugged it in and tried the PubNub variant, It has an error can't quite figure out.

 await subscription.Register(); //Throws Object Reference not set to instance of object...




PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • 2331 replies
  • April 10, 2019
Hi Rick,

Alternatively, check out this quick start for what you want to achieve.

https://developers.ringcentral.com/guide/notifications/quick-start/pubnub/c-sharp

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings