Phone status
A list of all publicly available methods for interacting with the API.
GET
Get phone status -/user/phone-status
Query method
GEThttp://apilocal.stableproxy.com/v2/user/phone-status
Code examples
JavaScript
1async function getUserPhoneStatus() {
2 const baseUrl = 'http://apilocal.stableproxy.com/v2';
3 const req = await fetch(baseUrl + '/user/phone-status', {
4 method: 'GET',
5 headers: {
6 'Authorization': 'API-Token [YOUR TOKEN]',
7 'Content-Type': 'application/json'
8 }
9 }
10 );
11
12 const res = await req.json();
13}
Examples of answers
Success response
GET
Get allowed countries -/phone/supported-countries
Query method
GEThttp://apilocal.stableproxy.com/v2/phone/supported-countries
Code examples
JavaScript
1async function getPhoneSupportedCountries() {
2 const baseUrl = 'http://apilocal.stableproxy.com/v2';
3 const req = await fetch(baseUrl + '/phone/supported-countries', {
4 method: 'GET',
5 headers: {
6 'Content-Type': 'application/json'
7 }
8 }
9 );
10
11 const res = await req.json();
12}