For application data calls, prefer the official SDK. A deployed SDK app authenticates automatically. Local runs use their own app credential in process environment variables. Keep all credentials in server code.
A direct HTTP request uses Authorization: Bearer with the app’s Access Key and Secret Key joined by a colon. Existing X-Access-Key and X-Secret-Key headers remain supported. Never put your personal MCP connection credentials in an app.
curl -X POST https://api.justdeploy.net/organizations/ORGANIZATION_ID/databases/DATABASE_ID/query \
-H "Authorization: Bearer $JUSTDEPLOY_ACCESS_KEY:$JUSTDEPLOY_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"SELECT 1"}'Valid authentication allows only the External API operations, subject to organization and resource permissions. Lists, table changes, deployments and other management requests require MCP. The same limits apply to SDK methods.
Connect your AI through MCP for setup and management. The authentication below is for your application.
A deployed SDK app does not need a manual key. If local code needs one, ask your connected AI to inspect existing app keys and issue one only when needed, or use Credentials in Console. Save the secret privately; lists cannot recover it. Never revoke a key just because it appears unused.