Skip to content
sign in

==> call the api

A project's own API

POST /v1/p/{slug}/{path}

Everything under /p/<project>/ is the project's own backend: its routes are in its document (/p/<project>/openapi.json). Any method; WebSockets too.

Needs a personal access token: Authorization: Bearer <token>.

Parameters

nameintypewhat
slugpathstringrequired
pathpathstringrequired

Answer

200 Success.

Refusals

Each answers { "error": "...", "code"?: "..." } with its status.

statuswhen
401No valid token.
404No such project, or no such route in it.
503The project's service is not running.

Example

curl -X POST 'https://api.clusterstuck.sh/v1/p/{slug}/{path}' \
  -H 'Authorization: Bearer <your token>'