Create Pages
Create a page from a local HTML, Markdown, or OpenAPI file.
IP_TOKEN=ipat_xxx \
npx @internalpage/cli pages create ./report.html --slug q2-reportMarkdown and OpenAPI files use the same command:
IP_TOKEN=ipat_xxx \
npx @internalpage/cli pages create ./runbook.md --slug incident-runbook
IP_TOKEN=ipat_xxx \
npx @internalpage/cli pages create ./openapi.yaml --slug billing-apiUse a slug that is readable inside your workspace. The page URL can use the slug, but automation should store the returned page ID for future updates.
Inputs
- File:
.html,.htm,.md,.markdown,.yaml,.yml, or.json - Slug: optional, workspace-scoped, editable
- Token:
IP_TOKENor a saved CLI token