Skip to Main Content
Riverty Docs
  • Get Started
  • Login
riverty logo Docs

Upload a File

Return details for upload file
The maximum size is 20MB. Allowed extensions are: .pdf, .jpg, .png, .gif, .jpeg, .docx, .doc, .bmp

Path

POST /attachments
200 Successful Request

Request Example

    
        {
 "file": "binary using multipart/form-data content-type"
}
    

Response Example

    
        {
 "id": "d3cd4950-9541-4867-063f-08ddb25bc8cc",
 "size": 1784046,
 "mimeType": "image/jpeg",
 "createdAt": "2025-06-24T08:17:00Z",
 "originalFileName": "Group_of_cats.jpg"
}