Mark a voicemail as read

  • 2
  • Question
  • Updated 3 years ago
  • Answered
How might we mark a voicemail as read (or any type of message for that matter)? 

Currently, the light still blinks on my desk phone until I either read it on an app, online, or delete the message. 
Photo of Brandon Padula

Brandon Padula

  • 150 Points 100 badge 2x thumb

Posted 3 years ago

  • 2
Photo of John Wang

John Wang, Official Rep

  • 5,278 Points 5k badge 2x thumb
To update a voicemail or other message's "readStatus" property, use the Update Message API for the messageIds desired.

This API is documented in the Developer Guide API Reference here:

https://developers.ringcentral.com/api-docs/latest/index.html#!#RefUpdateMessage.html

You can also try this out on the Sandbox Environment using the API Explorer below (don't forget to authorize):

http://ringcentral.github.io/api-explorer/#!/Messaging/v1_0_account__accountId__extension__extension...
(Edited)
Photo of Brandon Padula

Brandon Padula

  • 150 Points 100 badge 2x thumb
Thanks for that! I tried updating the message, but got this error:

{ "message" : "Internal Server Error. Consult RC Support.", "eventId" : "eaae36c7-8d7e-410a-97d2-1e8349266a6f" }

Any idea what might be wrong?
Photo of Ilya Volkov

Ilya Volkov

  • 100 Points 100 badge 2x thumb
Brandon,
Please check that your Content-Type header equals to "application/json". If equals, please specify full request you are sending to server.
Photo of Brandon Padula

Brandon Padula

  • 150 Points 100 badge 2x thumb
That did the trick! Thanks Ilya!