Get user
Fetch your user record by username.
Endpoint
GET /api/v1/users/{username}Self
Usage
curl \
--header "Authorization: Bearer $PEARING_API_TOKEN" \
"$PEARING_API_URL/v1/users/alice"Success
200 OK with user record. The email field is only returned on these gated self/staff views.
{
"uuid": "...",
"username": "alice",
"email": "<private>",
"activity": "",
"activity_updated_at": null
}Errors
404 Not Foundwhen username does not exist.
Common auth errors are documented on the API overview page.