Skip to content

Common Parameters

Common Parameters

All API requests must include the following common parameters:

ParameterTypeRequiredDescription
appKeystringYesProject App Key
timestampnumberYesCurrent timestamp (seconds or milliseconds), valid window 5 minutes
signstringYesRequest 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

CodeDescription
400Invalid request parameters
401Signature verification failed or request expired
403App Secret not configured
404Invalid App Key
500Internal server error