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 online numbers of the account which income is greater than or equal to the specified sum parameter value.

This request can be used to quickly obtain information on what online numbers has reached the 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 If 0 passed as a value, the server returns a list of all online numbers of the account.
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"