Attachments
Upload attachment
POST
Uploads a file as an orphan attachment. Pass purpose so inbox uploads require inbox write permission. Blobs are always encrypted at rest (AES-256-GCM).
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
- body
file*stringpurpose*stringValue in
"comment""task""inbox""meterReading"taskId?stringmeterReadingId?stringOK
application/json- response
curl -X POST 'https://api.tillor.eu/orgs/string/attachments/upload' \ -H 'Content-Type: application/json' \ -d '{ "file": "string", "purpose": "comment"}'null