/
HU
huggingface
/
Hub API Endpoints
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Subscribe
huggingface
Hub API Endpoints
get
Get user info
v19
latest
OpenAPI 3.1.0
2026-08-08
314
2
953.7 KB
auth
Get user info
Get information about the user and auth method used
get
/api/whoami-v2
Response
Auth information
object
required
auth
object
required
type
'user'
required
id
string
required
name
string
required
fullname
string
required
email
string
nullable
canPay
boolean
billingMode
'prepaid'
|
'postpaid'
avatarUrl
string
required
periodEnd
number
nullable
emailVerified
boolean
isPro
boolean
required
orgs
object[]
required