question

Viresh P avatar image
Viresh P asked Anirban answered

C# example for getting attachments content

I am going through Get Message Content Api:

https://platform.devtest.ringcentral.com/restapi/v1.0/account/accountId/extension/extensionId/message-store/messageId/content/attachmentId

here in: https://developers.ringcentral.com/api-reference/Message-Store/readMessageContent

As I can see it can read the message content. If an attachment is sent via fax I want to read and download that attachment content in my C# code.

Any C# sample where I can get the attachment content and download the binary content?

rest api
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.

1 Answer

Anirban avatar image
Anirban answered
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