Forum Discussion

MSohm's avatar
11 years ago

Mark messages as read

Hi,

 

I'm retrieving messages in a thread like this:

 

http://domain/restapi/vc/threads/id/1741973?restapi.format_detail=full_list_element&message_viewer.message_sort_order=thread_ascending&page_size=10&page=1

 

Is there a parameter I can add to that call that will mark the messages I retrieve as read or do I have to call mark read for every message I retrieve?

 

Mark

  • Hi Mark,

     

    as far as I am aware - you need to use the call for each message. Depending on your use case, maybe you could create a Studio Endpoint that accepts batches of IDs and handles mark/read call iteration for you.

     

    Hope this helps,

     

     

  • PaoloT's avatar
    PaoloT
    Lithium Alumni (Retired)

    Hi Mark,

     

    as far as I am aware - you need to use the call for each message. Depending on your use case, maybe you could create a Studio Endpoint that accepts batches of IDs and handles mark/read call iteration for you.

     

    Hope this helps,