get takeOffNumbers

https://{ourserver.com}/api/resellers/takeOffNumbers
v2

IMPORTANT NOTE!
URL of Onlinesim server is provided by Onlinesim partner support specialists. Please note, that the URL in the example is just a placeholder.

This request is optional, and you can skip this part. It returns income information of your online numbers, this data is also available on your personal page. It returns a list of numbers which income is greater than specified sum parameter value.

This request can be used to quickly obtain information on what online numbers has reached desired income and can be replaced with new ones.

Servers

https://{ourserver.com}

Parameters

sum
Filter income value, in rubles.
For example: if sum = 37.5, the request will return a list of online numbers which income is equal to 37.5 RUB or more
In: query
Schema:
  • string
    Example: "50"
Authorization
Required

see more here

In: header
Schema:
  • string
    Example: "Bearer apiKey"

Responses

200

Onlinesim server response
Content Type:
application/json
  • Schema
  • Examples
  • object
    Example: {"response":1,"list":[{"id":"10001","number":"+4605091080","sum":"75.76","country":"46"}]}
    Properties:
    • response
      mixed
      1, if request was successful, otherwise error message will come up
      Example: 1
      One Of:
      • string
        Example: "string"
      • integer
        Example: 0
    • list
      array
      Example: [{"id":"10001","number":"+4605091080","sum":"75.76","country":"46"}]
      Items:
      • object
        Example: {"id":"10001","number":"+4605091080","sum":"75.76","country":"46"}

400

Bad Request
Content Type:
text/html
  • Schema
  • Examples
  • string
    Example: "string"