question

Kumar avatar image
Kumar asked ·

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.

apisms
1 |1000 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 Sen Chowdhary avatar image
Anirban Sen Chowdhary 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#

Share
1 |1000 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.

Share
1 |1000 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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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