External API

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.

MethodPathPurpose
POST/databases/:databaseId/queryQuery application data
POST/storages/:storageId/filesPrepare a file upload
GET/storages/:storageId/files/:fileIdRead or download one file
DELETE/storages/:storageId/files/:fileIdDelete one file
POST/mailsSend one email
GET/mails/:mailIdCheck 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.

If a direct request returns 403

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.

Response 403
{
  "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.