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

Remove Attachment

DELETE
/attachments/:id

Authorization

apiKey
X-API-Key<token>

API key for authentication

In: header

Request Body

application/json

id*string
Formatuuid

Response Body

application/json

curl -X DELETE "https://samva.app/api/v1/attachments/:id" \  -H "Content-Type: application/json" \  -d '{    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"  }'
{
  "success": true,
  "deletedId": "02436a78-cdb4-4368-80a7-194d012df901"
}

List Attachments

Previous Page

Get Thumbnail URL

Next Page

curl -X DELETE "https://samva.app/api/v1/attachments/:id" \
  -H "Content-Type: application/json" \
  -d '{
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
  }'