PARAMETERS
* optional field. If not specified, then by default the quantity will be displayed in accordance with the setting in the left menu.
* optional field. If not specified, then by default the quantity will be displayed in accordance with the setting in the left menu.
** available for $country = 10
ANSWER
The response of the service will be in json format, example:
{"vk_0":149,"ok_0":190,"wa_0":64,"vi_0":140,"tg_0":86,"wb_0":14,"go_0":146,"av_0":251,"av_1":156,"fb_0":58}
Where to the dash - the name of the service, after the designation whether to turn on call redirection. 0 - do not turn on. 1 - turn on. The numbers with redirection, we unfortunately do not provide yet
PARAMETERS
ANSWER
POSSIBLE MISTAKES
PARAMETERS
* optional parameter accepts 0(not perform , set by default), 1(perform)
* optional field. If not specified, then by default the quantity will be displayed in accordance with the setting in the left menu.
** available for $country = 10
By getting the number through the API, you agree with the project rules
ANSWER
POSSIBLE MISTAKES
PARAMETERS
* Mandatory only if the parameter forward = 1 was passed with getNumber.
1 | report the readiness of the number (SMS to the number sent) |
---|---|
3 | request another code (free) |
6 | complete activation* |
8 | report the number used and cancel the activation |
* complete activation (if the status was "code received" - marks successfully and finishes, if there was "preparation" - deletes and marks the error, if it was status "waiting for repetition" - translates activation into waiting for sms)
Simple logic of api chronology:
Get the number using the getNumber method after this, the following actions are available:
8 - Cancel the activation (if the number does not match you)
1 - Notify that SMS has been sent (optional)
To activation with status 1:
8 - Cancel activation
Immediately after receiving the code:
3 - Request another SMS
6 - Confirm SMS code and complete activation
To activation with status 3:
6 - Confirm SMS code and complete activation
ANSWER
POSSIBLE MISTAKES
PARAMETERS
ANSWER
* software should click send SMS again and change status to 6
POSSIBLE MISTAKES
PARAMETERS
ANSWER
JSON - object in the format:
{"A country":{"Service":{"cost":Cost,"count":Quant}}}
Id | Name | Operators |
---|---|---|
10 | Vietnam | any, mobifone, vietnamobile, viettel, vinaphone |
Short name | Name |
---|