Error
Attachments
Add an Attachment
Upload a file attachment to a specific record
POST
Error
Documentation Index
Fetch the complete documentation index at: https://docs.elementum.io/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Upload file attachments to records in Elementum. Files are stored as attachments on the record and accessible through the record’s attachments block.Endpoint
Request
The request body should bemultipart/form-data containing the file to upload.
Path Parameters:
elementname- The namespace of your element (e.g.,testelement)record-handle- The unique identifier for the record (e.g.,TTE-11)
Authorization: Bearer {access_token}Content-Type: multipart/form-data
file(required) - The file to uploaddescription(optional) - Description for the attachment
Example Request
Response
Success (202 Accepted):The
202 Accepted status indicates the file upload has been accepted and is being processed asynchronously.400- Invalid file or exceeds size limit401- Invalid or expired access token404- Record not found413- File exceeds 250MB size limit
Related Documentation
File Uploads Guide
Comprehensive guide to working with files and attachments
Add a Link
Add a URL link as an attachment
Delete Attachment
Remove an attachment from a record
API Introduction
Authentication and getting started
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
'apps', 'elements', 'tasks', or 'transactions'
The application alias
The record ID
Body
multipart/form-data
the attachment to be uploaded
Response
Accepted