Skip to main content
GET
/
:projectId
/
users
/
:userId
Fetch User
curl --request GET \
  --url https://api.replyke.com/api/v6/:projectId/users/:userId
{
  "id": "<string>",
  "projectId": "<string>",
  "foreignId": "<string>",
  "name": "<string>",
  "username": "<string>",
  "avatar": "<string>",
  "bio": "<string>",
  "birthdate": "<string>",
  "reputation": 123,
  "location": {
    "type": "<string>",
    "coordinates": [
      123
    ]
  },
  "metadata": {},
  "createdAt": "<string>",
  "updatedAt": "<string>"
}
Fetch details of a specific user by their ID. This endpoint returns public profile information.

Path Parameters

userId
string
required
The unique ID of the user to fetch

Response

id
string
Unique user identifier
projectId
string
ID of the project this user belongs to
foreignId
string
External reference ID if user was imported from another system
name
string
User’s full name
username
string
User’s unique username
avatar
string
URL to user’s avatar image
bio
string
User’s biography
birthdate
string
User’s birthdate in ISO 8601 format
reputation
number
User’s reputation score
location
object
metadata
object
Custom public metadata
createdAt
string
Account creation timestamp
updatedAt
string
Last update timestamp

Error Responses

{
  "error": "Missing or invalid userId in request parameters",
  "code": "user/invalid-user-id"
}
{
  "error": "User not found",
  "code": "user/not-found"
}
{
  "error": "Internal server error",
  "code": "user/server-error",
  "details": "<Error message>"
}

Notes

  • This endpoint excludes sensitive fields such as email, password hash, and secure metadata.
  • Useful for displaying public profile information of a user.
I