User

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

async function getUserPhoneStatus() {
   const baseUrl = 'http://apilocal.stableproxy.com/v2';
   const req = await fetch(baseUrl + '/user/phone-status', {
         method: 'GET',
         headers: {
            'Authorization': 'API-Token [YOUR TOKEN]',
            'Content-Type': 'application/json'
         }
      }
   );
   
   const res = await req.json();
}

Examples of answers

GET

Get allowed countries Phone -/phone/supported-countries

Query method

GEThttp://apilocal.stableproxy.com/v2/phone/supported-countries

Code examples

async function getPhoneSupportedCountries() {
   const baseUrl = 'http://apilocal.stableproxy.com/v2';
   const req = await fetch(baseUrl + '/phone/supported-countries', {
         method: 'GET',
         headers: {
            'Content-Type': 'application/json'
         }
      }
   );
   
   const res = await req.json();
}

Examples of answers