{"version":2,"service":"Pagebox temporary publishing","documentation":"https://pagebox.page/agents","publish":{"method":"POST","url":"https://pagebox.page/api/pagebox/temporary-sites","contentType":"application/zip","body":"The finished static site as a raw zip archive. Include index.html and every local asset it references; relative links are preserved.","optionalHeaders":{"x-pagebox-title":"Page title, trimmed to 120 characters. Defaults to \"Untitled site\"."},"limits":{"maxRequestBytes":4194304,"maxFiles":100,"maxFileBytes":10485760,"maxTotalBytes":20971520,"publishesPerHourPerClient":5},"response":{"status":201,"fields":{"pageUrl":"Public page URL. Anyone with the link can open it; share this one.","claimUrl":"Private claim URL. Its fragment holds the claim secret, which is never sent to the server until the person claims the page. Give it only to the person who asked for the page.","expiresAt":"ISO 8601 timestamp when an unclaimed page stops serving."}},"errorResponse":{"fields":{"error":"Stable error code listed below.","message":"Human-readable explanation safe to show to the user."}},"errors":[{"status":415,"code":"unsupported_media_type","meaning":"The request body must be sent as application/zip."},{"status":400,"code":"empty_archive","meaning":"The request had no body."},{"status":413,"code":"archive_too_large","meaning":"The zip request body exceeded the size limit."},{"status":400,"code":"bad_archive","meaning":"The body was not a readable zip archive."},{"status":400,"code":"empty_site","meaning":"The archive held no publishable web files."},{"status":400,"code":"no_entry","meaning":"The archive had no index.html to use as the entry page."},{"status":400,"code":"too_many_files","meaning":"The archive held more files than a temporary page allows."},{"status":400,"code":"file_too_large","meaning":"One file exceeded the per-file limit."},{"status":400,"code":"site_too_large","meaning":"The expanded site exceeded the total size limit."},{"status":429,"code":"rate_limited","meaning":"Hourly publish limit for this client. Retry-After gives the wait in seconds."},{"status":503,"code":"daily_capacity_reached","meaning":"Temporary publishing hit its daily byte budget. Retry later."},{"status":503,"code":"storage_capacity_reached","meaning":"Temporary storage is full until existing pages expire. Retry later."},{"status":500,"code":"publish_failed","meaning":"Unexpected server failure. Retry once, then report it."}]},"page":{"visibility":"public","indexing":"noindex","expiresInSeconds":86400,"expiry":"An unclaimed page stops serving at expiresAt; cleanup removes its files afterward. Claiming the page removes the expiry."},"claim":{"urlTemplate":"https://pagebox.page/claim/{claimId}#{secret}","secretLocation":"url-fragment","requiresSignIn":true,"onceOnly":true,"effect":"The first signed-in holder of the private claim URL becomes the owner. The public URL, files, and version history stay exactly as published, the page appears in that account's dashboard, and it no longer expires."},"templates":{"optional":true,"guidance":"Use a template only when its structure fits the requested page. Download the source pack, replace its sample content and visual tokens, preserve useful interaction and accessibility behavior, then publish the adapted files. Build from scratch when no template fits.","items":[{"id":"product-demo","name":"Relay product demo","format":"app","useWhen":"The audience should click through a product concept, workflow, or dashboard.","previewUrl":"https://pagebox.page/samples/relay-product-demo/index.html","downloadUrl":"https://pagebox.page/downloads/relay-product-demo.zip","files":["index.html","styles.css","app.js"]},{"id":"decision-deck","name":"Northstar decision deck","format":"deck","useWhen":"A presenter needs to move an audience through evidence toward one decision.","previewUrl":"https://pagebox.page/samples/northstar-launch-deck/index.html","downloadUrl":"https://pagebox.page/downloads/northstar-launch-deck.zip","files":["index.html","styles.css","deck.js","images/northstar-mark.svg","images/signal-grid.svg"]},{"id":"analysis-report","name":"Atlas analysis report","format":"report","useWhen":"A reader needs findings, evidence, recommendations, and methodology in one document.","previewUrl":"https://pagebox.page/samples/atlas-analysis-report/index.html","downloadUrl":"https://pagebox.page/downloads/atlas-analysis-report.zip","files":["index.html","styles.css"]},{"id":"decision-brief","name":"Keystone decision brief","format":"one-pager","useWhen":"A busy stakeholder needs the decision, rationale, owner, and next step at a glance.","previewUrl":"https://pagebox.page/samples/keystone-decision-brief/index.html","downloadUrl":"https://pagebox.page/downloads/keystone-decision-brief.zip","files":["index.html","styles.css"]},{"id":"project-status","name":"Beacon project status","format":"report","useWhen":"A cross-functional team needs progress, milestones, risks, decisions, and next steps in one update.","previewUrl":"https://pagebox.page/samples/beacon-project-status/index.html","downloadUrl":"https://pagebox.page/downloads/beacon-project-status.zip","files":["index.html","styles.css"]},{"id":"business-proposal","name":"Summit business proposal","format":"one-pager","useWhen":"A buyer or executive sponsor needs the problem, approach, scope, investment, and next step in one place.","previewUrl":"https://pagebox.page/samples/summit-business-proposal/index.html","downloadUrl":"https://pagebox.page/downloads/summit-business-proposal.zip","files":["index.html","styles.css"]}]},"abuseReports":{"method":"POST","url":"https://pagebox.page/api/pagebox/abuse-reports","reasons":["phishing","malware","harassment","copyright","other"]}}