Shiply Publish API

The Publish API from Shiply — 8 operation(s) for publish.

GitHub OpenAPI

Operations 9

POST /api/v1/publish Create a site or a new version (3-step flow: create → upload → finalize) #
POST /api/v1/publish/{slug}/finalize Verify uploads and flip the new version live (atomic) #
POST /api/v1/publish/{slug}/uploads/refresh Re-presign upload URLs for a pending version #
POST /api/v1/publish/{slug}/claim Claim an anonymous site into your account (auth: API key or session) #
PATCH /api/v1/publish/{slug}/metadata Update title, SPA mode, or profile visibility (owner) #
GET /api/v1/publish/{slug} Site detail with version history (owner) #
DELETE /api/v1/publish/{slug} Delete a site and all stored files (owner, permanent) #
POST /api/v1/publish/{slug}/rollback Make a prior finalized version live again (instant, atomic) #
POST /api/v1/publish/{slug}/handle Rename a site to a vanity handle (.shiply.now; old slug 301s 30 days) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/shiply-now:shiply-now-publish-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

shiply-now-publish-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: shiply.now Publish API
  version: 1.1.0
  description: 'Instant static web hosting for agents. Publish files, get a live URL at .shiply.now. Anonymous sites expire in 24h (claimable); API-key publishes are permanent.


    This spec covers the core publish, domain, variable, device-flow, and site-read surfaces. The advanced REST surfaces — databases, functions/secrets/crons, projects, contracts, marketplace (listings/orders/connect), sending-domains, Site Data (/.shiply/data/), and Agent Email (zero-config capture at /.shiply/email; authenticated /api/v1/email/send + /api/v1/email/inbox; mailbox config/broadcast/contacts under /api/v1/publishes//mailboxes/) — are documented in /llms.txt and exposed as native MCP tools at /mcp (call tools/list for the authoritative set).'
servers:
- url: https://shiply.now
tags:
- name: Publish
paths:
  /api/v1/publish:
    post:
      summary: 'Create a site or a new version (3-step flow: create → upload → finalize)'
      parameters:
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
        description: Bearer shp_… API key (omit for anonymous publishing)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - files
              properties:
                files:
                  type: array
                  minItems: 1
                  maxItems: 1000
                  items:
                    type: object
                    required:
                    - path
                    - size
                    properties:
                      path:
                        type: string
                        description: relative file path; index.html serves at /
                      size:
                        type: integer
                        description: bytes
                      contentType:
                        type: string
                      hash:
                        type: string
                        description: lowercase sha256 hex; enables hash-skip on updates
                spaMode:
                  type: boolean
                ttlSeconds:
                  type: integer
                  description: anonymous only; capped at 86400
                claimToken:
                  type: string
                  description: UPDATE an existing anonymous site in place
                slug:
                  type: string
                  description: UPDATE an existing owned site in place (Bearer auth)
                viewer:
                  type: object
                  properties:
                    title:
                      type: string
                    description:
                      type: string
                    ogImage:
                      type: string
      responses:
        '200':
          description: Slug, siteUrl, presigned uploads, finalizeUrl, and a `toUpdate` string spelling out the exact call to update THIS site in place (never create a new one); claimToken/claimUrl/expiresAt for anonymous creates
        '400':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
        '401':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
      tags:
      - Publish
      operationId: postApiV1Publish
      x-operation-id-source: derived
  /api/v1/publish/{slug}/finalize:
    post:
      summary: Verify uploads and flip the new version live (atomic)
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - versionId
              properties:
                versionId:
                  type: string
      responses:
        '200':
          description: success, slug, currentVersionId, and a `toUpdate` hint for re-publishing to this same site
        '404':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
        '409':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
      tags:
      - Publish
      operationId: postApiV1PublishBySlugFinalize
      x-operation-id-source: derived
  /api/v1/publish/{slug}/uploads/refresh:
    post:
      summary: Re-presign upload URLs for a pending version
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - versionId
              properties:
                versionId:
                  type: string
      responses:
        '200':
          description: fresh upload targets
        '404':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
        '409':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
      tags:
      - Publish
      operationId: postApiV1PublishBySlugUploadsRefresh
      x-operation-id-source: derived
  /api/v1/publish/{slug}/claim:
    post:
      summary: 'Claim an anonymous site into your account (auth: API key or session)'
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
        description: Bearer shp_… API key (omit for anonymous publishing)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - token
              properties:
                token:
                  type: string
      responses:
        '200':
          description: claimed; site is permanent
        '401':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
        '404':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
      tags:
      - Publish
      operationId: postApiV1PublishBySlugClaim
      x-operation-id-source: derived
  /api/v1/publish/{slug}/metadata:
    patch:
      summary: Update title, SPA mode, or profile visibility (owner)
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
        description: Bearer shp_… API key (omit for anonymous publishing)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                title:
                  type: string
                spaMode:
                  type: boolean
                addedToProfile:
                  type: boolean
      responses:
        '200':
          description: updated
        '401':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
        '404':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
      tags:
      - Publish
      operationId: patchApiV1PublishBySlugMetadata
      x-operation-id-source: derived
  /api/v1/publish/{slug}:
    get:
      summary: Site detail with version history (owner)
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
        description: Bearer shp_… API key (omit for anonymous publishing)
      responses:
        '200':
          description: site + versions
        '401':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
        '404':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
      tags:
      - Publish
      operationId: getApiV1PublishBySlug
      x-operation-id-source: derived
    delete:
      summary: Delete a site and all stored files (owner, permanent)
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
        description: Bearer shp_… API key (omit for anonymous publishing)
      responses:
        '200':
          description: deleted
        '401':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
        '404':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
      tags:
      - Publish
      operationId: deleteApiV1PublishBySlug
      x-operation-id-source: derived
  /api/v1/publish/{slug}/rollback:
    post:
      summary: Make a prior finalized version live again (instant, atomic)
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
        description: Bearer shp_… API key (omit for anonymous publishing)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - versionId
              properties:
                versionId:
                  type: string
      responses:
        '200':
          description: currentVersionId flipped
        '404':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
        '409':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
      tags:
      - Publish
      operationId: postApiV1PublishBySlugRollback
      x-operation-id-source: derived
  /api/v1/publish/{slug}/handle:
    post:
      summary: Rename a site to a vanity handle (.shiply.now; old slug 301s 30 days)
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
        description: Bearer shp_… API key (omit for anonymous publishing)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - handle
              properties:
                handle:
                  type: string
      responses:
        '200':
          description: renamed; new siteUrl
        '400':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
        '409':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
      tags:
      - Publish
      operationId: postApiV1PublishBySlugHandle
      x-operation-id-source: derived
components:
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer
      description: shp_… API key