cURL
curl --request GET \ --url https://api.horay.ai/v1/user/info \ --header 'Authorization: Bearer <token>'
{ "code": 20000, "message": "OK", "status": true, "data": { "id": "userid", "name": "username", "image": "user_avatar_image_url", "email": "user_email_address", "isAdmin": false, "balance": "0.88", "status": "normal", "introduction": "user_introduction", "role": "user_role", "chargeBalance": "88.00", "totalBalance": "88.88" } }
Retrieve user information including balance and status.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response
The response is of type object.
object