ship-page Ship API

The Ship API from ship-page — 1 operation(s) for ship.

GitHub OpenAPI

Operations 1

POST /_ship/password Unlock a protected drop in the visitor's browser #

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/ship-page:ship-page-ship-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

ship-page-ship-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: .page Ship API
  version: 1.0.0
  description: 'Throw HTML at an API, get an unguessable URL back. Anonymous deploys need no auth; account routes accept an sp_ API key or a Firebase ID token as a Bearer credential. Docs: https://ship.page/docs — agents start at https://ship.page/docs/agents. MCP server: POST https://ship.page/mcp.'
  contact:
    name: Bitgate, Inc.
    url: https://ship.page
    email: abuse@bitgate.com
servers:
- url: https://ship.page
security: []
tags:
- name: Ship
paths:
  /_ship/password:
    servers:
    - url: https://{slug}.{domain}
      variables:
        slug:
          default: your-drop
          description: Use the slug from the deploy URL.
        domain:
          default: ship.place
          description: Use the serve domain from the deploy URL.
    post:
      operationId: unlockDrop
      summary: Unlock a protected drop in the visitor's browser
      description: Called on the drop's own HTTPS origin, not ship.page. The Origin header must match that exact origin. Submit JSON {password}; never put it in a URL. Success sets a host-only session cookie valid for 12 hours. Protected pages and assets require this cookie and bypass caching. An account API key does not replace the visitor cookie.
      parameters:
      - name: Origin
        in: header
        required: true
        schema:
          type: string
          format: uri
        description: The exact HTTPS origin of the drop, with no path.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PasswordBody'
      responses:
        '200':
          description: Unlocked. No password is returned; keep the cookie for subsequent requests to this host.
          headers:
            Set-Cookie:
              schema:
                type: string
              description: Host-only visitor session, valid for 12 hours.
            Cache-Control:
              schema:
                type: string
              description: No-store.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          description: Password not accepted; the drop remains locked.
        '403':
          description: Origin does not match the drop's exact origin.
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
      tags:
      - Ship
components:
  schemas:
    Error:
      type: object
      required:
      - error
      - code
      properties:
        error:
          type: string
          description: Human-readable message.
        code:
          type: string
          description: Machine-stable error code — parse this, not `error`.
          enum:
          - bad_request
          - invalid_ttl
          - invalid_email
          - invalid_name
          - invalid_plan
          - invalid_zip
          - invalid_claim_token
          - file_cap_exceeded
          - zip_too_large
          - body_too_large
          - decompression_cap
          - auth_required
          - subscription_required
          - not_found
          - method_not_allowed
          - already_claimed
          - claim_conflict
          - restore_conflict
          - drop_expired
          - rate_limited
          - backend_unavailable
          - internal_error
          - expired
          - too_large
          - unsupported
          - busy
          - hash_mismatch
          - storage_full
          - unknown_blob
          - draft_changed
          - content_changed
          - publish_in_progress
          - publish_incomplete
          - blocked
          - missing
          - already_live
          - invalid_request
          - invalid_link_name
          - link_name_reserved
          - link_name_taken
          - link_exists
          - link_limit_reached
          - link_frozen
          - drop_not_found
          - not_saving
        hint:
          type: string
          description: Human-directed guidance. Agents should relay this to their user verbatim.
        upgrade_url:
          type: string
          format: uri
          description: Present when a plan upgrade resolves the failure.
        docs_url:
          type: string
          format: uri
          description: Relevant docs page, when one applies.
    PasswordBody:
      type: object
      required:
      - password
      properties:
        password:
          type: string
          minLength: 8
          maxLength: 128
          writeOnly: true
          description: 8-128 Unicode characters, at most 512 UTF-8 bytes. Never put passwords in URLs.
  responses:
    BadRequest:
      description: Bad request — unparseable body, bad paths, invalid ttl/name, per-request file cap, invalid zip.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unavailable:
      description: Required backend unavailable. Password creation and rotation fail closed when billing cannot be verified; retry later.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Not found (also returned for resources owned by someone else).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Rate limited. Back off per the Retry-After header (60s).
      headers:
        Retry-After:
          schema:
            type: integer
            example: 60
          description: Seconds to wait before retrying.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An sp_… API key (minted via POST /keys or the dashboard) or a Firebase ID token.