Notifications

A list of all publicly available methods for interacting with the API.

GET

Get notifications -/user/notifications

Query method

GEThttp://apilocal.stableproxy.com/v2/user/notifications

Query parameters

IdentifierRegulationsExample
mark-as-readNot necessarilynullableex-booleanfalse
searchNot necessarilynullablestring191
per-pageNot necessarilynullableinteger13
pageNot necessarilynullableinteger17
sort-byNot necessarilynullablestringapp\_validators\_ex_in_rule""
sort-orderNot necessarilynullablestringin:asc, desc"asc"

Code examples

1async function getUserNotifications() {
2   const baseUrl = 'http://apilocal.stableproxy.com/v2';
3   const req = await fetch(baseUrl + '/user/notifications?' + Object.entries({
4         "mark-as-read": false,
5         "search": 191,
6         "per-page": 13,
7         "page": 17,
8         "sort-by": "",
9         "sort-order": "asc"
10      }).map(([key, value]) => key + "=" + value).join('&'), {
11         method: 'GET',
12         headers: {
13            'Authorization': 'API-Token [YOUR TOKEN]',
14            'Content-Type': 'application/json'
15         }
16      }
17   );
18   
19   const res = await req.json();
20}

Examples of answers

StableProxy

StableProxy

© StableProxy – 2021 - 2025 – Ukraine

Payment methods