API Reference
API overview
The canonical programmatic surface for RidgeCRM.
Base URL
Use the same host as the deployed app. API routes are under `/api/v1`. Do not point developers at the stale Express `/api-docs` path as the primary reference.
bash
Authenticated request shape
curl https://ridgecrm.com/api/v1/accounts \
-H "Authorization: Bearer $RIDGECRM_TOKEN" \
-H "X-Organization-ID: $RIDGECRM_ORG_ID"Errors
- 401: missing or invalid authentication.
- 400: malformed request or missing organization context.
- 403: authenticated but not allowed.
- 404: requested record or route not found.
- 500: unhandled server or integration error.