Threads API Details

The Threads APIs help you in accessing and managing threads in the user account.

While using any Threads API, make use of the OAuth Scope ZohoMail.messages

Method NameURLMethod TypeOAuth ScopePurpose
Flag thread/api/accounts/{accountId}/updatethread

PUT

ZohoMail.messagesTo apply a flag to single/multiple email threads.
Move thread

/api/accounts/{accountId}/updatethread

PUTTo move single/multiple threads.
Apply Label to thread 

/api/accounts/{accountId}/updatethread

PUTTo apply label(s) to single/multiple email threads.
Remove label from thread 

/api/accounts/{accountId}/updatethread

PUTTo remove label(s) from single/multiple email threads. 
Remove all labels from thread 

/api/accounts/{accountId}/updatethread

PUTTo remove all labels from single/multiple email threads.
Mark thread as read

/api/accounts/{accountId}/updatethread

PUTTo mark single/multiple email threads as read.
Mark thread as unread

/api/accounts/{accountId}/updatethread

PUTTo mark single/multiple email threads as unread.
Mark thread as spam

/api/accounts/{accountId}/updatethread

PUTTo mark single/multiple threads as spam.
Mark thread as not spam

/api/accounts/{accountId}/updatethread

PUTTo mark single/multiple threads as not spam.