Authentication
FlexPortal uses Bearer token authentication. Include your API key in theAuthorization header:
Base URLs
| Region | Base URL |
|---|---|
| Europe | https://api-eu.flexportal.io |
| United States | https://api-us.flexportal.io |
| Qatar | https://api-qatar.flexportal.io |
Rate Limits
| Tier | Requests per minute |
|---|---|
| Starter | 100 |
| Growth | Unlimited* |
| Enterprise | Unlimited* |
Pagination
List endpoints return paginated results:| Parameter | Default | Description |
|---|---|---|
page | 1 | Page number |
limit | 20 | Items per page (max 100) |
Request Format
All requests should use JSON:Response Format
All responses return JSON with a consistent structure: Success:HTTP Status Codes
| Code | Description |
|---|---|
200 | Success |
201 | Created |
400 | Bad request |
401 | Unauthorized |
403 | Forbidden |
404 | Not found |
422 | Validation error |
429 | Rate limited |
500 | Server error |
Core Resources
| Resource | Description |
|---|---|
| Orders | Subscription checkout transactions |
| Products | Items available for subscription |
| Customers | End users who subscribe |
| Subscriptions | Active subscription contracts |
| Assets | Individual tracked units (by serial number) |
| Invoices | Billing records |
Webhooks
FlexPortal sends real-time notifications for key events:subscription.createdsubscription.renewedsubscription.cancelledpayment.succeededpayment.failedasset.assignedasset.returned