Saasco logoSaasco logo
Saasco logoSaasco logo

Introduction

OverviewGetting startedAgent setupWhat is Saasco?

SDK

Quick startTrackingIdentifyConfigurationWidgetsProperties

MCP

Quick startHow it worksAuthorizationTool reference
Skills for agents

REST API

Quick start
getList ConversationsgetList Contact ConversationspatchUpdate Conversation State
SupportConversations

Update Conversation State

View as MarkdownAgent setup

Sets a conversation to open, closed, or spam. Snooze is not settable here. Manual spam goes through the same writer as the inbox so the audit line and updatedAt stay consistent. API-key calls leave the audit unnamed.

PATCH
/projects/{projectId}/support/conversations/{conversationId}

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project that owns the conversation.

conversationIdrequiredstring

ID of the conversation to update.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

staterequiredstring

Target state. spam quarantines the thread; open and closed also leave spam.

Value in: "open" | "closed" | "spam"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/projects/string/support/conversations/string" \  -H "Content-Type: application/json" \  -d '{    "state": "open"  }'
{  "state": "open"}

List Contact Conversations

Lists every Support conversation for one CRM contact, including closed and spam threads. Each row is the same listing shape as List Conversations: a preview line, not the transcript.

List Conversation Messages

Returns the transcript of one conversation. Conversation metadata (contact, assignee, state) is on the listing endpoints, not here. Returns 404 if the conversation does not belong to the project.