S
Samva
S
Samva
DashboardAPISamva DocumentationQuickstart GuideAuthentication

API Reference

Email Management

Conversation Management

Configuration

Analytics & Operations

Get Download URLGet AttachmentList AttachmentsRemove AttachmentGet Thumbnail URL
OpenAPI Specification
API ReferenceAttachments

List Attachments

GET
/attachments

Authorization

apiKey
X-API-Key<token>

API key for authentication

In: header

Query Parameters

messageId*string
Formatuuid

Response Body

application/json

curl -X GET "https://samva.app/api/v1/attachments?messageId=497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "attachments": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "messageId": "8540d774-4863-4d2b-b788-4ecb19412e85",
      "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
      "filename": "string",
      "contentType": "string",
      "size": -2147483648,
      "s3Key": "string",
      "s3Bucket": "string",
      "thumbnailS3Key": "string",
      "contentId": "string",
      "isInline": true,
      "createdAt": "2019-08-24T14:15:22Z"
    }
  ],
  "total": 0
}

Get Attachment

Previous Page

Remove Attachment

Next Page

curl -X GET "https://samva.app/api/v1/attachments?messageId=497f6eca-6276-4993-bfeb-53cbbbba6f08"