Forum Discussion

MSohm's avatar
12 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,

     

     

1 Reply

  • PaoloT's avatar
    PaoloT
    Lithium Alumni (Retired)
    12 years ago

    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,