Headers
Get your API keyAPI key (`sfk_...`)
Endpoint-specific response payload.
Authenticated user associated with the provided API key.
Internal Social Fetch user identifier.
Display name for the authenticated user, when available.
Email address for the authenticated user, when available.
Workspace the API key acts in.
Identifier of the workspace the API key acts in.
Display name of the workspace.
Role the API key's creator holds in the workspace (for example owner, admin or member).
True when the workspace is the caller's own personal workspace rather than a shared one.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
True when served from shared response cache. Credits still apply (full endpoint price); Age header may be present.
Code example
curl "https://api.socialfetch.dev/v1/whoami" \
-H "x-api-key: YOUR_API_KEY"Responses
OK