Import a PDF from an export URL
Create a file by server-side download of an allowlisted HTTPS export URL (e.g. a Canva design export). PDF only, redirect-free, capped at your plan's size; uses a file slot (403 when full). Returns uuid, shortId, shareUrl and an optional advisory palette. Scope files:write.
The response may include palette - colour swatches extracted from the imported document during the import (see the Palette schema). The palette is advisory and best-effort: extraction reads the first page's embedded images with a short time budget, so vector-only documents (and any extraction failure or timeout) simply omit the field. A missing palette is normal, never an error, and never fails the import.
Canva design lane (republish-in-place): sending a verified canvaUserToken AND designToken pair binds the import to the Canva design. When a live file of yours is already bound to that design, the import REPLACES its bytes in place - same UUID, short id, QR and readership history - and the response reports republished: true with the new contentVersion. Works on every plan (unlike the /content endpoint), and a republish consumes no file-limit slot; the owner can switch the lane off per file (canvaUpdatesEnabled) or sever it permanently (detachCanvaDesign) via the settings endpoint. A designToken WITHOUT a valid canvaUserToken is ignored (the import proceeds as a plain create), as is any token that fails verification - a bad optional token never fails a publish.
Request
- Base URL: https://everypage.co
- URL: https://everypage.co/api/v1/files/import
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://everypage.co/oauth/authorize, token URL https://everypage.co/oauth/token, scopes: files:write)
Request body
Response
Imported (or republished in place - see republished)
Example response
{
"shortId": "aB3xY9kQ2mZ7",
"shareUrl": "https://everypage.co/aB3xY9kQ2mZ7",
"palette": [
"#1a2b3c"
]
}Changes
No recorded changes to this operation across all 1 revision of this API.