cURL
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>" }
Get a user’s public profile by ID
"files"
avatarFile
bannerFile
200
include=files
User Not Found — 404
{ "error": "User not found", "code": "user/not-found" }
Invalid Params — 400
{ "error": "...", "code": "user/invalid-params" }
useFetchUser