cURL
curl --request GET \ --url https://staging.terminal3.io/v2/openidc/user \ --header 'Authorization: Bearer <token>'
{ "data": { "sub": "<string>", "eth_address": "<string>", "login_type": "email", "referral_code": "<string>", "edu_username": "<string>", "hp_username": "<string>", "hp_referrer_username": "<string>", "hp_referrer_id": 123, "hb_username": "<string>", "bb_username": "<string>" } }
This API is used for getting a basic information of an user.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Success
The response is of type object.
object