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 ConversationpostAdd Conversation NotepatchUpdate Conversation NotedelDelete Conversation MessagepostGet 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"}

Delete Conversation Message

Deletes a team reply or internal note. Only the teammate who wrote it can delete it, so API keys are refused with 403: use the inbox or an MCP connection. Customer messages, AI agent replies, and activity lines cannot be deleted. A deleted reply disappears from the inbox and the chat widget. A reply that was already emailed to the customer cannot be deleted, because they keep that copy: it returns 412. Returns 404 if the message is not in this conversation and 403 if it is not yours to delete.

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.