Support

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

GET

List tickets -/support/tickets

Query method

GEThttp://apilocal.stableproxy.com/v2/support/tickets

Query parameters

IdentifierRegulationsExample
searchNot necessarilynullablestring61
per-pageNot necessarilynullableinteger91
pageNot necessarilynullableinteger69
sort-byNot necessarilynullablestringapp\_validators\_ex_in_rule""
sort-orderNot necessarilynullablestringin:asc, desc"asc"

Code examples

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

Examples of answers

POST

Create ticket -/support/tickets

Query method

POSThttp://apilocal.stableproxy.com/v2/support/tickets

Query parameters

IdentifierRegulationsExample
messageNot necessarilyrequired_without:files283
filesNot necessarilyarraydistinct3
captcha-keyNot necessarilynullablestring"6Le6gTwUAAA ... secret ...tjbYd6IAYN_"
g-recaptcha-responserequiredrecaptchav3:support, 0.5, captcha-key"03AFcWeA690BhJU7VIxoIpsXXdDx7IVllNVz804lKvWNIBYmF42ALfY18TY4cjjQ0sY_...."
files..*requiredfiledistinct1852

Code examples

1async function postSupportTickets() {
2   const baseUrl = 'http://apilocal.stableproxy.com/v2';
3   const req = await fetch(baseUrl + '/support/tickets', {
4         method: 'POST',
5         headers: {
6            'Content-Type': 'application/json'
7         },
8         body: JSON.stringify({
9            "message": 283,
10            "files": 3,
11            "captcha-key": "6Le6gTwUAAA ... secret ...tjbYd6IAYN_",
12            "g-recaptcha-response": "03AFcWeA690BhJU7VIxoIpsXXdDx7IVllNVz804lKvWNIBYmF42ALfY18TY4cjjQ0sY_....",
13            "files..*": 1852
14         }),
15      }
16   );
17   
18   const res = await req.json();
19}

Examples of answers

GET

View ticket -/support/tickets/{id}

Query method

GEThttp://apilocal.stableproxy.com/v2/support/tickets/{id}

Query parameters

IdentifierRegulationsExample
id1required80

Code examples

1async function getSupportTickets() {
2   const baseUrl = 'http://apilocal.stableproxy.com/v2';
3   const req = await fetch(baseUrl + '/support/tickets/{id}'
4      .replace("{id}", 80), {
5         method: 'GET',
6         headers: {
7            'Content-Type': 'application/json'
8         }
9      }
10   );
11   
12   const res = await req.json();
13}

Examples of answers

StableProxy

StableProxy

© StableProxy – 2021 - 2025 – Ukraine

Payment methods