PageWeave Snippets API

The Snippets API from PageWeave — 6 operation(s) for snippets.

GitHub OpenAPI

Operations 10

GET /api/v1/websites/{website_id}/snippets List snippets #
POST /api/v1/websites/{website_id}/snippets Create a snippet with its first version #
GET /api/v1/websites/{website_id}/snippets/{id} Get a snippet with its latest content #
PATCH /api/v1/websites/{website_id}/snippets/{id} Update snippet settings #
DELETE /api/v1/websites/{website_id}/snippets/{id} Discard a snippet #
POST /api/v1/websites/{website_id}/snippets/{snippet_id}/restore Restore a discarded snippet #
GET /api/v1/websites/{website_id}/snippets/{snippet_id}/versions List snippet versions #
POST /api/v1/websites/{website_id}/snippets/{snippet_id}/versions Publish snippet content (creates a version) #
GET /api/v1/websites/{website_id}/snippets/{snippet_id}/versions/{version_number} Get a snippet version #
POST /api/v1/websites/{website_id}/snippets/{snippet_id}/versions/{version_number}/revert Revert a snippet to an earlier version #

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/pageweave-dev:pageweave-dev-snippets-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

pageweave-dev-snippets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PageWeave Snippets API
  version: 1.0.0
  summary: Programmatic control plane for PageWeave websites.
  description: 'Version 1 of the PageWeave HTTP API. Every endpoint under `/api/v1`

    authenticates with a bearer API key unless its operation declares an

    anonymous alternative — `security: []` or an optional requirement such as

    `[{bearerAuth: []}, {}]` for upload sessions.


    Errors use RFC 9457 Problem Details (`application/problem+json`). Rate

    limits follow draft-ietf-httpapi-ratelimit-headers-11 and are reported on

    every authenticated response through the `RateLimit-Policy` and

    `RateLimit` headers.


    The contract is additive within v1: operations and response fields may be

    added, never removed or changed incompatibly.'
  contact:
    name: PageWeave
    url: https://pageweave.dev/docs/api
  externalDocs:
    description: Guide, authentication, pagination, errors, and worked examples.
    url: https://pageweave.dev/docs/api/guide
servers:
- url: https://pageweave.dev
  description: Production
tags:


# --- truncated at 32 KB (32 KB total) ---
# Full source: https://artifacts.apis.io/pageweave-dev/openapi/pageweave-dev-snippets-api-openapi.yml