Skip to main content

Signature Authentication

Request Authorization

  • Method: server.sign
  • Parameters:
Parameter NameRequiredTypeNotes
access_idtruestringAPI access id
signed_strtruestringSignature string
timestamptrueintTimestamp (millisecond)
  • Example:
// Authorization
{
"method": "server.sign",
"params": {
"access_id": "ABCDEFGHIJK1234567890",
"signed_str": "1234567890abcdefghijk",
"timestamp": 1234567890123
},
"id": 1
}

Authorization Response

  • Example:
// success
{
"id": 1,
"code": 0,
"message": "OK"
}

// fail
{
"id": 1,
"code": 21002,
"message": ""
}