Attachments

Upload attachment

POST
/orgs/{organizationId}/attachments/upload

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).

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string

The ID or slug of the organization

Request Body

  1. body
file*string
purpose*string
Value in"comment""task""inbox""meterReading"
taskId?string
meterReadingId?string

Response Body

OK

application/json
  1. response
curl -X POST 'https://api.tillor.eu/orgs/string/attachments/upload' \  -H 'Content-Type: application/json' \  -d '{  "file": "string",  "purpose": "comment"}'
null