The External API is the public REST API your app calls for data, files, and email. Use MCP to manage organizations, projects, deployments, and database schema.
https://api.justdeploy.net
Every path below starts with /organizations/:organizationId. Ask your connected AI for the organization, database and storage IDs, and keep the file and mail IDs returned by your app’s requests.
| Method | Path | Purpose |
|---|---|---|
| POST | /databases/:databaseId/query | Query application data |
| POST | /storages/:storageId/files | Prepare a file upload |
| GET | /storages/:storageId/files/:fileId | Read or download one file |
| DELETE | /storages/:storageId/files/:fileId | Delete one file |
| POST | /mails | Send one email |
| GET | /mails/:mailId | Check one email |
Use the official SDK in server code for app authentication. An app key or a personal token does not unlock management APIs. Authentication exchanges and health checks do not add management access.
For project setup, deployment and resource management, see the MCP reference.
For a management request, switch to the MCP connection. Repeating the API request or changing the app key will not grant access. Other 403 responses can indicate organization or resource permissions; read the message.
{
"status": 403,
"message": "This operation requires JustDeploy MCP. Open https://console.justdeploy.ai/console/mcp, choose Codex or Claude, and follow the connection steps in your desktop app. Sign in to JustDeploy and approve access, then return to your AI, verify the connection, and ask it to perform this operation.",
"requestId": "REQUEST_ID"
}Authentication is checked first: missing or invalid credentials return 401, and expired credentials return 410. Errors include requestId; wait only when retryAfter is present. A lost write response may still mean the operation succeeded.