Skip to main content
GET
/
users
/
me
Get current user
curl --request GET \
  --url https://api.agg.market/users/me \
  --header 'Authorization: Bearer <token>' \
  --header 'x-app-id: <api-key>'
{
  "id": "<string>",
  "username": "<string>",
  "avatarUrl": "<string>",
  "externalId": "<string>",
  "isLocationBlocked": true,
  "accounts": [
    {
      "providerAccountId": "<string>"
    }
  ],
  "wallets": [
    {
      "address": "<string>"
    }
  ],
  "venueAccounts": [
    {
      "id": "<string>",
      "status": "<string>",
      "kycStatus": "<string>"
    }
  ]
}

Authorizations

x-app-id
string
header
required

Your application ID. Required for all app-tier and user-tier routes.

Authorization
string
header
required

JWT access token returned by POST /auth/verify. Required for user-tier routes.

Response

200

id
string
required
username
string | null
required
avatarUrl
string | null
required
externalId
string | null
required
isLocationBlocked
boolean
required
accounts
object[]
required
wallets
object[]
required
venueAccounts
object[] | null
required