Reference

Web API

The HTTP API used by the dashboard.

The dashboard uses a JSON API under /api. It authenticates with the session cookie and requires an Origin header that matches the site for every request that changes data. Responses are { "data": ... } or { "error": { "code", "message", "details" } }.

Method and pathPurpose
GET, POST /api/projectsList or create projects
GET, PATCH, DELETE /api/projects/:idRead, update, delete
POST /api/projects/:id/archive, /restore, /duplicateLifecycle
GET /api/projects/:id/export, POST /api/projects/importProject files
GET, POST /api/projects/:id/hudsList or create HUDs
GET, PUT, PATCH, DELETE /api/huds/:idRead, save, rename, delete a HUD
GET, POST /api/projects/:id/versionsSnapshots
PATCH, DELETE /api/versions/:id, POST /api/versions/:id/restoreRename, delete, restore
GET, POST /api/assets, PATCH, DELETE /api/assets/:idAsset library
GET, POST /api/projects/:id/fonts, PATCH, DELETE /api/fonts/:idFonts
GET, POST /api/projects/:id/resource-packList builds, build
GET /api/resource-packs/:id/downloadDownload a build
GET, POST /api/serversList servers, create a connection command
PATCH, DELETE /api/servers/:idRename, disconnect
POST /api/servers/:id/token, /deploy, /revokeNew command, deploy, revoke
GET /api/licenses, POST /api/licenses/:id/resetYour licenses

Errors

StatusMeaning
401Not signed in
403Not allowed, or the origin does not match
404Not found, or owned by someone else
409A limit was reached
413Body too large
422Validation failed; details lists the fields
429Rate limited; see Retry-After