Conversations
Move Conversations to or from Spam
Move up to 100 conversations into the Spam folder or back to the inbox
POST
Move Conversations to or from Spam
Move conversations into the Spam folder, or back to the inbox when the spam scan got it wrong. Mail sent to your inbox addresses that the inbound spam or virus scan flags already lands in Spam on its own. Spam conversations are left out of List Conversations unless you pass
Requests whose
spam=true, and out of unread and open counts.
Only conversations that move are updated, so you can safely retry a request after a timeout.
Request
Conversation IDs to move, up to 100 distinct IDs. Surrounding whitespace is
trimmed, and blank or repeated IDs are ignored before the limit is checked. At
least one non-blank ID is required.
Response
Number of IDs that do not exist in your company. They are skipped; the rest of
the request still applies.
conversationIds array has no usable IDs or more than 100 distinct IDs return 400. A missing or non-boolean spam, or a missing or non-array conversationIds, returns 422. Rejected requests change no conversations. The API key needs the conversations:write scope.