Skip to main content
GET
/
:projectId
/
app-notifications
Get App Notifications
curl --request GET \
  --url https://api.replyke.com/api/v6/:projectId/app-notifications
import requests

url = "https://api.replyke.com/api/v6/:projectId/app-notifications"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

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",
]);

$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)

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")
.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)

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

page
number
default:"1"
Page number (must be a whole number >= 1)
limit
number
default:"5"
Number of notifications to return (max: 50)

Response

Returns an array of notification objects:
notifications
array

Error Responses

{
  "error": "Invalid request: 'page' must be a whole number greater than 0",
  "code": "app-notification/invalid-page"
}
{
  "error": "Invalid request: limit must be a number",
  "code": "app-notification/invalid-limit"
}
{
  "error": "Internal server error.",
  "code": "app-notification/server-error",
  "details": "<Error message>"
}

Notes

  • Requires authentication
  • Pagination is supported via page and limit query parameters
  • Maximum value for limit is 50, default is 5
  • Notifications are returned in reverse chronological order (most recent first)
  • Rate limiting: 100 requests per 5 minutes