question

Mike Corrente avatar image
Mike Corrente asked Mike Corrente commented

Unable to GetMessage

I'm trying to pull down a PDF for a received fax. I can see the received fax in the Call Log (result="Received"). I can see the fax and download it from a browser when logging in. However, when I try to call the GetMessage endpoint (https://platform.ringcentral.com/restapi/v1.0/account/~/extension/{extensionId}/message-store/{messageId}), I get a 404 not found with the error message

CMN-102: Resource for parameter [messageId] is not found.

Any idea why?

rest api
1 |3000

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 Mike Corrente commented

From where are you getting the message id to pass?

What api did you used to check the message id?

1 comment
1 |3000

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

Mike Corrente avatar image Mike Corrente commented ·

I'm getting the message from the call log (via the call-log endpoint https://developers.ringcentral.com/api-reference/Call-Log/readCompanyCallLog).

Not sure what you mean by "what api"- the RingCentral API?

0 Likes 0 ·

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