Get blocked user information

If a user tries to sign in at a community or game web page with Web Login API, this API lets you know whether this user was blocked in the game or not.

Basics

  Description
Request URL
  • Commercial: https://weblogin.withhive.com/block_info
  • Sandbox: https://sandbox-weblogin.withhive.com/block_info
Method POST
HTTP Header Content-type: application/json
Response Format JSON

Request

Name Type Required Description
appid String O the AppID
player_id Integer O the PlayerID
language String X

This is the language value. If left empty, it is automatically set to English.

  • ko (Korean)
  • en (English)
  • ja (Japanese)
  • zh-hans (Chinese Simplified)
  • zh-hant (Chinese Traditional)
  • de (German)
  • fr (French)
  • ru (Russian)
  • es (Spanish)
  • pt (Portuguese)
  • id (Indonesian)
  • th (Thai)
  • vi (Vietnamese)
  • it (Italian)
  • tr (Turkish)
  • ar (Arabic)

Response

Name Type Description Notes
code Integer Result Code
  • 100: Success
  • 2002: the request body does not exist.
  • 2005: the appid or player_id does not exist.
  • 2011: the appid is not valid.
  • 2016: the game is not valid.
  • 2019: the company is not valid.

* not valid: No value or a null value exists. If you get 2016 or 2019, go to Hive console AppCenter and check out the game or the company configurations.

data Object the result data
data.is_blocked Boolean Whether the user is blocked in the game or not.
  • true: blocked user
  • false: normal user
data.status String blocking status
  • N: normal
  • P: permanently blocked
  • B: blocked for a specific period of time
data.start_date String the start date and time of blocking
data.end_data String the end date and time of blocking
data.remaining_date String the remaining days until the blocking is released This will be shown following the provided language value(default: English)
data.reason String the reasons for blocking This will be shown following the provided language value(default: English)

Request Examples

Response Examples

Success (normal user)

Success (a user blocked for a specific period of time)

Success (a user permanently blocked)

Failure