Skip to main content
GET
/
v1
/
me
Get current account
curl --request GET \
  --url https://api.gamer2z.com/v1/me \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "username": "<string>"
}

Authorizations

Authorization
string
header
required

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

Response

Account profile

id
string
username
string
role
enum<string>
Available options:
BUYER,
SELLER,
ADMIN