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 Name | URL | Method Type | OAuth Scope | Purpose |
| Flag thread | /api/accounts/{accountId}/updatethread | PUT | ZohoMail.messages | To apply a flag to single/multiple email threads. |
| Move thread | /api/accounts/{accountId}/updatethread | PUT | To move single/multiple threads. | |
| Apply Label to thread | /api/accounts/{accountId}/updatethread | PUT | To apply label(s) to single/multiple email threads. | |
| Remove label from thread | /api/accounts/{accountId}/updatethread | PUT | To remove label(s) from single/multiple email threads. | |
| Remove all labels from thread | /api/accounts/{accountId}/updatethread | PUT | To remove all labels from single/multiple email threads. | |
| Mark thread as read | /api/accounts/{accountId}/updatethread | PUT | To mark single/multiple email threads as read. | |
| Mark thread as unread | /api/accounts/{accountId}/updatethread | PUT | To mark single/multiple email threads as unread. | |
| Mark thread as spam | /api/accounts/{accountId}/updatethread | PUT | To mark single/multiple threads as spam. | |
| Mark thread as not spam | /api/accounts/{accountId}/updatethread | PUT | To mark single/multiple threads as not spam. |