Common Parameters
Common Parameters
All API requests must include the following common parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| appKey | string | Yes | Project App Key |
| timestamp | number | Yes | Current timestamp (seconds or milliseconds), valid window 5 minutes |
| sign | string | Yes | Request signature |
Response Format
All APIs return JSON in a unified format:
json
{
"success": true,
"code": 200,
"msg": "OK",
"data": { ... }
}On error:
json
{
"success": false,
"code": 401,
"msg": "Invalid sign"
}Error Codes
| Code | Description |
|---|---|
| 400 | Invalid request parameters |
| 401 | Signature verification failed or request expired |
| 403 | App Secret not configured |
| 404 | Invalid App Key |
| 500 | Internal server error |