GET/v1/whoami
Headers
Get your API keyx-api-key*stringheader
API key (`sfk_...`)
Response fields
9
Endpoint-specific response payload.
Authenticated user associated with the provided API key.
datauserid
string
Internal Social Fetch user identifier.
datausername
stringnullable
Display name for the authenticated user, when available.
datauseremail
stringnullable
Email address for the authenticated user, when available.
Metadata describing the request and billing outcome.
metarequestId
string
Unique request identifier for tracing this API call.
min 1 chars
metacreditsCharged
integer
Credits charged for this request.
≥ 0
metaversion
string
Public API version that served the response.
one of: v1
Code example
curl "https://api.socialfetch.dev/v1/whoami" \
-H "x-api-key: YOUR_API_KEY"Responses
OK