ShipStatic
v2.12.1Upload your HTML and get a link to share.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
deployments_upload Deploy Static Site
Deploy a static site instantly: free, no account or API key required. Returns the live URL, file count, and size. Without SHIP_TOKEN, the response also includes a one-time claim URL, and the site expires in 3 days unless claimed. Pass `password` to make the site private.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to the build output directory to deploy (e.g. "/Users/me/project/dist") |
idempotencyKey | string | Makes this deploy replayable instead of repeatable. A deploy is not naturally idempotent: if a call times out you cannot tell "it never landed" from "it landed and the response was lost", and retrying… |
labels | array | Labels for organizing deployments (e.g. ["env:production", "v1.2"]). Each is a word, or a key and a value split by one ":". Lowercase, 3 to 63 characters, allows . _ - inside a word. Up to 10. |
password | string | Optional password to gate the deployment behind an unlock prompt (6 to 128 characters; spaces at the start and end are trimmed). Visitors must enter this password before viewing the site, including on… |
ttl | number | Seconds until this deployment expires and the platform reclaims it; omit for one that never does. Only for authenticated deploys: an anonymous deployment already expires on the platform's schedule, an… |
deployments_list List Deployments
List all deployments with their URLs, status, labels, and password protection state. The response's `cursor` is null on the last page; pass it back as `cursor` to fetch the next.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Opaque position from the previous response's `cursor` field; omit for the first page. |
limit | integer | Maximum number of items to return in one page. Omit for the server default. |
deployments_get Get Deployment
Get deployment details including URL, status, file count, size, labels, and password protection state.
| Parameter | Type | Description |
|---|---|---|
deployment * | string | Deployment hostname (e.g. "happy-cat-abc1234.shipstatic.com"). Returned by deployments_upload or deployments_list. |
deployments_set Update Deployment Labels
Update deployment labels. Replaces all existing labels.
| Parameter | Type | Description |
|---|---|---|
deployment * | string | Deployment hostname (e.g. "happy-cat-abc1234.shipstatic.com"). Use deployments_list to find deployments. |
labels * | array | Labels to set. Replaces all existing labels. Pass empty array to clear. |
deployments_delete Delete Deployment
Permanently deletes a deployment and its files.
| Parameter | Type | Description |
|---|---|---|
deployment * | string | Deployment hostname to delete (e.g. "happy-cat-abc1234.shipstatic.com") |
domains_set Set Domain
Create or update a domain: a ShipStatic domain (e.g. "yourname.shipstatic.com"), live as soon as a deployment is linked, or a custom domain (e.g. "www.example.com"), which needs DNS records first. Can reserve a name (omit deployment), link it to a deployment, switch deployments, or update labels. For a custom domain, domains_records then returns the DNS records to configure.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain name: a ShipStatic domain (e.g. "yourname.shipstatic.com") or a custom domain (e.g. "www.example.com") |
deployment | string | Deployment to serve on this domain (e.g. "happy-cat-abc1234.shipstatic.com"). Omit to reserve the domain without linking. |
labels | array | Labels for organizing domains (e.g. ["production"]). |
domains_list List Domains
List all domains with their URLs, linked deployment, and `status`. The response's `cursor` is null on the last page; pass it back as `cursor` to fetch the next.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Opaque position from the previous response's `cursor` field; omit for the first page. |
limit | integer | Maximum number of items to return in one page. Omit for the server default. |
domains_get Get Domain
Get domain details including URL, linked deployment, labels, and `status`: the one word saying what the domain needs from its owner (`unverified`, `unlinked`, `live`, `paused`).
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain name (e.g. "www.example.com"). Use domains_list to find names. |
domains_records Get DNS Records
Returns the DNS records to configure at the domain's DNS provider. Call after domains_set. Custom domains only: a ShipStatic domain has no records to configure.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain name. Must be a domain previously created with domains_set. |
domains_dns Get DNS Provider
Returns the DNS provider recorded for the domain, if known (e.g. Cloudflare, Namecheap): where its DNS records are configured. Custom domains only, and only while the domain is unverified; once its DNS is right there is nothing left to locate.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain name (e.g. "www.example.com"). Must be a domain previously created with domains_set. |
domains_validate Check Domain Availability
Check if a domain name is valid and available before creating it. Returns the normalized form and availability.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain name to check (e.g. "yourname.shipstatic.com" or "www.example.com"). Call before domains_set to check availability. |
domains_verify Verify Domain DNS
Trigger DNS verification for a custom domain. Call after the user has configured DNS records from domains_records. Custom domains only, and refused once the domain is verified: read domains_get instead. Verification is asynchronous: read the domain again with domains_get to learn the verdict, since its `status` has not moved yet when this returns. A verified domain serves nothing until a deployment is linked with domains_set.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain name to verify DNS for. Must be a domain previously created with domains_set. |
domains_delete Delete Domain
Permanently deletes a domain.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain name to delete (e.g. "www.example.com") |
whoami Show Account
Returns your email and name, and the account's plan, usage and caps.