Attachments
Preview attachment
Accès
Tout membre de l’organisation.
GET
Returns a signed preview URL for the attachment. Open in a browser to view PDFs/images inline.
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/preview'Example Response
nullDownload attachment GET
Downloads an attachment. PDFs, raster images and mp4/webm videos keep their type; every other file is sent as `application/octet-stream`.
Ensure attachment preview POST
Returns how to show the attachment in a browser (image or PDF rendition). Starts PDF generation for office files and Outlook messages when the rendition is missing; poll while the status is `generating`.