Api doc


SDK's


Api Modules

staff.ping



Supported Methods:

CREATE
Params
  • token (Required): valid token
  • to (Required): integer
  • message (Required): varchar


Documentation

CREATE
Ping user.
Level 5 is required (all users can fetch this module)

--

Parameters:

  1. "to": required //User id (integer)
  2. "message": required //Message (varchar)
  3. "token": "xxxxxxx" //Valid token is required

Example Request:

  1. {
  2. "module":"staff.ping",
  3. "method":"GET",
  4. "request":{
  5. "to":"15553",
  6. "message":"ping"
  7. }
  8. }

Example Response:

  1. {
  2. "status":1,
  3. "data":"",
  4. "token":"xxxxxxx"
  5. }