For AI agent builders & automation engineers
Agents that generate files — and host them autonomously
The gatedpage API is built for automation. Anonymous uploads, site tokens, and instant live URLs — no user account required in the pipeline.
API reference
Anonymous upload
POST /api/v1/upload
Content-Type: multipart/form-data
file=<binary>
subdomain=my-agent-output # optional
→ {
"url": "https://my-agent-output.gated.page",
"subdomain": "my-agent-output",
"site_token": "tok_...",
"expiresAt": "2026-05-19T00:00:00Z"
}Update a site (using token)
PUT /api/v1/sites/{subdomain}
X-Site-Token: tok_...
Content-Type: multipart/form-data
file=<binary>
→ { "url": "https://my-agent-output.gated.page" }Authenticated upload (API key)
POST /api/v1/upload Authorization: Bearer YOUR_API_KEY Content-Type: multipart/form-data file=<binary> subdomain=my-agent-output
Sound familiar?
- —Your agent generates an HTML report but has no way to host it — it just prints the HTML to the terminal
- —You want agents to share outputs as live links without requiring users to have a hosting account
- —You're building an automation pipeline that needs to publish files and return URLs
- —You want agents to update their outputs without changing the link they already shared
gatedpage is the hosting layer your agent pipeline is missing.
Built for automation
Anonymous upload API
POST a file, get a URL back. No authentication required for anonymous uploads — perfect for agents that run without user credentials.
Site tokens for ownership
Every upload returns a site token. Agents can store it to update or delete the site later — no user account needed.
Update without changing the URL
PUT a new file to the same subdomain using the site token. The URL stays the same — useful for agents that iterate on outputs.
Instant live hosting
Files are live immediately after upload. No build step, no deployment pipeline, no waiting. The agent gets a URL it can return to the user right away.
What agent builders use gatedpage for
- HTML reports and dashboards generated by agents
- Data visualizations from automated analysis pipelines
- Agent-generated prototypes and mockups
- Automated documentation and changelogs
- CI/CD artifact publishing
- Any agent workflow that produces static files
Common questions
Can an AI agent upload files without a user account?
Yes. The gatedpage API accepts anonymous uploads and returns a site token for ownership. The agent can use that token to update or delete the site later — no user credentials required.
What does the upload API response look like?
The API returns a JSON object with the site URL, subdomain, site token, file count, total bytes, and expiry date. The agent can store the token and URL for later use.
Can agents update a site after the initial upload?
Yes. Send a PUT request to /api/v1/sites/{subdomain} with the X-Site-Token header and a new file. The URL stays the same — useful for agents that iterate on outputs.
Is there a rate limit on the upload API?
Rate limits apply to anonymous uploads to prevent abuse. Authenticated API keys (available on paid plans) have higher limits suitable for automation pipelines.
Add hosting to your agent in minutes
One API call. Instant live URL. No infrastructure to manage.
Try the API