What is the API Gateway?
A secure REST layer for your backend systems. Mobile apps, websites, partner portals, and backend services connect via HTTPS JSON and JWT - never directly to the database.
What we validate
- Application credentials
- User identity (JWT)
- Scopes (models / fields)
- Rate limits & audit
Who it’s for
Gateway admins (setup) and integrators building any client: mobile, web, or partner systems.
Connection details
To connect your app or system, contact us. We provide your environment details — nothing is public by default.
| Item | What we provide |
|---|---|
| base_url | Server URL (no trailing slash) |
| Database | Database name (for reference / support) |
| login / password | API user credentials |
| client_id / client_secret | From Application credentials (after gateway setup) |
Web UI:
{{base_url}}/web/login
API login:
POST {{base_url}}/api/v1/auth/login
Gateway setup - create an Application
Do this first before any client coding.
Credentials tab
| Field | What to do |
|---|---|
| client_id | Copy - public app ID |
| client_secret | Copy securely - used only at login |
| access_token_ttl_minutes | Default 15 |
| refresh_token_ttl_days | Default 14 |
Scopes & fields
Without scopes the app can login, but data APIs return permission errors.
Extra settings
Custom Calls
Register method slugs for /call/{slug}.
App Screens & Users
Map screen keys to users for menu-access.
Blocked Users
Blocked users cannot login or call this app.
Audit Logs
API Gateway → Audit Logs for debugging.
Integration flow
Authenticate
Login
{
"client_id": "YOUR_CLIENT_ID",
"client_secret": "YOUR_CLIENT_SECRET",
"login": "user@company.com",
"password": "******"
}
Refresh
{
"client_id": "YOUR_CLIENT_ID",
"refresh_token": "CURRENT_REFRESH_TOKEN"
}
Revoke (logout)
Request headers
| Header | Value |
|---|---|
| Authorization | Bearer |
| X-Client-Id | |
| Content-Type | application/json |
Discover permissions
Read & write data
Base path: /api/v1/data/{model}
{
"values": {
"name": "New Customer",
"email": "new@example.com"
}
}
Endpoint reference
| Method | Path | Purpose |
|---|---|---|
| POST | /api/v1/auth/login | Login |
| POST | /api/v1/auth/refresh | Refresh |
| POST | /api/v1/auth/revoke | Revoke |
| GET | /api/v1/info/models | Models |
| GET | /api/v1/info/models/{model}/fields | Fields |
| GET | /api/v1/data/{model} | List |
| GET | /api/v1/data/{model}/{id} | Read |
| POST | /api/v1/data/{model} | Create |
| PATCH | /api/v1/data/{model}/{id} | Update |
| DELETE | /api/v1/data/{model}/{id} | Delete |
Postman collection (full)
Full collection with 4 folders and 34 requests: 1. Authentication (Login, Refresh, Revoke + error examples), 2. Metadata & Discovery (models, fields, methods, menu-access), 3. Generic CRUD (partners, products, sale orders), 4. Sale Order - Business Automation (confirm, picking, invoice, payment, process_operations). Login Test script auto-saves access_token and refresh_token.
| Variable | Purpose |
|---|---|
| base_url | We provide the server URL |
| client_id / client_secret | From Application credentials |
| login / password | System user |
| model / record_id | Data CRUD targets |
| method_slug / menu_key | Custom call & menu-access |
Go-live checklist
- Created Application in gateway setup
- Configured scopes (model + fields + operations)
- Shared base_url, client_id, client_secret
- Login returns tokens + user
- Protected calls send Authorization + X-Client-Id
- 401 triggers refresh + single retry
Need access?
We provide base_url, database, user, password, and API credentials — contact us to get started.