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

Get Attachment

GET
/attachments/:id

Authorization

apiKey
X-API-Key<token>

API key for authentication

In: header

Query Parameters

id*string
Formatuuid

Response Body

application/json

curl -X GET "https://samva.app/api/v1/attachments/:id?id=497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "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"
}

Get Download URL

Previous Page

List Attachments

Next Page

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