GET
/
base
/
user
Get information of current user.
curl --request GET \
  --url https://api.coinfer.ai/base/user \
  --header 'Authorization: Bearer <token>'
{
  "status": "<string>",
  "data": {
    "id": 123,
    "username": "<string>",
    "super": true,
    "roles": [
      "<string>"
    ],
    "is_github_user": true
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

OK

status
string
required
Allowed value: "ok"
data
object
required