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 SeenpostGet Inbound Email Attachment
SupportMessages

Get Inbound Email Attachment

View as MarkdownAgent setup

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.

POST
/projects/{projectId}/support/conversations/{conversationId}/messages/{messageId}/attachments/{attachmentId}

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project that owns the conversation.

attachmentIdrequiredstring

Resend attachment id stored on the inbound message.

conversationIdrequiredstring

ID of the conversation that owns the message.

messageIdrequiredstring

ID of the inbound email message the file belongs to.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/projects/string/support/conversations/string/messages/string/attachments/string"
{  "expiresAt": "string",  "fileName": "string",  "url": "string"}

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.

List Shortlinks

Lists a project's short links, newest first, with an all-time click count on each row. Pass the last id as after to read the next page.