Get Current User Connections
curl --request GET \
--url https://api.replyke.com/api/v6/:projectId/connectionsimport requests
url = "https://api.replyke.com/api/v6/:projectId/connections"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.replyke.com/api/v6/:projectId/connections', 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/connections",
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/connections"
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/connections")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.replyke.com/api/v6/:projectId/connections")
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{
"connections": [
{
"id": "<string>",
"connectedUser": {
"id": "<string>",
"name": "<string>",
"username": "<string>",
"avatar": "<string>",
"bio": "<string>",
"reputation": 123
},
"connectedAt": "<string>",
"requestedAt": "<string>",
"message": "<string>"
}
],
"pagination": {
"currentPage": 123,
"totalPages": 123,
"totalCount": 123,
"hasNextPage": true,
"hasPreviousPage": true,
"limit": 123
}
}Connection Endpoints
Get Current User Connections
Get list of established connections for the current user
GET
/
:projectId
/
connections
Get Current User Connections
curl --request GET \
--url https://api.replyke.com/api/v6/:projectId/connectionsimport requests
url = "https://api.replyke.com/api/v6/:projectId/connections"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.replyke.com/api/v6/:projectId/connections', 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/connections",
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/connections"
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/connections")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.replyke.com/api/v6/:projectId/connections")
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{
"connections": [
{
"id": "<string>",
"connectedUser": {
"id": "<string>",
"name": "<string>",
"username": "<string>",
"avatar": "<string>",
"bio": "<string>",
"reputation": 123
},
"connectedAt": "<string>",
"requestedAt": "<string>",
"message": "<string>"
}
],
"pagination": {
"currentPage": 123,
"totalPages": 123,
"totalCount": 123,
"hasNextPage": true,
"hasPreviousPage": true,
"limit": 123
}
}Get list of established connections for the current user.
Query Parameters
number
default:"1"
Page number
number
default:"20"
Items per page (max: 100)
Response
array
Show connection object
Show connection object
string
Unique connection identifier
object
string
Timestamp when connection was accepted
string
Timestamp when request was initially sent
string
Original connection message
object
Error Responses
Unauthorized - 401 Unauthorized
Unauthorized - 401 Unauthorized
{
"error": "Authentication required",
"code": "auth/unauthorized"
}
Server Error - 500 Internal Server Error
Server Error - 500 Internal Server Error
{
"error": "Internal server error",
"code": "connection/server-error"
}
Notes
- Requires authentication
- Returns paginated list of established connections for the current user
- Each connection includes the connected user’s details
- Includes timestamps for when connection was accepted
- Default pagination: 20 items per page, maximum 100 items per page
- Rate limiting: 100 requests per 5 minutes
⌘I

