Console
AppHub Tether

User

Returns information about the account currently connected in AppHub Store — useful for personalizing your app UI without a separate login flow.

GET http://127.0.0.1:7420/user
Requires X-AppHub-Token header or Authorization: AppID:AppKey — see Authentication
This endpoint requires AppHub Store to be running on your machine. The live tester calls your local AppHub instance directly.

No parameters required.

Success response — authenticated 200

{
  "ok": true,
  "id": "12345",
  "username": "vanelton",
  "email": "user@example.com",
  "avatar": "https://..."
}

Response — no account connected

{
  "ok": false,
  "reason": "no_account"
}

Response fields

FieldTypeDescription
okbooleantrue if a user is connected
idstringAccount ID
usernamestringDisplay name
emailstringAccount email (may be null)
avatarstringAvatar image URL (may be null)