Attachments
Download attachment
Accès
Tout membre de l’organisation.
GET
Downloads an attachment.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
attachmentId*stringLength
1 <= lengthOK
application/json- response
curl -X GET 'https://api.tillor.eu/orgs//attachments/string/download'Example Response
nullUpload attachment POST
Uploads a file as an orphan attachment. Pass purpose so inbox uploads require inbox write permission. With purpose `customField` (plus customFieldEntity and customFieldPath) the file is for a FILE custom field: the field's write access, type and size limits apply; save the returned id as the field's value, an upload no record holds is deleted after a day. Blobs are always encrypted at rest (AES-256-GCM).
Preview attachment GET
Returns a signed preview URL for the attachment. Open in a browser to view PDFs/images inline.