The Convexly REST API lets you create decisions, record outcomes, and retrieve insights programmatically. Perfect for integrations with Slack, Chrome extensions, Zapier, and custom workflows.
Base URL: https://api.convexly.app/api/v1/public
All public API endpoints require an API key passed via the X-API-Key header. Generate keys from Settings → API Keys.
curl -H "X-API-Key: cvx_your_api_key_here" \
https://api.convexly.app/api/v1/public/decisionsKeep your API key secret. It grants full access to your decisions. If a key is compromised, revoke it immediately from the Settings page.
Key management endpoints use JWT authentication (your Supabase session), not API keys. These are used by the Settings page to manage keys.
Create a decision
curl -X POST https://api.convexly.app/api/v1/public/decisions \
-H "X-API-Key: cvx_your_key" \
-H "Content-Type: application/json" \
-d '{
"title": "Expand to EU market",
"probability": 0.65,
"best_case": 50000,
"expected_case": 20000,
"worst_case": -10000,
"category": "strategy"
}'List decisions
curl https://api.convexly.app/api/v1/public/decisions?limit=10 \
-H "X-API-Key: cvx_your_key"Record an outcome
curl -X POST https://api.convexly.app/api/v1/public/decisions/{id}/outcome \
-H "X-API-Key: cvx_your_key" \
-H "Content-Type: application/json" \
-d '{"result": "success", "notes": "Shipped on schedule"}'