Static Hosting API
The REST API behind every interface. Publish with no account, authenticate for everything else.
PUT /domains/staging
Request
{ "deployment": "pink-elephant-4ruf23f" }
201 Created
{
"domain": "staging.shipstatic.com",
"deployment": "pink-elephant-4ruf23f",
"url": "https://staging.shipstatic.com",
"labels": [],
"verified": true,
"created": "2026-01-15T..."
}
REST API
Everything, over HTTP.
Publish with no credentials at all, then authenticate for everything else. The same API every other interface runs on, so you can build your own on top.
- Publish without an account
- Full RESTful resource model
- Predictable rate limiting
- API keys & deploy tokens
Configuration as Code
One file. Full control.
Drop a ship.json in your project root to configure rewrites, redirects, and custom headers. No dashboard clicks, no deploy flags, just code.
SPA Rewrites
Route all paths to index.html for client-side routing.
Redirects
Permanent or temporary redirects with status codes.
Custom Headers
Set CORS, CSP, cache-control, and any other HTTP header.
ship.json
{
"rewrites": [
{
"source": "/**",
"destination": "/index.html"
}
]
}