Fetch User
curl --request GET \
--url https://api.replyke.com/api/v6/:projectId/users/:userIdimport requests
url = "https://api.replyke.com/api/v6/:projectId/users/:userId"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.replyke.com/api/v6/:projectId/users/:userId', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.replyke.com/api/v6/:projectId/users/:userId",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.replyke.com/api/v6/:projectId/users/:userId"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.replyke.com/api/v6/:projectId/users/:userId")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.replyke.com/api/v6/:projectId/users/:userId")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"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>"
}User Endpoints
Fetch User
Retrieve details of a specific user by their ID
GET
/
:projectId
/
users
/
:userId
Fetch User
curl --request GET \
--url https://api.replyke.com/api/v6/:projectId/users/:userIdimport requests
url = "https://api.replyke.com/api/v6/:projectId/users/:userId"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.replyke.com/api/v6/:projectId/users/:userId', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.replyke.com/api/v6/:projectId/users/:userId",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.replyke.com/api/v6/:projectId/users/:userId"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.replyke.com/api/v6/:projectId/users/:userId")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.replyke.com/api/v6/:projectId/users/:userId")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"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
string
required
The unique ID of the user to fetch
Response
string
Unique user identifier
string
ID of the project this user belongs to
string
External reference ID if user was imported from another system
string
User’s full name
string
User’s unique username
string
URL to user’s avatar image
string
User’s biography
string
User’s birthdate in ISO 8601 format
number
User’s reputation score
object
Custom public metadata
string
Account creation timestamp
string
Last update timestamp
Error Responses
Missing or Invalid User ID - 400 Bad Request
Missing or Invalid User ID - 400 Bad Request
{
"error": "Missing or invalid userId in request parameters",
"code": "user/invalid-user-id"
}
User Not Found - 404 Not Found
User Not Found - 404 Not Found
{
"error": "User not found",
"code": "user/not-found"
}
Server Error - 500 Internal Server Error
Server Error - 500 Internal Server Error
{
"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.

