notepad.page Pages API
Private-by-default page publishing and lifecycle.
Private-by-default page publishing and lifecycle.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/notepad-page:notepad-page-pages-api"
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.
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: 3.2.0
info:
title: Notepad Page Pages API
version: 0.3.0
description: 'Operations tagged Pages across 2 of this provider''s published API definitions: notepad-page-openapi.json, openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.notepad.page/v1
description: Version 1
- url: https://api.notepad.page
description: Unversioned alias for version 1
tags:
- name: Pages
description: Private-by-default page publishing and lifecycle.
paths:
/pages:
get:
security:
- bearer: []
operationId: listPages
tags:
- Pages
summary: List pages in this notepad
description: Returns owner-visible metadata including memory/librarian fields, share state, scan state, pin state, last activity, and gardening expiry projection.
parameters:
- name: tag
in: query
required: false
description: Optional. Return only pages that carry this tag.
schema:
type: string
responses:
'200':
description: Page list
content:
application/json:
schema:
type: object
required:
- pages
properties:
pages:
type: array
items:
$ref: '#/components/schemas/PageMetadata'
additionalProperties: false
post:
security:
- bearer: []
operationId: createPage
tags:
- Pages
summary: Create a new private page
description: Publishes one complete single-file HTML document. If slug is omitted, the API derives a readable slug from the title or document title and suffixes collisions. New pages are private by default and pass quota, global publish budget, static scan, content-ban, and memory/librarian gates.
requestBody:
$ref: '#/components/requestBodies/PageCreate'
responses:
'201':
description: Created page URL
content:
application/json:
schema:
type: object
required:
- id
- url
- slug
properties:
id:
type: string
url:
type: string
format: uri
slug:
type: string
tags:
type: array
items:
type: string
additionalProperties: false
'413':
description: HTML or JSON body too large
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: Invalid, blocked, or not mobile-ready HTML (device-width viewport meta tag required)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Page, byte, daily publish, or signup capacity quota reached
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
servers:
- url: https://api.notepad.page/v1
description: Version 1
- url: https://api.notepad.page
description: Unversioned alias for version 1
/pages/publish:
post:
security:
- bearer: []
operationId: publishPage
tags:
- Pages
summary: Publish an artifact in one call
description: Creates or updates a private page. If slug matches an existing page in this notepad, that page is updated. Otherwise, when autoUpdateIfExists is true, owner-private memory recall is used to update only a strong, unambiguous match; weak or missing matches create a new private page. The selected write path still passes quota, global publish budget, static scan, content-ban, and memory/librarian gates.
requestBody:
$ref: '#/components/requestBodies/PagePublish'
responses:
'200':
description: Updated existing page
content:
application/json:
schema:
$ref: '#/components/schemas/PublishResponse'
'201':
description: Created new page
content:
application/json:
schema:
$ref: '#/components/schemas/PublishResponse'
'409':
description: Archived page must be restored before replacement
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'413':
description: HTML or JSON body too large
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: Invalid, blocked, or not mobile-ready HTML (device-width viewport meta tag required)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Page, byte, daily publish, or signup capacity quota reached
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
servers:
- url: https://api.notepad.page/v1
description: Version 1
- url: https://api.notepad.page
description: Unversioned alias for version 1
/pages/{id}:
get:
security:
- bearer: []
tags:
- Pages
parameters:
- name: id
in: path
required: true
schema:
type: string
description: Page id returned by create, list, recall, or get.
operationId: getPage
summary: Get a page and its HTML
description: Fetches owner-visible metadata plus the stored HTML document.
responses:
'200':
description: Page with HTML
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/PageMetadata'
- type: object
required:
- html
properties:
html:
type: string
'404':
description: Page not found in this notepad
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
put:
security:
- bearer: []
tags:
- Pages
parameters:
- name: id
in: path
required: true
schema:
type: string
description: Page id returned by create, list, recall, or get.
operationId: replacePage
summary: Replace page HTML
description: Updates an existing page through the same quota, static scan, content-ban, and memory/librarian gates. Archived pages must be restored first.
requestBody:
$ref: '#/components/requestBodies/PageReplace'
responses:
'200':
description: Updated page metadata
content:
application/json:
schema:
$ref: '#/components/schemas/PageMetadata'
'409':
description: Archived page must be restored before replacement
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'413':
description: HTML or JSON body too large
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: Invalid, blocked, or not mobile-ready HTML (device-width viewport meta tag required)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Byte, daily publish, or signup capacity quota reached
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
delete:
security:
- bearer: []
tags:
- Pages
parameters:
- name: id
in: path
required: true
schema:
type: string
description: Page id returned by create, list, recall, or get.
operationId: deletePage
summary: Delete a page
description: Deletes the page row and its shares from the notepad index.
responses:
'200':
description: Delete result
content:
application/json:
schema:
type: object
required:
- deleted
properties:
deleted:
type: boolean
additionalProperties: false
servers:
- url: https://api.notepad.page/v1
description: Version 1
- url: https://api.notepad.page
description: Unversioned alias for version 1
/pages/{id}/rename:
post:
security:
- bearer: []
tags:
- Pages
parameters:
- name: id
in: path
required: true
schema:
type: string
description: Page id returned by create, list, recall, or get.
operationId: renamePage
summary: Rename a page title
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
title:
type: string
maxLength: 200
additionalProperties: false
required:
- title
responses:
'200':
description: Renamed page metadata
content:
application/json:
schema:
$ref: '#/components/schemas/PageMetadata'
servers:
- url: https://api.notepad.page/v1
description: Version 1
- url: https://api.notepad.page
description: Unversioned alias for version 1
/pages/{id}/pin:
post:
security:
- bearer: []
tags:
- Pages
parameters:
- name: id
in: path
required: true
schema:
type: string
description: Page id returned by create, list, recall, or get.
operationId: setPagePin
summary: Pin or unpin a page
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
pinned:
type: boolean
additionalProperties: false
required:
- pinned
responses:
'200':
description: Pinned page metadata
content:
application/json:
schema:
$ref: '#/components/schemas/PageMetadata'
servers:
- url: https://api.notepad.page/v1
description: Version 1
- url: https://api.notepad.page
description: Unversioned alias for version 1
/pages/{id}/restore:
post:
security:
- bearer: []
tags:
- Pages
parameters:
- name: id
in: path
required: true
schema:
type: string
description: Page id returned by create, list, recall, or get.
operationId: restorePage
summary: Restore an archived page within the restore window
description: Pages are never archived for inactivity. Any manually or historically archived page remains restorable for 30 days after archive.
responses:
'200':
description: Restored page metadata
content:
application/json:
schema:
$ref: '#/components/schemas/PageMetadata'
'410':
description: Restore window expired
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
servers:
- url: https://api.notepad.page/v1
description: Version 1
- url: https://api.notepad.page
description: Unversioned alias for version 1
components:
requestBodies:
PagePublish:
required: true
content:
application/json:
schema:
type: object
required:
- title
- html
properties:
title:
type: string
maxLength: 200
purpose:
type: string
maxLength: 1000
html:
type: string
maxLength: 2097152
description: Complete HTML document. Must start with <!doctype html> or <html> and contain one html element.
slug:
type: string
maxLength: 100
description: Optional readable slug. If it matches an existing page in this notepad, that page is updated; otherwise it is used for the new page.
tags:
type: array
maxItems: 8
items:
type: string
maxLength: 32
description: 'Optional short labels for finding and filtering this page: max 8, each 1 to 32 characters; stored lowercase with spaces as hyphens, only a-z, 0-9 and hyphens. Omit to keep current tags; [] clears.'
autoUpdateIfExists:
type: boolean
default: true
description: When true, the API recalls this notepad's memory and updates only a strong, unambiguous title/purpose match.
additionalProperties: false
PageCreate:
required: true
content:
application/json:
schema:
type: object
required:
- html
properties:
html:
type: string
maxLength: 2097152
description: Complete HTML document. Must start with <!doctype html> or <html> and contain one html element.
title:
type: string
maxLength: 200
purpose:
type: string
maxLength: 1000
project:
type: string
maxLength: 200
tags:
type: array
maxItems: 8
items:
type: string
maxLength: 32
description: 'Optional short labels for finding and filtering this page: max 8, each 1 to 32 characters; stored lowercase with spaces as hyphens, only a-z, 0-9 and hyphens. Omit to keep current tags; [] clears.'
relatedTo:
type: object
properties:
supersedes:
type: array
items:
type: string
maxLength: 200
derivedFrom:
type: array
items:
type: string
maxLength: 200
additionalProperties: false
slug:
type: string
maxLength: 100
description: Optional readable slug. Omit to derive one from the title. Reserved and phishing-sensitive terms are rejected.
additionalProperties: false
PageReplace:
required: true
content:
application/json:
schema:
type: object
required:
- html
properties:
html:
type: string
maxLength: 2097152
description: Complete HTML document. Must start with <!doctype html> or <html> and contain one html element.
title:
type: string
maxLength: 200
purpose:
type: string
maxLength: 1000
project:
type: string
maxLength: 200
tags:
type: array
maxItems: 8
items:
type: string
maxLength: 32
description: 'Optional short labels for finding and filtering this page: max 8, each 1 to 32 characters; stored lowercase with spaces as hyphens, only a-z, 0-9 and hyphens. Omit to keep current tags; [] clears.'
relatedTo:
type: object
properties:
supersedes:
type: array
items:
type: string
maxLength: 200
derivedFrom:
type: array
items:
type: string
maxLength: 200
additionalProperties: false
additionalProperties: false
schemas:
Error:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
properties:
code:
type: string
message:
type: string
additionalProperties: false
additionalProperties: false
PublishResponse:
type: object
required:
- id
- url
- slug
- action
- matchedExisting
properties:
id:
type: string
url:
type: string
format: uri
slug:
type: string
action:
type: string
enum:
- created
- updated
matchedExisting:
type: boolean
tags:
type: array
items:
type: string
additionalProperties: false
PageMetadata:
type: object
required:
- id
- slug
- url
- share
- expiry
- pinned
- contentBytes
properties:
id:
type: string
slug:
type: string
url:
type: string
format: uri
title:
type:
- string
- 'null'
summary:
type:
- string
- 'null'
topics:
type: array
items:
type: string
keywords:
type: array
items:
type: string
purpose:
type:
- string
- 'null'
project:
type:
- string
- 'null'
tags:
type: array
items:
type: string
relatedTo:
anyOf:
- type: object
properties:
supersedes:
type: array
items:
type: string
maxLength: 200
derivedFrom:
type: array
items:
type: string
maxLength: 200
additionalProperties: false
- type: 'null'
status:
type: string
scanStatus:
type: string
scanProvider:
type:
- string
- 'null'
scanDegraded:
type: boolean
share:
type: object
required:
- mode
- allowedIps
- activeShares
properties:
mode:
type: string
enum:
- private
- link
- public
allowedIps:
type: array
items:
type: string
activeShares:
type: array
description: Owner-visible active share state. Viewer email is never exposed.
items:
type: object
required:
- bound
- bound_at
properties:
bound:
type: boolean
bound_at:
type:
- string
- 'null'
format: date-time
additionalProperties: false
additionalProperties: false
lastActivityAt:
type: string
format: date-time
expiry:
type: object
required:
- state
- archiveAt
- purgeAt
properties:
state:
type: string
enum:
- active
- archived
- persistent
- unknown
archiveAt:
type:
- string
- 'null'
format: date-time
purgeAt:
type:
- string
- 'null'
format: date-time
additionalProperties: false
pinned:
type: boolean
archivedAt:
type:
- string
- 'null'
format: date-time
persistent:
type: boolean
contentBytes:
type: integer
minimum: 0
reviewPriority:
type: boolean
createdAt:
type: string
format: date-time
updatedAt:
type: string
format: date-time
additionalProperties: true
securitySchemes:
bearer:
type: http
scheme: bearer
description: Active REST bearer token for a notepad grant, or an owner-minted np_ agent token on routes allowed by its publish or full scope. Agent tokens cannot manage tokens, sessions, sharing, appeals, or invites. MCP clients normally call the MCP worker, which signs internal API assertions instead of forwarding OAuth access tokens.
externalDocs:
description: Canonical agent instructions
url: https://notepad.page/llms.txt
x-refined-from:
- notepad-page-openapi.json
- openapi.json
x-notepad-policy:
access: open-signup
html:
document: complete single-file HTML document
maxBytes: 2097152
viewportMetaRequired: true
quotas:
pages:
hobby: 10
pro: null
activeHtmlBytes:
hobby: 20971520
pro: 1073741824
publishesPerDay:
hobby: 50
pro: 500
authenticatedRequestsPerMinute: 50
lifecycle:
inactivityExpiry: false
restoreWindowDaysAfterArchive: 30
visibility:
default: private
shareModes:
- link
- public
ipAllowlistField: allowedIps