Skip to main content
GET
/
:projectId
/
api
/
v7
/
users
/
:userId
Fetch User
curl --request GET \
  --url https://api.replyke.com/api/v6/:projectId/api/v7/users/:userId
{
  "id": "<string>",
  "foreignId": {},
  "projectId": "<string>",
  "name": {},
  "username": {},
  "avatar": {},
  "bio": {},
  "metadata": {},
  "reputation": 123,
  "avatarFile": {},
  "bannerFile": {},
  "createdAt": "<string>"
}
Returns a user’s public profile by their Replyke user ID. Optionally includes associated file records for the avatar and banner.

Path Parameters

userId
string
required
The Replyke user ID (UUID).

Query Parameters

include
string
Comma-separated list of associations to include. Pass "files" to include the processed avatarFile and bannerFile objects.

Response

On success, returns HTTP 200 with the user object:
id
string
Unique user ID (UUID).
foreignId
string | null
External identifier linking this user to your system.
projectId
string
Project this user belongs to.
name
string | null
Display name.
username
string | null
Unique username within the project.
avatar
string | null
Avatar image URL.
bio
string | null
Short bio text.
metadata
object | null
Public custom key-value data.
reputation
number
Reputation score.
avatarFile
object | null
Processed avatar image with variants. Only present when include=files is requested.
bannerFile
object | null
Processed banner image with variants. Only present when include=files is requested.
createdAt
string
ISO timestamp of account creation.

Error Responses

{
  "error": "User not found",
  "code": "user/not-found"
}
{
  "error": "...",
  "code": "user/invalid-params"
}

See Also