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

Assign Conversation

View as MarkdownAgent setup

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.

PUT
/projects/{projectId}/support/conversations/{conversationId}/assignee

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project that owns the conversation.

conversationIdrequiredstring

ID of the conversation to assign.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

assignedToUserIdrequiredstring | null

User id of the project member to assign, me for the signed-in teammate, or null to hand the thread back to the AI agent.

respondboolean

When handing the thread back to the AI agent, reply to the customer now. Ignored when assigning a teammate.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/projects/string/support/conversations/string/assignee" \  -H "Content-Type: application/json" \  -d '{    "assignedToUserId": "string"  }'
{  "assignedToUserId": "string",  "owner": "agent"}

Update Conversation State

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.

List Conversation Messages

Returns the transcript of one conversation. Internal notes are included with `type: "note"`: they are written by teammates for the team and the customer never sees them. Conversation metadata (contact, assignee, state) is on the listing endpoints, not here. Returns 404 if the conversation does not belong to the project.