Conversations

Move conversations to or from Spam

Changed on

Moves up to 100 conversations into the Spam folder (spam true) or back to the inbox (spam false). Only conversations that move are updated, so retries are safe. IDs that do not exist in the company are reported in notFoundIds and do not fail the request.

post/conversations/bulk/spam

Request

  • Base URL
    https://api.sequenzy.com/api/v1
  • URL
    https://api.sequenzy.com/api/v1/conversations/bulk/spam
  • Auth
    HTTP bearer

Request body

conversationIdsstring[] required

Conversation IDs to move, up to 100. Whitespace is trimmed and blank or repeated IDs are ignored; at least one non-blank ID is required.

spamboolean required

True moves them to Spam; false moves them back.

Response

Conversations moved

successboolean
spamboolean
requestedinteger

Distinct conversation IDs in the request.

updatedinteger

Conversations that moved.

unchangedinteger

Conversations that were already there.

notFoundinteger

IDs that do not exist in the company.

updatedIdsstring[]

IDs that moved, in request order.

unchangedIdsstring[]

IDs that were already there, in request order.

notFoundIdsstring[]

IDs that do not exist in the company, in request order.

Example response

{
  "success": true
}

Changes