GET /stubs/handler_api.php?action=getNumbersStatus
Get information on the number of available numbers by services
This request returns a list of available numbers by country and service. You might want to use it to check if the numbers of desired country are available for order and if so, how many.
Security
- api_key
- BearerAuth
- OAuth2 (Scopes: sms-scope)
sms-scope: grants access to manage numbers for the SMS receiving service from Onlinesim
Parameters
| Name | Type | Description |
|---|---|---|
action* | string | Method name, in this case Enum: getNumbersStatusDefault:getNumbersStatus |
country | integer≥ 1 | International dialing code of the country (Е.164 standard, without Default: 7Example:46 |
Responses
200
Successful getNumbersStatus response from the server: either
returns detailed information on available numbers by service or
throws an exception.
Code Samples
No code samples available