Developers / API Reference

API conventions, envelopes, and endpoint groups.

9 categories51 pagesUpdated Mar 24, 2026

# API Overview All API routes use JSON envelopes with explicit success and error fields. ## Base URL Use your deployed origin, for example https://app.cosantoir.com. ## Response Envelope ``json { "data": {}, "success": true, "error": null } ` ## Endpoint Groups - /api/v1/docs/* for documentation metadata and search. - /api/v1/auth/* for session and account auth operations. - /api/v1/integrations/*` for provider automation. ## Versioning API versions are path-based and backward-compatible within the same major version.

Last updated Mar 24, 2026