The Supadrop API lets you deploy and manage static sites programmatically.
Upload a file, get a live URL. Perfect for CI/CD pipelines, scripts, and automation.
Base URLhttps://app.supadrop.host/api/v1
Use with your AI coding tool
Download a ready-to-use skill file containing the full Supadrop API reference.
Drop it into your project and your AI assistant will know every endpoint, parameter, and error code.
Works withClaude CodeCursorCodexWindsurfCopilotOpen-code
Or point your tool directly at https://supadrop.host/supadrop-skill/skill.md
Overview
The API gives you full control over your Supadrop sites. List, create, update, and delete sites, and choose whether search engines can index them, with simple HTTP requests.
Every response is JSON. Authentication uses Bearer tokens.
API access is available on Pro and Large plans.
The Free and Starter plans do not include API access.
Authentication
All /api/v1/* endpoints require a Bearer token in the Authorization header:
Authorization: Bearer sk_live_a1b2c3d4...
Getting an API key
In your dashboard, open API in the sidebar.
Click Create key.
Name the key after the tool that will use it, and pick an expiration.
Click Copy and store the key somewhere safe. It is shown only once.
Each account can have up to 10 active API keys. Each key has a name and an optional expiration date. To free a slot, revoke a key you no longer use.
Key format
Keys follow the pattern sk_live_ followed by 64 hex characters (72 characters total):
Deploy a new static site. Send the file as multipart form data.
Parameters
Field
In
Required
Description
file
form
yes
The file to deploy (ZIP, HTML, PDF, or image)
slug
form
no
Custom slug. Auto-generated from filename if omitted.
noindex
form
no
true to hide the site from search engines, false (default) to keep it indexable.
Slug rules
3 to 63 characters
Lowercase letters, numbers, and hyphens only
Must start and end with a letter or number
Pattern: ^[a-z0-9]([a-z0-9-]*[a-z0-9])?$
Some slugs are reserved (e.g. api, admin, www)
If omitted, the slug is generated from the filename (e.g. portfolio.zip becomes portfolio). If that slug is taken, a suffix is appended (portfolio-2, portfolio-3, etc.).
Hide a site from search engines, or make it visible again. When noindex is true, every response of the site carries the X-Robots-Tag: noindex header, on its subdomain and on its custom domain. Your files are not modified. The change applies immediately, without a redeploy.
Search engines drop a page that is already indexed on their next crawl, which can take days.
Sites on a custom domain are created and connected from the dashboard. Once they exist, the API manages them like any other site, by their slug: get, update, search engine visibility, and delete.
The slug of a custom domain site is derived from the domain (for example mycafe.com becomes mycafe-com). It is shown on the site page of the dashboard, and returned by GET /api/v1/sites. For these sites, custom_domain holds the domain and url points to it: