Get App Notifications
curl --request GET \
--url https://api.replyke.com/api/v6/:projectId/app-notifications \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.replyke.com/api/v6/:projectId/app-notifications"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.replyke.com/api/v6/:projectId/app-notifications', 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/app-notifications",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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/app-notifications"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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/app-notifications")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.replyke.com/api/v6/:projectId/app-notifications")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"notifications": [
{
"id": "<string>",
"userId": "<string>",
"projectId": "<string>",
"type": "<string>",
"action": "<string>",
"metadata": {
"initiatorId": "<string>",
"initiatorName": "<string>",
"initiatorUsername": "<string>",
"initiatorAvatar": "<string>"
},
"createdAt": "<string>",
"updatedAt": "<string>"
}
]
}App Notification Endpoints
Get App Notifications
Retrieve a paginated list of app notifications for the authenticated user
Get App Notifications
curl --request GET \
--url https://api.replyke.com/api/v6/:projectId/app-notifications \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.replyke.com/api/v6/:projectId/app-notifications"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.replyke.com/api/v6/:projectId/app-notifications', 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/app-notifications",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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/app-notifications"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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/app-notifications")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.replyke.com/api/v6/:projectId/app-notifications")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"notifications": [
{
"id": "<string>",
"userId": "<string>",
"projectId": "<string>",
"type": "<string>",
"action": "<string>",
"metadata": {
"initiatorId": "<string>",
"initiatorName": "<string>",
"initiatorUsername": "<string>",
"initiatorAvatar": "<string>"
},
"createdAt": "<string>",
"updatedAt": "<string>"
}
]
}Retrieve a paginated list of app notifications for the authenticated user, ordered by most recent first.
Query Parameters
number
default:"1"
Page number (must be a whole number >= 1)
number
default:"5"
Number of notifications to return (max: 50)
Response
Returns an array of notification objects:array
Show notification object
Show notification object
string
Unique notification identifier
string
ID of the user receiving the notification
string
Project identifier
string
Notification type (e.g., “new-follow”, “comment-reply”)
string
Action associated with the notification (e.g., “open-profile”)
object
string
Timestamp when notification was created
string
Timestamp when notification was last updated
Error Responses
Invalid Page - 400 Bad Request
Invalid Page - 400 Bad Request
{
"error": "Invalid request: 'page' must be a whole number greater than 0",
"code": "app-notification/invalid-page"
}
Invalid Limit - 400 Bad Request
Invalid Limit - 400 Bad Request
{
"error": "Invalid request: limit must be a number",
"code": "app-notification/invalid-limit"
}
Server Error - 500 Internal Server Error
Server Error - 500 Internal Server Error
{
"error": "Internal server error.",
"code": "app-notification/server-error",
"details": "<Error message>"
}
Notes
- Requires authentication
- Pagination is supported via
pageandlimitquery parameters - Maximum value for
limitis 50, default is 5 - Notifications are returned in reverse chronological order (most recent first)
- Rate limiting: 100 requests per 5 minutes

