Upload Attachment

POST

/v1/attachments

Uploads a file directly via multipart form data or attaches an already uploaded signed blob to an account attachment record.

Parameters

NameTypeDescription
filefileMultipart file upload binary
signed_blob_idstringSigned blob ID from direct upload endpoint
attachment_typestring'file', 'image', 'audio', 'video'

Responses

200Attachment created
{
  "data": {
    "id": "att_991",
    "file_url": "https://cdn.deskbolic.com/storage/invoice.pdf",
    "attachment_type": "file",
    "extension": ".pdf"
  }
}