PageHub Collections API

A site's collections and their rows. Reading them publicly is the content API.

GitHub OpenAPI

Operations 53

GET /api/v1/sites/{id}/collections List collections #
POST /api/v1/sites/{id}/collections Create a collection #
GET /api/v1/sites/{id}/collections/{colId} Read a collection #
PATCH /api/v1/sites/{id}/collections/{colId} Update a collection #
DELETE /api/v1/sites/{id}/collections/{colId} Delete a collection and its rows #
GET /api/v1/sites/{id}/collections/{colId}/rows List rows #
POST /api/v1/sites/{id}/collections/{colId}/rows Create rows #
PATCH /api/v1/sites/{id}/collections/{colId}/rows/{rowId} Update a row #
DELETE /api/v1/sites/{id}/collections/{colId}/rows/{rowId} Delete a row #
POST /api/v1/sites/{id}/collections/sheet-csv Fetch a Google Sheet as CSV #
GET /api/v1/sites/{id}/collections/{colId}/fields Read a collection's fields and bindings #
GET /api/v1/sites/{id}/collections/{colId}/export.csv Export a collection's rows as CSV #
POST /api/v1/sites/{id}/collections/{colId}/import Import rows from CSV #
POST /api/v1/sites/{id}/collections/{colId}/sync Sync a collection from its source #
GET /api/v1/sites/{id}/collections/{colId}/sync-logs List a collection's recent syncs #
GET /api/v1/sites/{id}/collections/{colId}/credentials Whether a collection has source credentials #
POST /api/v1/sites/{id}/collections/{colId}/credentials Save a collection's source credentials #
DELETE /api/v1/sites/{id}/collections/{colId}/credentials Delete a collection's source credentials #
GET /api/v1/sites/{id}/collections/{colId}/rows/{rowId}/history List a row's revisions #
POST /api/v1/sites/{id}/collections/{colId}/rows/{rowId}/history Restore a row revision #
POST /api/v1/sites/{id}/apps/rss Connect RSS or Atom feed #
POST /api/v1/sites/{id}/apps/notion Connect Notion database #
POST /api/v1/sites/{id}/apps/calcom Connect Cal.com open times #
POST /api/v1/sites/{id}/apps/eventbrite Connect Eventbrite events #
POST /api/v1/sites/{id}/apps/tickettailor Connect Ticket Tailor events #
POST /api/v1/sites/{id}/apps/supabase Connect Supabase table #
POST /api/v1/sites/{id}/apps/baserow Connect Baserow table #
POST /api/v1/sites/{id}/apps/nocodb Connect NocoDB table #
POST /api/v1/sites/{id}/apps/shopify Connect Shopify products #
POST /api/v1/sites/{id}/apps/woocommerce Connect WooCommerce products #
POST /api/v1/sites/{id}/apps/square Connect Square items #
POST /api/v1/sites/{id}/apps/gumroad Connect Gumroad products #
POST /api/v1/sites/{id}/apps/lemonsqueezy Connect Lemon Squeezy products #
GET /api/v1/sites/{id}/apps List the apps a site can connect #
POST /api/v1/sites/{id}/apps/airtable Connect an Airtable table #
POST /api/v1/sites/{id}/apps/hospitable Connect Hospitable #
POST /api/v1/sites/{id}/apps/hostaway Connect Hostaway #
POST /api/v1/sites/{id}/apps/guesty Connect Guesty #
POST /api/v1/sites/{id}/apps/hostfully Connect Hostfully #
POST /api/v1/sites/{id}/apps/lodgify Connect Lodgify #
GET /api/v1/sites/{id}/apps/calendar-feed List the calendar links a site reads #
POST /api/v1/sites/{id}/apps/calendar-feed Connect a calendar link #
DELETE /api/v1/sites/{id}/apps/calendar-feed Stop reading a calendar link #
GET /api/v1/sites/{id}/collections/{colId}/booking-pushes List dates closed in a rental tool #
POST /api/v1/sites/{id}/collections/{colId}/booking-pushes Run a failed date push again #
GET /api/v1/sites/{id}/collections/{colId}/claim-feeds List the calendar links a collection's homes share #
POST /api/v1/sites/{id}/collections/{colId}/claim-feeds Make a home's calendar link #
GET /api/v1/sites/{id}/collections/{colId}/calendar Read one calendar across a collection's homes #
POST /api/v1/sites/{id}/collections/{colId}/calendar/close Close a range of dates across homes #
DELETE /api/v1/sites/{id}/collections/{colId}/calendar/close Reopen dates one home had closed #
GET /api/v1/sites/{id}/collections/{colId}/rows/{rowId}/claims List the dates taken or closed on a row #
POST /api/v1/sites/{id}/collections/{colId}/rows/{rowId}/claims Close dates on a row #
DELETE /api/v1/sites/{id}/collections/{colId}/rows/{rowId}/claims Reopen dates closed on a row #

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/pagehub-dev:pagehub-dev-collections-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

pagehub-dev-collections-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PageHub Collections API
  version: 1.0.0
  description: 'The public REST API of PageHub, called with a `ph_` API key (`Authorization: Bearer ph_...`), plus the one webhook the platform calls on a white-label tenant''s server (`fetchPage`).


    A site is HTML + Liquid files: its pages are files (`pages/*.liquid`), written through the files API; the page routes manage each page''s record (name, slug, SEO, access). Writes land in the site''s draft; `PUT /api/v1/sites/{id}` with `published: true` makes the draft live.


    The headless content API (`/api/v1/content/...`) is described by its own document (`GET /api/v1/content/openapi.json`); `GET /api/openapi.json` serves this document with it merged in.


    The routes also accept the dashboard''s session cookie from the dashboard itself; only the API key is the public contract.


    Every operation carries two extension fields. `x-auth` says who may call it: `api-key` (a `ph_` key), `session-or-key` (the dashboard''s own session, or a key), `optional-key` (public, a key widens what you see), `admin-key` (a platform admin''s key), `session` (the dashboard session only; an API key is refused) or `public`. `x-rate-limit` names the rate-limit rule (see the rate-limiting guide) when the route has one; most routes limit per user, public routes per IP.'
  contact:
    name: PageHub
    url: https://pagehub.dev/developers
servers:
- url: https://pagehub.dev
  description: PageHub
security:
- bearerAuth: []
tags:


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