Skip to main content
POST
Mark as spam

Authorizations

The full Cookie header copied from a signed-in connie.ai browser request. See the Authentication page.

Query Parameters

workspaceId
string<uuid>
required

Your workspace ID. Also accepted as workspace_id, the x-workspace-id header, or workspaceId in a JSON body. If you leave it out, the request silently runs against the first workspace you joined.

Body

application/json
accountId
string
required
senderEmail
string<email>
required
conversationId
string
emailId
string
markSender
boolean
default:true
markDomain
boolean
default:false

Response

Marked as spam. Check success.

success
boolean
movedToSpam
integer
senderAdded
boolean
domainAdded
boolean
error
string
warnings
string[]