Files

Upload a document

Upload a document as multipart form-data (field file) and get a trackable share link. Returns the new file's UUID, short ID and ready-to-send shareUrl (https://everypage.co/{shortId}; the UUID form works too). PDFs are stored as sent; Word (.docx) and PowerPoint (.pptx/.ppt) files are converted to PDF server-side (legacy .doc is rejected with 400). A single .html/.htm file or a .zip static site (with index.html at the top level) is hosted live in a sandbox; that needs a user account, not an anonymous lane, and is capped at 10MB unpacked on Free, 50MB on Basic and 100MB on Pro, up to 1,000 files. Scope files:write; uses one of your plan's file slots - 3 Free, 100 Basic, unlimited Pro - and is capped at your plan's size. The file starts with no expiry and no gates.

post/api/v1/files

Request

  • Base URL: https://everypage.co
  • URL: https://everypage.co/api/v1/files
  • 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)

Response

Uploaded

uuidstring uuid
shortIdstring

The file's short share-URL alias.

shareUrlstring

The ready-to-send share link, built server-side so clients need neither a second round trip nor a copy of the construction rule (which also has to know whether the owner has a verified custom domain). Always the durable short-id form - a just-created file has no vanity slug.

messagestring

Example response

{
  "shortId": "aB3xY9kQ2mZ7",
  "shareUrl": "https://everypage.co/aB3xY9kQ2mZ7",
  "message": "PDF uploaded successfully"
}

Changes

No recorded changes to this operation across all 1 revision of this API.