Conn2Flow
Docs navigation

Reference / API

HTTP API

Core HTTP routes, authentication, response envelopes and endpoint families.

The front controller sends /_api/... to api_route_request(). Public status and health return JSON; other authentication rules belong to each handler. api_rate_limit_check() runs before dispatch: it uses api_rate_limits, defaulting to 100 requests per 3600 seconds per route/subject. Exceeding it returns 429; an infrastructure failure in rate evaluation returns 503.

api_response_success() returns JSON with status: success, data and message. api_response_error() returns status: error, message and optional details. api_get_request_body() parses JSON and returns 400 for invalid JSON. CORS reads api.cors-origins from configuration; OPTIONS preflight is handled before dispatch.

Family Route Contract
Authentication auth Mobile login, logout, profile and modules
OAuth oauth Access token renewal
Projects project Upload and recovery
System system Session based update
Modules modules Module hooks
Distributed channel distributed Actions between installations
Gateways gateways Separate /_gateways/ controller

/_api/oauth/ without refresh redirects to oauth-authenticate/; it does not return an authorization JSON response. See the OAuth2 library for token storage.

The Future is Hybrid: Human + AI.

Conn2Flow is the tool. If you need the Architect to design your company's strategy using this technology...

Hire Specialized Consulting