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 StateputAssign Conversation
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.

Assign Conversation

Assigns a conversation to a project member, or hands it back to the AI agent with `assignedToUserId: null`, through the same writer as the inbox assignee picker. The inbox shows the same `Assignment:` line, naming the signed-in teammate. `me` assigns it to that teammate. Assigning the current owner again changes nothing. Returns 404 if the conversation does not belong to the project and 400 if the assignee is not a project member. API keys are refused with 403: an assignment is recorded as a teammate's act.