Get Received Pending Requests
curl --request GET \
--url https://api.replyke.com/api/v6/:projectId/connections/pending/receivedimport requests
url = "https://api.replyke.com/api/v6/:projectId/connections/pending/received"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.replyke.com/api/v6/:projectId/connections/pending/received', 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/pending/received",
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/pending/received"
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/pending/received")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.replyke.com/api/v6/:projectId/connections/pending/received")
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{
"requests": [
{
"id": "<string>",
"type": "<string>",
"user": {
"id": "<string>",
"name": "<string>",
"username": "<string>",
"avatar": "<string>",
"bio": "<string>",
"reputation": 123
},
"message": "<string>",
"createdAt": "<string>"
}
],
"pagination": {
"currentPage": 123,
"totalPages": 123,
"totalCount": 123,
"hasNextPage": true,
"hasPreviousPage": true,
"limit": 123
}
}Connection Endpoints
Get Received Pending Requests
Get connection requests received by the current user that are still pending
GET
/
:projectId
/
connections
/
pending
/
received
Get Received Pending Requests
curl --request GET \
--url https://api.replyke.com/api/v6/:projectId/connections/pending/receivedimport requests
url = "https://api.replyke.com/api/v6/:projectId/connections/pending/received"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.replyke.com/api/v6/:projectId/connections/pending/received', 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/pending/received",
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/pending/received"
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/pending/received")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.replyke.com/api/v6/:projectId/connections/pending/received")
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{
"requests": [
{
"id": "<string>",
"type": "<string>",
"user": {
"id": "<string>",
"name": "<string>",
"username": "<string>",
"avatar": "<string>",
"bio": "<string>",
"reputation": 123
},
"message": "<string>",
"createdAt": "<string>"
}
],
"pagination": {
"currentPage": 123,
"totalPages": 123,
"totalCount": 123,
"hasNextPage": true,
"hasPreviousPage": true,
"limit": 123
}
}Get connection requests that others have sent to the current user and are still pending.
Query Parameters
number
default:"1"
Page number
number
default:"20"
Items per page (max: 100)
Response
array
Show request object
Show request object
string
Unique connection identifier
string
Request type (always “received”)
object
string
Message included with the connection request
string
Timestamp when request was received
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 pending connection requests received by the current user
- Each request includes the sender’s details and their message
- Shows when each request was received
- Users can accept or decline these requests using the connection ID
- Default pagination: 20 items per page, maximum 100 items per page
- Rate limiting: 100 requests per 5 minutes
⌘I

