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 Conversation MessagesgetSearch Conversation MessagespostMark Messages SeenpostReply To ConversationpostGet Inbound Email Attachment
SupportMessages

Reply To Conversation

View as MarkdownAgent setup

Sends a team reply to the customer in an open conversation, as the signed-in teammate, through the same writer as the inbox composer: chat, plus the email follow-up on email threads. Replying to a thread the AI agent owns assigns it to that teammate, as in the inbox. Returns 404 if the conversation does not belong to the project, 409 if another teammate owns it, and 412 if it is closed, snoozed, or spam — set it to open first. API keys are refused with 403: a reply needs a teammate to send as. A sent reply cannot be recalled.

POST
/projects/{projectId}/support/conversations/{conversationId}/replies

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project that owns the conversation.

conversationIdrequiredstring

ID of the conversation to reply in.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

contentrequiredstring

Reply text, exactly as a teammate would type it in the inbox composer: plain text or light markdown, rendered the same way. HTML is escaped.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/projects/string/support/conversations/string/replies" \  -H "Content-Type: application/json" \  -d '{    "content": "string"  }'
{  "conversationId": "string",  "message": {    "createdAt": "string",    "id": "string",    "plainBody": "string",    "source": "email",    "author": {      "email": "string",      "id": "string",      "image": "string",      "name": "string"    }  },  "state": "open"}

Mark Messages Seen

Marks customer comments on a conversation as seen by the team. Stamps `seenByTeamAt` on the given message ids that are still unseen. Project-wide, not per member: the first teammate (or API key) to open the thread clears the unread count for everyone.

Get Inbound Email Attachment

Mints a short-lived download URL for one file on an inbound email. A POST rather than a GET because the URL expires and must not be cached. Returns 404 if the message or attachment does not belong to the project.