SnapHost API

SnapHost API as documented publicly: 15 operations. Contract generated from the documentation by API Evangelist (2026-11-25); not the provider's own document.

GitHub OpenAPI

Operations 15

POST /api/v1/sites POST /api/v1/sites #
GET /api/v1/sites/$SITE_ID Get site details #
GET /api/v1/sites/$SITE_ID/access-log GET /api/v1/sites/$SITE_ID/access-log #
POST /api/v1/uploads POST /api/v1/uploads #
GET /api/v1/webhooks List registered webhooks #
POST /api/v1/webhooks POST /api/v1/webhooks #
GET /api/v1/workspaces GET /api/v1/workspaces #
POST /v1/sites Publish a site #
PUT /v1/sites/{id} Update in place #
GET /v1/sites/{id}/access-log Read the access log #
POST /v1/uploads # 1. Start an upload: returns upload_id, upload_url, max_part_bytes, and a presigned url #
GET /v1/webhooks List registered webhooks #
POST /v1/webhooks Register a webhook endpoint #
DELETE /v1/webhooks/{id} Remove a webhook #
GET /v1/workspaces The workspaces this token can act in, with the workspace_id of each #

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/snaphost-ai:snaphost-ai-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

snaphost-ai-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: SnapHost API
  version: '2026-11-25'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-25: 15 operation(s) read from 1 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; SnapHost has published no machine-readable contract that the
    pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 5
    documentation: 10
    pages-with-code: 1
    pages-read: 1
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-25'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://snaphost.ai/docs/api-tokens
servers:
- url: https://app.snaphost.ai
paths:
  /api/v1/sites:
    post:
      operationId: post_api_v1_sites
      tags:
      - Api
      summary: POST /api/v1/sites
      x-source: https://snaphost.ai/docs/api-tokens
      parameters:
      - name: workspace_id
        in: query
        required: false
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X POST "https://app.snaphost.ai/api/v1/sites?workspace_id=$WORKSPACE_ID"  -H "Authorization: Bearer $SNAPHOST_TOKEN"  -F
          "title=Board pack"  -F "bundle=@site.zip" Publish a site Send the bundle as multipart form data along with a title and visibility. The
          bundle field takes a .zip, a single HTML page, or a single file of any rendered kind (.md, .ipynb, .pdf, .docx, .pptx, .xlsx, .csv,
          .mmd, '
  /api/v1/sites/$SITE_ID:
    get:
      operationId: get_api_v1_sites_SITE_ID
      tags:
      - Api
      summary: Get site details
      x-source: https://snaphost.ai/docs/api-tokens
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1SitesSiteIdResponse'
      x-evidence:
        kind: documentation
  /api/v1/sites/$SITE_ID/access-log:
    get:
      operationId: get_api_v1_sites_SITE_ID_access_log
      tags:
      - Api
      summary: GET /api/v1/sites/$SITE_ID/access-log
      x-source: https://snaphost.ai/docs/api-tokens
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: string
      - name: workspace_id
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl "https://app.snaphost.ai/api/v1/sites/$SITE_ID/access-log?workspace_id=$WORKSPACE_ID&limit=50"  -H "Authorization: Bearer
          $SNAPHOST_TOKEN"'
  /api/v1/uploads:
    post:
      operationId: post_api_v1_uploads
      tags:
      - Api
      summary: POST /api/v1/uploads
      x-source: https://snaphost.ai/docs/api-tokens
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X POST https://app.snaphost.ai/api/v1/uploads  -H "Authorization: Bearer $SNAPHOST_TOKEN"'
  /api/v1/webhooks:
    get:
      operationId: get_api_v1_webhooks
      tags:
      - Api
      summary: List registered webhooks
      x-source: https://snaphost.ai/docs/api-tokens
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1WebhooksResponse'
      x-evidence:
        kind: documentation
    post:
      operationId: post_api_v1_webhooks
      tags:
      - Api
      summary: POST /api/v1/webhooks
      x-source: https://snaphost.ai/docs/api-tokens
      parameters:
      - name: workspace_id
        in: query
        required: false
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1WebhooksRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X POST "https://app.snaphost.ai/api/v1/webhooks?workspace_id=$WORKSPACE_ID"  -H "Authorization: Bearer $SNAPHOST_TOKEN"  -H
          "Content-Type: application/json"  -d ''{"url": "https://example.com/snaphost/hook", "events": ["site.viewed"]}'''
  /api/v1/workspaces:
    get:
      operationId: get_api_v1_workspaces
      tags:
      - Api
      summary: GET /api/v1/workspaces
      x-source: https://snaphost.ai/docs/api-tokens
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl https://app.snaphost.ai/api/v1/workspaces  -H "Authorization: Bearer $SNAPHOST_TOKEN"'
  /v1/sites:
    post:
      operationId: post_v1_sites
      tags:
      - Sites
      summary: Publish a site
      x-source: https://snaphost.ai/docs/api-tokens
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer token
      - name: workspace_id
        in: query
        required: false
        schema:
          type: string
        description: Workspace to act in
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1SitesRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostV1SitesResponse'
      x-evidence:
        kind: documentation
  /v1/sites/{id}:
    put:
      operationId: put_v1_sites_id
      tags:
      - Sites
      summary: Update in place
      x-source: https://snaphost.ai/docs/api-tokens
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer token
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PutV1SitesIdRequest'
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/sites/{id}/access-log:
    get:
      operationId: get_v1_sites_id_access_log
      tags:
      - Sites
      summary: Read the access log
      x-source: https://snaphost.ai/docs/api-tokens
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer token
      - name: workspace_id
        in: query
        required: false
        schema:
          type: string
        description: Workspace to act in
      - name: limit
        in: query
        required: false
        schema:
          type: string
        description: Number of entries per page
      - name: cursor
        in: query
        required: false
        schema:
          type: string
        description: Pagination cursor
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1SitesIdAccessLogResponse'
      x-evidence:
        kind: documentation
  /v1/uploads:
    post:
      operationId: post_v1_uploads
      tags:
      - Uploads
      summary: '# 1. Start an upload: returns upload_id, upload_url, max_part_bytes, and a presigned url'
      x-source: https://snaphost.ai/docs/api-tokens
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer token
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostV1UploadsResponse'
      x-evidence:
        kind: documentation
  /v1/webhooks:
    get:
      operationId: get_v1_webhooks
      tags:
      - Webhooks
      summary: List registered webhooks
      x-source: https://snaphost.ai/docs/api-tokens
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer token
      - name: workspace_id
        in: query
        required: false
        schema:
          type: string
        description: Workspace to list webhooks from
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1WebhooksResponse'
      x-evidence:
        kind: documentation
    post:
      operationId: post_v1_webhooks
      tags:
      - Webhooks
      summary: Register a webhook endpoint
      x-source: https://snaphost.ai/docs/api-tokens
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer token
      - name: workspace_id
        in: query
        required: false
        schema:
          type: string
        description: Workspace to manage webhooks in
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1WebhooksRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostV1WebhooksResponse'
      x-evidence:
        kind: documentation
  /v1/webhooks/{id}:
    delete:
      operationId: delete_v1_webhooks_id
      tags:
      - Webhooks
      summary: Remove a webhook
      x-source: https://snaphost.ai/docs/api-tokens
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer token
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/workspaces:
    get:
      operationId: get_v1_workspaces
      tags:
      - Workspaces
      summary: The workspaces this token can act in, with the workspace_id of each
      x-source: https://snaphost.ai/docs/api-tokens
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer token
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1WorkspacesResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    GetApiV1SitesSiteIdResponse:
      type: object
      properties:
        site_id:
          type: string
          description: Identifier of the site
        title:
          type: string
          description: Title of the site
        live_link:
          type: string
          description: Public URL of the site
        visibility:
          type: string
          description: Visibility setting (e.g., private, public)
    GetApiV1WebhooksResponse:
      type: object
      properties:
        webhooks:
          type: array
          description: Array of webhook objects (id, url, events, status, etc.)
    PostApiV1WebhooksRequest:
      type: object
      properties:
        url:
          type: string
        events:
          type: array
          items:
            type: string
    PostV1SitesRequest:
      type: object
      properties:
        title:
          type: string
          description: Site title
        bundle:
          type: string
          description: ZIP, HTML page, or single file to publish
        visibility:
          type: string
          description: Visibility (e.g., private)
        upload_id:
          type: string
          description: ID of a previously started upload
      required:
      - title
      - bundle
    PostV1SitesResponse:
      type: object
      properties:
        id:
          type: string
          description: Created site ID
        live_link:
          type: string
          description: URL of the live site
    PutV1SitesIdRequest:
      type: object
      properties:
        bundle:
          type: string
          description: ZIP bundle to replace site content
        upload_id:
          type: string
          description: ID of a previously started upload
        include_original:
          type: boolean
          description: Include original file for download
      required:
      - bundle
    GetV1SitesIdAccessLogResponse:
      type: object
      properties:
        access_log:
          type: array
          description: List of log entries
        pagination:
          type: object
          description: Pagination info
    PostV1UploadsResponse:
      type: object
      properties:
        upload_id:
          type: string
          description: Identifier for the upload
        upload_url:
          type: string
          description: URL to PUT the bundle
        max_part_bytes:
          type: integer
          description: Maximum size for a single part
        presigned_url:
          type: string
          description: Presigned URL for whole bundle upload
    GetV1WebhooksResponse:
      type: object
      properties:
        id:
          type: string
          description: Webhook identifier
        url:
          type: string
          description: Endpoint URL
        events:
          type: array
          description: Subscribed events
        status:
          type: string
          description: Current status
        failed_deliveries:
          type: integer
          description: Number of failed deliveries
        created:
          type: string
          description: Creation timestamp
    PostV1WebhooksRequest:
      type: object
      properties:
        url:
          type: string
          description: Endpoint URL to receive webhook events
        events:
          type: array
          description: List of event types to subscribe to
      required:
      - url
      - events
    PostV1WebhooksResponse:
      type: object
      properties:
        id:
          type: string
          description: Webhook identifier
        url:
          type: string
          description: Registered endpoint URL
        events:
          type: array
          description: Subscribed events
        status:
          type: string
          description: Current status (e.g., active)
        failed_deliveries:
          type: integer
          description: Number of failed deliveries
        created:
          type: string
          description: Creation timestamp
        secret:
          type: string
          description: Signing secret (shown only once)
    GetV1WorkspacesResponse:
      type: object
      properties:
        id:
          type: string
          description: Workspace identifier
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Api
- name: Sites
- name: Uploads
- name: Webhooks
- name: Workspaces