Skip to content

Endpoints

Every endpoint on one page, each linked to its guide.


All Endpoints

Paths are relative to https://api.manifestx.dev/v1, and need your API key. The upload and status URLs are the exception: their token is the authority.

Every POST, PATCH, and DELETE accepts an Idempotency-Key, except POST /keys. Pro marks endpoints that need a Pro project.

Method Path What it does
Account & keys
GET /me The API account the key belongs to
POST /keys Create another key, shown once
GET /keys List live keys, with when each was last used
DELETE /keys/:prefix Revoke a key, never the last one
Projects
POST /projects Create a project, safe to repeat on source_id
GET /projects List projects, or find one with ?source_id=
GET /projects/:id One project, with its URLs and publish state
PATCH /projects/:id Rename a project
DELETE /projects/:id Delete a project, restorable for 30 days
Editors
POST /projects/:id/invites Invite an editor by email. Pro
GET /projects/:id/members List who has access
DELETE /projects/:id/members/:user_id Remove an editor
Content
POST /projects/:id/content Build a docs site from Markdown pages
Publish & files
POST /projects/:id/publish Start a publish and get a one-time upload URL
POST /uploads/:token Upload the zip to upload_url
GET /uploads/:token/status Check an upload at status_url
GET /projects/:id/files List the files of the live deployment
GET /projects/:id/files/:path Read one file
PATCH /projects/:id/files Update individual files on staging
Deployments
POST /projects/:id/promote Ship what's live on staging to production
POST /projects/:id/rollback Go back to an earlier deployment. Pro
GET /projects/:id/deployments List an environment's recent deployments
Domains
POST /projects/:id/domains Add a custom domain and get its DNS records
GET /projects/:id/domains/:hostname Check a domain and its certificate
DELETE /projects/:id/domains/:hostname Remove a custom domain
Usage
GET /usage?period=YYYY-MM Per-project usage for a month, as JSON or CSV
Webhooks
Endpoints are set up by emailing Manifest, not through the API.