Skip to Content
πŸš€ APSO is now in public beta. Get started β†’
ConnectOverview

Connect

Connect to your APSO-generated APIs and databases. This section covers setting up connections, testing your API, and troubleshooting common issues.

API Connection

Your APSO-generated backend exposes a REST API with the following structure:

https://your-api.apso.cloud/api/v1 β”œβ”€β”€ /auth # Authentication endpoints β”œβ”€β”€ /users # User management β”œβ”€β”€ /{entity} # Entity CRUD endpoints └── /health # Health check

Getting Started

Authentication Methods

APSO supports multiple authentication methods:

MethodUse CaseHeader
JWT BearerUser sessionsAuthorization: Bearer <token>
API KeyService-to-serviceX-API-Key: <key>
Session CookieWeb applicationsCookie-based auth

Request Format

All requests should include:

# Required headers Content-Type: application/json Authorization: Bearer <your-token> # Multi-tenancy header (if enabled) X-Organization-Id: <org-id>

Response Format

Successful responses:

{ "data": { /* entity or array */ }, "meta": { "total": 100, "page": 1, "limit": 20 } }

Error responses:

{ "statusCode": 400, "message": "Validation failed", "errors": [ { "field": "email", "message": "Invalid email format" } ] }
Last updated on