ID
User profile
Fetch name, email, avatar, and other profile fields.
All user endpoints require Authorization: Bearer <token>. A self-issued uf_live_ key reads your own data; an OAuth uf_at_ token reads the consented user's data.
GET
/v1/meReturns the authenticated user's profile: id, name, email (if user:read was granted), avatar, language and joined date.
Response
{
"ok": true,
"data": {
"id": "usr_9f2ca1b8",
"name": "Diyorbek",
"email": "diyorbek@example.com",
"avatar_url": "https://id.uflow.uz/avatar/9f2ca1b8.jpg",
"lang": "uz",
"created_at": "2023-04-12T09:30:00Z"
}
}PATCH
/v1/meUpdate the current user's display name, language or avatar. Requires self:write or user:write.
Request body
{ "name": "Diyorbek X", "lang": "en" }GET
/v1/user/:idFetch a public profile by ID. Email and private fields are omitted. No scope required.