Skip to main content

Query Online Members

Query the list of currently online members.

API Information

  • URLPOST /v2/members/online
  • Authentication:Bearer Token
  • Encryption:Requests are encrypted using AES-256-GCM; responses are returned as plaintext JSON

request

request Headers

POST /v2/members/online HTTP/1.1
Host: api.example.com
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
x-agentid: integratorNBTest04
x-timestamp: 1769746894501
x-nonce: 56ffd5ecd8a3a4457863a0bd7c298fb2
x-signature: 904e97bee2589b93e9747eed0346c68b23d8ff8b568dabaf4b94a5e89093df67

Request Parameters

Request Body Before Encryption

{}

Encrypted Request Body

{
"cipherText": "G0ZMDELeJwx+7JcIfIFOLJjkSzANPu6krGM2uw==..."
}

Response

Success Response

{
"code": 0,
"message": "No error.",
"data": {
"userList": ["testacoount001", "testacoount002"],
"counts": 2
},
"logUUID": "b77d7a71-94f7-4503-8e33-3309a7fc1e19"
}
FieldTypeDescription
data.userListarrayOnline Member Username List
data.countsnumberTotal Online Member Count

Error Response

{
"code": 7,
"message": "Internal server error",
"logUUID": "24cdc3b9-9fe8-44de-8391-a96863e46954"
}

Common Error Codes

CodeDescription
7Internal server error

Important Notes

  1. Update Frequency:Online member data is updated every 30 seconds.