Saasco logoSaasco logo
Saasco logoSaasco logo

Introduction

Quick StartWhat is Saasco?

Analytics

CRM

Email Marketing

Knowledge

Support

getList Conversation MessagesgetSearch Conversation MessagespostMark Messages SeenpostGet Inbound Email Attachment

Projects

Messages

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.

POST
/projects/{projectId}/support/conversations/{conversationId}/messages/seen

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project that owns the conversation.

conversationIdrequiredstring

ID of the conversation whose messages to mark seen.

Request Body

application/json

messageIdsrequiredarray<string>

IDs of the customer comments to mark seen.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://www.saasco.com/api/v2/projects/string/support/conversations/string/messages/seen" \  -H "Content-Type: application/json" \  -d '{    "messageIds": [      "string"    ]  }'
{
  "ok": true
}
{
  "code": "BAD_REQUEST",
  "message": "Invalid input data",
  "issues": []
}
{
  "code": "UNAUTHORIZED",
  "message": "Authorization not provided",
  "issues": []
}
{
  "code": "FORBIDDEN",
  "message": "Insufficient access",
  "issues": []
}
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "Internal server error",
  "issues": []
}

Search Conversation Messages

Returns conversation ids whose message bodies match every search term. Caps at 200 matches. Does not search contact names, emails, or subjects — those live on the listing and are matched there. Omitted `state` searches open conversations.

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.