Skip to content

API Reference

One-click apps API

Copy page

Your n8n and PostgreSQL one-click apps via the API — list, access details, start/stop/restart and logs

All endpoints live on https://api.hostino.ai and use an OAuth (Bearer) token or an API token. For now they cover n8n and PostgreSQL apps. Only your own apps are reachable; another account’s app answers 404 (app_not_found). The MCP equivalents are in n8n and PostgreSQL with AI.

EndpointScopeWhat it does
GET /v1/appsapps:readYour apps: app_id, app, status, health, plan (CPU/RAM), url, created_at
GET /v1/apps/:id/access?include_password=apps:readn8n url, or PostgreSQL host, port, database, user; password and connection_string only with include_password=true
POST /v1/apps/:id/start · stop · restartapps:writeLifecycle
GET /v1/apps/:id/logs?lines=apps:readLast 10–500 lines (default 100), secrets masked
Terminal window
curl -s https://api.hostino.ai/v1/apps -H "Authorization: Bearer $TOKEN"
curl -s -X POST https://api.hostino.ai/v1/apps/n8nabc123/restart -H "Authorization: Bearer $TOKEN"

Ordering, changing the plan, rebuilding and deleting an app are done in the panel (Services → Applications).