Upload a file (multipart, "file" field, ≤15MB)
View as MarkdownAuthorization
bearer In: header
Path Parameters
uuidRequest Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/v1/pages/497f6eca-6276-4993-bfeb-53cbbbba6f08/attachments" \ -F file="string"{ "attachment": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "pageId": "347b9bf8-fe00-46f6-b8ca-1e06b3bd5809", "filename": "string", "contentType": "string", "size": 0, "url": "string", "created": "2019-08-24T14:15:22Z" }}List a page's attachments
Previous Page
Stream an attachment (share link or bearer)
Streams the file for a caller holding a live share token for the attachment's page (share, used by share pages) or a bearer that can see the page. Anything else is 404, so a URL on its own (an id, or a retired exp+sig signed URL) opens nothing. Never redirects to a storage URL. Raster images (png, jpeg, gif, webp, avif) are served inline; anything else as application/octet-stream to download. Every response is Cache-Control private, no-store, Referrer-Policy no-referrer, X-Content-Type-Options nosniff. Streams are bounded: a deadline sized to the file, and a cap on concurrent downloads per caller and overall (429 past it).