English
English
Appearance
English
English
Appearance
SmartTable provides a complete RESTful Open API for integrating with third-party applications and external systems. All endpoints are based on standard HTTP and return JSON.
All API paths are prefixed with /api/v1:
https://your-domain.com/api/v1All API requests must carry an access token obtained via OAuth2 in the Header (see Authentication):
Authorization: Bearer <access_token>All responses are JSON and uniformly contain the code and msg fields, while data holds the business payload:
{
"code": 0,
"msg": "success",
"data": { }
}
code = 0indicates success; a non-zerocodeindicates failure andmsgcarries the error description.
List endpoints uniformly use page (page number, starting at 1) and page_size (items per page, default 20). Responses include total, page, and page_size:
{
"code": 0,
"msg": "success",
"data": {
"items": [ ],
"total": 100,
"page": 1,
"page_size": 20
}
}All time fields use UTC in ISO 8601 format:
2026-01-01T12:00:00ZOn failure, the response code is non-zero, msg describes the error, and data is usually null:
{
"code": 40100,
"msg": "invalid_client",
"data": null
}| Code | Meaning |
|---|---|
| 40000 | Invalid parameters |
| 40100 | Client authentication failed (wrong client_id / client_secret) |
| 40101 | Unsupported grant type |
| 40102 | Access token missing or malformed |
| 40103 | Access token invalid or expired |
| 40104 | Refresh token invalid or expired |
| 40300 | Insufficient permission (scope mismatch or no access to resource) |
| 40400 | Resource not found |
| 40900 | Resource conflict |
| 42900 | Too many requests (rate limited) |
| 50000 | Internal server error |