Change theme
Từ ngày 18 tháng 3, các ví Bitcoin thường xuyên được liên kết sẽ được cập nhật. Do đó, chúng tôi khuyến nghị kiểm tra ví Bitcoin được liên kết của bạn trên trang web của chúng tôi trước mỗi lần thanh toán.

Last modified at 2022/07/01

Running queries to API

To call up API SimSms method you need to execute HTTP GET request to indicated URL:

https://smspva.com/priemnik.php?
	metod={METHOD}
	&service={SERVICE}
	&id={ID}
	&apikey={API_KEY}
	&operator={OPERATOR}

{METHOD} - Method name from API methods description

{SERVICE} - Service name from the service list

{ID} - Request ID

{API_KEY} - Your API Key in the system

{OPERATOR} - (Additional parameter can be omitted) Beeline_RU, MTS_RU, Megafon_RU, Beeline_KZ, Tele2_KZ, Activ_KZ, Altel_KZ, Lifecell_UA, Kyivstar_UA, Vodafone_UA

Provider selection can take on the following values: Beeline_RU, MTS_RU, Megafon_RU. If not specified, a number of random provider will be given.

Example

https://smspva.com/priemnik.php?
	metod=get_balance
	&service=opt4
	&apikey=DSWAFvdedrE4
	&operator=MTS_RU


In response to such request you'll get a JSON answer.


Important

Up to 100 connections are allowed per 1 second.

Country list

For select the country you need - indicate according country code at the "country" parameter.


Flag
Country
Code
1
US
  United States
US
2
CA
  Canada
CA
3
UK
  Unt. Kingdom
UK
4
FR
  France
FR
5
DE
  Germany
DE
6
IT
  Italy
IT
7
ES
  Spain
ES
8
AL
  Albania
AL
9
AR
  Argentina
AR
10
AM
  Armenia
AM
11
AU
  Australia
AU
12
AT
  Austria
AT
13
BD
  Bangladesh
BD
14
BE
  Belgium
BE
15
BA
  Bos. and Herz.
BA
16
BR
  Brazil
BR
17
BG
  Bulgaria
BG
18
KH
  Cambodia
KH
19
CM
  Cameroon
CM
20
CL
  Chile
CL
21
CO
  Colombia
CO
22
HR
  Croatia
HR
23
CY
  Cyprus
CY
24
CZ
  Czech Republic
CZ
25
DK
  Denmark
DK
26
DO
  Dominicana
DO
27
EG
  Egypt
EG
28
EE
  Estonia
EE
29
FI
  Finland
FI
30
GE
  Georgia
GE
31
GH
  Ghana (Virtual)
GH
32
GI
  Gibraltar
GI
33
GR
  Greece
GR
34
HK
  Hong Kong
HK
35
HU
  Hungary
HU
36
IN
  India
IN
37
JP
  Japan
JP
38
KG
  Kyrgyzstan (Virtual)
KG
39
MT
  Malta
MT
40
NO
  Norway
NO
41
PK
  Pakistan (Virtual)
PK
42
SA
  Saudi Arabia
SA
43
SG
  Singapore
SG
44
CH
  Switzerland
CH
45
TZ
  Tanzania
TZ
46
TT
  Trinidad and Tobago
TT
47
UZ
  Uzbekistan (Virtual)
UZ
48
ID
  Indonesia
ID
49
IE
  Ireland
IE
50
IL
  Israel
IL
51
KZ
  Kazakhstan
KZ
52
KE
  Kenya
KE
53
LA
  Laos
LA
54
LV
  Latvia
LV
55
LT
  Lithuania
LT
56
MK
  Macedonia
MK
57
MY
  Malaysia
MY
58
MX
  Mexico
MX
59
MD
  Moldova
MD
60
MA
  Morocco
MA
61
NL
  Netherlands
NL
62
NZ
  New Zealand
NZ
63
NG
  Nigeria
NG
64
PY
  Paraguay
PY
65
PH
  Philippines
PH
66
PL
  Poland
PL
67
PT
  Portugal
PT
68
RO
  Romania
RO
69
RU
  Russian Federation
RU
70
RS
  Serbia
RS
71
SK
  Slovakia
SK
72
SI
  Slovenia
SI
73
ZA
  South Africa
ZA
74
SE
  Sweden
SE
75
TH
  Thailand
TH
76
TR
  Turkey
TR
77
UA
  Ukraine
UA
78
VN
  Vietnam
VN

Service list


Logo
Service
Code
1
opt132
  1 OpenAI API (chatGPT, DALL-e 2)
opt132
2
opt251
  1cupis.ru
opt251
3
opt224
  22bet
opt224
4
opt22
  888casino
opt22
5
opt242
  Abbott
opt242
6
opt86
  Adidas & Nike
opt86
7
opt46
  Airbnb
opt46
8
opt61
  Alibaba (Taobao, 1688.com)
opt61
9
opt44
  Amazon
opt44
10
opt10
  AOL
opt10
11
opt131
  Apple
opt131
12
opt256
  Astropay
opt256
13
opt143
  autocosmos.com
opt143
14
opt59
  Avito
opt59
15
opt56
  Badoo
opt56
16
opt209
  BANDUS
opt209
17
opt138
  Bazos.sk
opt138
18
opt262
  BC GAME
opt262
19
opt187
  Beget.com
opt187
20
opt252
  Best Buy
opt252
21
opt17
  bet365
opt17
22
opt192
  Betano (+BETANO.ro)
opt192
23
opt25
  BetFair
opt25
24
opt223
  Betmgm
opt223
25
opt237
  Bitpanda
opt237
26
opt78
  Blizzard
opt78
27
opt135
  blsspain-russia.com
opt135
28
opt81
  Bolt
opt81
29
opt217
  Brevo
opt217
30
opt145
  bumble
opt145
31
opt199
  bunq
opt199
32
opt137
  bwin
opt137
33
opt266
  Capital One Shopping
opt266
34
opt89
  Careem
opt89
35
opt255
  Casa Pariurilor
opt255
36
opt148
  casa.it
opt148
37
opt226
  Cash App
opt226
38
opt214
  Cashrewards
opt214
39
opt201
  Casino Plus
opt201
40
opt176
  ChoTot
opt176
41
opt76
  CityMobil
opt76
42
opt196
  Claude (Anthropic)
opt196
43
opt98
  Clubhouse
opt98
44
opt112
  CoinBase
opt112
45
opt51
  CONTACT
opt51
46
opt26
  Craigslist
opt26
47
opt124
  Credit Karma
opt124
48
opt157
  CupidMedia
opt157
49
opt150
  Czech email services
opt150
50
opt53
  Deliveroo
opt53
51
opt204
  DenimApp
opt204
52
opt92
  DiDi
opt92
53
opt45
  Discord
opt45
54
opt232
  DistroKid
opt232
55
opt27
  Dodopizza + PapaJohns
opt27
56
opt40
  Doordash
opt40
57
opt32
  Drom.RU
opt32
58
opt31
  Drug Vokrug
opt31
59
opt136
  dundle
opt136
60
opt21
  EasyPay
opt21
61
opt200
  ENEBA
opt200
62
opt248
  ESX (abonamentesali.ro)
opt248
63
opt141
  EUROBET
opt141
64
opt2
  Facebook
opt2
65
opt43
  FastMail
opt43
66
opt215
  Fbet
opt215
67
opt159
  Feeld
opt159
68
opt6
  Fiverr
opt6
69
opt139
  fontbet
opt139
70
opt189
  foodora
opt189
71
opt115
  foodpanda
opt115
72
opt221
  Fortuna
opt221
73
opt13
  Fotostrana
opt13
74
opt142
  funpay
opt142
75
opt68
  G2A.COM
opt68
76
opt77
  Gameflip
opt77
77
opt28
  Gamers set (offgamers.com, G2A.com, seagm.com)
opt28
78
opt179
  GetsBet.ro
opt179
79
opt35
  GetTaxi
opt35
80
opt188
  GGbet
opt188
81
opt229
  GGPokerUK
opt229
82
opt85
  giocodigitale.it
opt85
83
opt108
  Glovo & Raketa
opt108
84
opt240
  goldbet.it
opt240
85
opt1
  Google (YouTube, Gmail)
opt1
86
opt259
  Google Messenger
opt259
87
opt140
  Google Voice
opt140
88
opt30
  GrabTaxi
opt30
89
opt420
  Grailed
opt420
90
opt110
  Grindr
opt110
91
opt155
  Happn
opt155
92
opt203
  HelloTalk
opt203
93
opt238
  hepsiburada
opt238
94
opt216
  Hey
opt216
95
opt120
  Hinge
opt120
96
opt144
  hopper
opt144
97
opt166
  HUAWEI
opt166
98
opt103
  ICard
opt103
99
opt165
  idealista.com
opt165
100
opt55
  ifood
opt55
101
opt111
  IMO
opt111
102
opt167
  inbox.lv
opt167
103
opt118
  Inboxdollars
opt118
104
opt16
  Instagram (+Threads)
opt16
105
opt193
  Ipsos
opt193
106
opt243
  IQOS
opt243
107
opt94
  JD.com
opt94
108
opt71
  KakaoTalk
opt71
109
opt175
  Klarna
opt175
110
opt152
  kleinanzeigen.de
opt152
111
opt99
  KoronaPay
opt99
112
opt97
  Kuper (SberMarket)
opt97
113
opt129
  kwiff.com
opt129
114
opt195
  Lajumate.ro
opt195
115
opt180
  Lalamove
opt180
116
opt182
  LAPOSTE
opt182
117
opt222
  LASVEGAS.RO
opt222
118
opt60
  Lazada
opt60
119
opt164
  Leboncoin
opt164
120
opt37
  Line Messenger
opt37
121
opt8
  LinkedIn
opt8
122
opt245
  Linode
opt245
123
opt42
  LiveScore
opt42
124
opt105
  LocalBitcoins
opt105
125
opt114
  Locanto.com
opt114
126
opt75
  Lyft
opt75
127
opt126
  Magnit
opt126
128
opt33
  Mail.RU
opt33
129
opt4
  Mail.ru Group
opt4
130
opt100
  Mamba
opt100
131
opt171
  Marktplaats
opt171
132
opt250
  Match
opt250
133
opt219
  maxline.by
opt219
134
opt96
  MiChat
opt96
135
opt15
  Microsoft (Azure, Bing, Skype, etc)
opt15
136
opt156
  mobileDE
opt156
137
opt184
  MOMO
opt184
138
opt121
  Monese
opt121
139
opt47
  MoneyLion
opt47
140
opt254
  Monster Energy
opt254
141
opt197
  MPSellers
opt197
142
opt211
  MrGreen
opt211
143
opt7
  MS Office 365
opt7
144
opt0
  myopinions & erewards
opt0
145
opt73
  Naver
opt73
146
opt198
  Nectar
opt198
147
opt95
  NetBet
opt95
148
opt116
  Neteller
opt116
149
opt101
  Netflix
opt101
150
opt202
  NHNCloud
opt202
151
opt177
  NHNcorp (강남언니)
opt177
152
opt119
  Nico
opt119
153
opt151
  novibet.com
opt151
154
opt5
  OD
opt5
155
opt113
  OfferUp
opt113
156
opt230
  OkCupid
opt230
157
opt228
  OKX
opt228
158
opt70
  OLX + goods.ru
opt70
159
opt241
  onet.pl (Onet Konto)
opt241
160
opt19
  OTHER (no guarantee)
opt19
161
opt00019
  OTHER (voice code)
opt00019
162
opt212
  OurTime
opt212
163
opt246
  Outlier
opt246
164
opt181
  OZON.ru
opt181
165
opt109
  Paddy Power
opt109
166
opt169
  Pari.ru
opt169
167
opt3
  Parimatch
opt3
168
opt260
  Parions Sport
opt260
169
opt162
  Payoneer
opt162
170
opt83
  PayPal + Ebay
opt83
171
opt122
  Paysafecard
opt122
172
opt183
  PAYSEND
opt183
173
opt149
  pm.by
opt149
174
opt84
  POF.com
opt84
175
opt263
  Profee.com
opt263
176
opt107
  Prom.UA
opt107
177
opt57
  Proton Mail
opt57
178
opt207
  Publi24
opt207
179
opt247
  RadQuest
opt247
180
opt154
  Rambler.ru
opt154
181
opt265
  Reddit
opt265
182
opt257
  Remitly
opt257
183
opt133
  Revolut
opt133
184
opt153
  ROOMSTER
opt153
185
opt170
  Royal Canin
opt170
186
opt186
  RusDate
opt186
187
opt185
  Samokat
opt185
188
opt174
  Samsung
opt174
189
opt134
  Schibsted-konto
opt134
190
opt48
  Shopee
opt48
191
opt127
  Signal
opt127
192
opt38
  Sisal
opt38
193
opt49
  Skout
opt49
194
opt117
  Skrill
opt117
195
opt90
  Snapchat
opt90
196
opt190
  SNKRDUNK
opt190
197
opt234
  Solitaire Cash
opt234
198
opt58
  Steam
opt58
199
opt146
  subito.it
opt146
200
opt258
  SumUp
opt258
201
opt249
  Superbet
opt249
202
opt125
  Swagbucks
opt125
203
opt82
  Tango
opt82
204
opt161
  TANK.RU
opt161
205
opt239
  Taptap
opt239
206
opt74
  Taxi Maksim
opt74
207
opt29
  Telegram
opt29
208
opt00029
  Telegram (voice code)
opt00029
209
opt34
  Tencent QQ
opt34
210
opt52
  Ticketmaster
opt52
211
opt104
  TikTok
opt104
212
opt9
  Tinder
opt9
213
opt235
  TLScontact
opt235
214
opt264
  Toloka.ai
opt264
215
opt191
  TopCashback
opt191
216
opt220
  TOTOGAMING
opt220
217
opt218
  TransferGo
opt218
218
opt233
  TrueCaller
opt233
219
opt244
  Truth Social
opt244
220
opt66
  Twilio
opt66
221
opt205
  Twitch
opt205
222
opt160
  U By Prodia
opt160
223
opt72
  Uber
opt72
224
opt39
  Verse
opt39
225
opt11
  Viber
opt11
226
opt130
  Vinted
opt130
227
opt69
  VK (no guarantee)
opt69
228
opt178
  VonageVF
opt178
229
opt147
  VooV Meeting
opt147
230
opt213
  Waitomo
opt213
231
opt206
  WalletHub
opt206
232
opt227
  Walmart
opt227
233
opt172
  WEB.DE
opt172
234
opt24
  WebMoney&ENUM
opt24
235
opt67
  WeChat
opt67
236
opt54
  Weebly
opt54
237
opt261
  Welo Data
opt261
238
opt80
  WESTSTEIN
opt80
239
opt231
  Whatnot
opt231
240
opt20
  WhatsAPP
opt20
241
opt00020
  WhatsAPP (voice code)
opt00020
242
opt123
  Whoosh
opt123
243
opt106
  Wing Money
opt106
244
opt91
  Wise
opt91
245
opt163
  Wolt
opt163
246
opt208
  WooPlus
opt208
247
opt41
  X (Twitter)
opt41
248
opt173
  X World Wallet
opt173
249
opt65
  Yahoo
opt65
250
opt88
  Yalla.live
opt88
251
opt23
  Yandex&YooMoney
opt23
252
opt236
  Year13
opt236
253
opt158
  Zalo
opt158
254
opt225
  Zasilkovna
opt225
255
opt93
  Zoho
opt93
256
opt194
  ZoomInfo
opt194
257
opt253
  Zoosk
opt253

Return errors codes

{"response":"5","number":null,"id":0,"text":null,"extra":null,"sms":null} - You have exceeded the number of requests per minute


{"response":"6","number":null,"id":0,"text":null,"extra":null,"sms":null} - You will be banned for 10 minutes, because scored negative karma


{"response":"7","number":null,"id":0,"text":null,"extra":null,"sms":null} - You have exceeded the number of concurrent streams. SMS Wait from previous orders


API KEY не получен! - Invalid API KEY has been entered


Недостаточно средств! - Insufficient funds


Превышено количество попыток! - Set a longer interval between calls to API server


Произошла неизвестная ошибка. - Try to repeat your request later.


Неверный запрос. - Check the request syntax and the list of parameters used (can be found on the page with method description).


Произошла внутренняя ошибка сервера. - Try to repeat your request later.


Important recommendations

If you haven't received SMS within 580 seconds (9 minutes 40 seconds), make sure to ban the number you've got.

If you ban the number when 10 minutes expired, the number you got won't be banned and might be given once again since the system keeps request ID in the base for 10 minute, after that ID is deleted from the base.

Up to 40 connections are allowed per minute.

Do interval of 4 - 5 seconds between any queries! Otherwise, you will not be able to fully use the API, because Your requests will be rejected by the server!.

API methods description

Method get_balance

User's balance request

Example

https://smspva.com/priemnik.php?
	metod=get_balance
	&service=opt4
	&apikey=DSWAFvdedrE4


Result

Provides a JSON answer after successful execution:

{"response":"1","balance":"385.00"}


Errors codes

Error may occur while executing:

{"response":"error","error_msg":"Not id or not user balance"}

Method get_userinfo

User's balance request and karma

Example

https://smspva.com/priemnik.php?
	metod=get_userinfo
	&service=opt4
	&apikey=DSWAFvdedrE4


Result

Provides a JSON answer after successful execution:

{"response":"1","balance":"385.00","karma":"10"}


Errors codes

Error may occur while executing:

{"response":"error","error_msg":"Not id or not user balance"}

Method get_count_new

Request for the amount of free activations for a certain service


If you need to know count of available numbers for another country then you can set "country" parametr to spec value. For example, country=KZ for Kazakhstan numbers.


Example

https://smspva.com/priemnik.php?
	metod=get_count_new
	&service=opt4
	&apikey=DSWAFvdedrE4
	&country=RU


Result

JSON:


      {
        service: "opt5",    service opt
        online: 128,        available now
        total: 228,         available total
        forTotal: 10,       available now for call forwarding
        forOnline: 20,      available total for call forwarding
        country: "RU"       sim's country
      }
      


Method get_service_price

Request current price sms for country and service

Example

https://smspva.com/priemnik.php?
	metod=get_service_price
	&country=RU
	&service=opt4
	&apikey=DSWAFvdedrE4


Result

Provides a JSON answer after successful execution:

{"response":"1","country":"RU","service":"opt4","price":"0.50"}


Errors codes

Error may occur while executing:

1) Common errors may occur. Their description is in the list - Return errors codes

Method get_number

Request for receiving a phone number for a certain service

Example

https://smspva.com/priemnik.php?
	metod=get_number
	&country=RU
	&service=opt4
	&apikey=DSWAFvdedrE4


Result

Provides a JSON answer after successful execution:

{"response":"1","number":"9871234567","id":"25623"}


Errors codes

Error may occur while executing:

1) JSON response - {"response":"2","number":"","id":"-1"} - numbers are already taken, try to get a number again in 60 seconds.
2) Common errors may occur. Their description is in the list - Return errors codes

Method ban

Report to the server the number is already used


In this method id parameter is indicated from the response to request for phone number get_number


Example

https://smspva.com/priemnik.php?
	metod=ban
	&service=opt4
	&apikey=DSWAFvdedrE4
	&id=25623


Result

Provides a JSON answer after successful execution:

{"responce":"1","number":"","id":"25623"}


Errors codes

Error may occur while executing:

1) JSON response -

{"response":"2","number":"","id":""}

2) Common errors may occur. Their description is in the list - Return errors codes

Method get_sms

Receiving a SMS for a certain service


In this method id parameter is indicated from the response to request for phone number get_number


Example

https://smspva.com/priemnik.php?
	metod=get_sms
	&country=ru
	&service=opt4
	&id=25623
	&apikey=DSWAFvdedrE4


Result

Provides a JSON answer after successful execution, if code from SMS hasn't been found yet:

{"response":"2","number":"9871234567","sms":null}

Provides a JSON answer after successful execution, if code from SMS hasn't been found yet:

{"response":"1","number":"9871234567","sms":"234562"}

Provides a JSON answer after successful execution, if you suddenly missed the first answer with response = 1:

{"response":"4"}


Note

If you get the response that a code from SMS hasn't been found yet, send request get_sms once again 20 seconds later. Note, the server searches for SMS for 10 minutes. You need to send your request within 10 minutes each 20 seconds per one request. That said, you receive a code from SMS or error message.

Code Refinement

If you want to get re-SMS without closing the order (Code Refinement), then just on the method get_sms add additional parameter sms=sms Example string:


        https://smspva.com/priemnik.php?
        metod=get_sms
        &country=ru
        &service=opt4
        &id=25623
        &apikey=DSWAFvdedrE4
        &sms=sms
        
In this case, your order can not be closed and you may receive a re-SMS. Re-chargeable SMS. The cost is the cost of an ordinary SMS for this service.


Errors codes

Error may occur while executing:

1) JSON response - {"response":"3","number":"null","sms":null} - no such SMS or invalid request ID or SMS waiting time has expired (no more than 10 minutes)
2) Common errors may occur. Their description is in the list - Return errors codes

Method denial

Cancel the order to number you got


In this method id parameter is indicated from the response to request for phone number get_number


Example

https://smspva.com/priemnik.php?
	metod=denial
	&country=ru
	&service=opt4
	&id=25623
	&apikey=DSWAFvdedrE4


Result

Provides a JSON answer after successful execution:

{"responce":"1","number":"","id":25623}


Errors codes

Error may occur while executing:

1) JSON response -

{"response":"2","number":"","id":""}


2) Common errors may occur. Their description is in the list - Return errors codes

Method get_clearsms

Checking phone number for receiving few sms


ID is order identificator.


Example


https://smspva.com/priemnik.php?
  metod=get_clearsms
  &service=opt4
  &id=25623
  &apikey=DSWAFvdedrE4.


Result

After successfully execution will be received JSON:

{"responce":"1","clearsms":"ok"}


Note

After checking phone number using get_clearsms, need to make get_sms request


Erros

Error may occur while executing:

1) {"response":"2","clearsms":"non_ok"}

2) Common errors may occur. Their description is in the list - Return errors codes

Method get_proverka

Checking the numbers for multiple SMS


In this method, number parameter specifies the number that you want to check.


Example

https://smspva.com/priemnik.php?
	metod=get_proverka
	&service=opt4
	&number=9685156912
	&apikey=DSWAFvdedrE4.


Result

Provides a JSON answer after successful execution:

{"responce":"ok","number":"9685156912","id":25623}


Note

Following the successful check of a number, send a request for getting the number - get_number ALSO with number parameter. To check SMS send a request for SMS get_sms according to conditions


Errors codes

Error may occur while executing:

1) {"response":"error","error_msg":"Number shall consist of 10 digits!"} - You didn't order a number for this service

2) {"response":"error","error_msg":"Such a number you did not order for the service"} - You didn't order a number for this service

3) {"response":"modem_busy","error_msg":"The modem is busy, try to order in 5 minutes"} - GSM module is busy, try to repeat your request 5 minutes later.

4) {"response":"modem_busy","not_number":"This number is no longer in the system"} - There's no such number in the system any longer.

5) Common errors may occur. Their description is in the list - Return errors codes

Method balance_sim

Receiving SIM card balance


This method works only for avito+forwarding service.


Example

https://smspva.com/priemnik.php?
	metod=balance_sim
	&service=opt59
	&id=25623
	&apikey=DSWAFvdedrE4.


Result

Provides a JSON answer after successful execution:

{"responce":1,"amount":0}


Errors codes

Error may occur while executing:

1) {"response":2,"amount":"error_amount"} - SIM card balance info hasn't been received

2) Common errors may occur. Their description is in the list - Return errors codes

Method get_2fa

Obtaining 2FA authorization code from Google, Microsoft, etc. by secret key


Example

https://smspva.com/priemnik.php?
	metod=get_2fa
	&secret=1234567890
	&apikey=DSWAFvdedrE4.


Result

Provides a JSON answer after successful execution:

{"response":1,"code2fa":"723152","secret":"1234567890","tonew":24}


How to use the API!

Let's say you write the registrar accounts in Vkontakte.


The registrar you work through a proxy.


First we install and generate the proxy name or take from the list.


Go to the site Vkontakte, which introduce a name, specify gender if requested. Click on the register button.


Next Vkontakte invites us to enter a phone number. Now we turn to our API, and learn balance on request - https://smspva.com/priemnik.php?metod=get_balance&service=opt4&apikey=DSWAFvdedrE4


In response to the request for the balance of the following answer comes to us - {"response":"1","balance":"385.00"}, If you write via PHP, unpack it via the function json_decode. If you use the built-in tester Zennoposter use regular expressions and unpack via regular season. In general, we need to get the number of the response comes after balance. As a result, we've got the number 385.


Now compare if the resulting number is less than 10, close the project.


If more than 10, then send a request for a phone number - https://smspva.com/priemnik.php?metod=get_number&country=ru&service=opt4&id=1&apikey=DSWAFvdedrE4


If you have received such a response - {"response":"1","number":"9257222005","id":4453221,"text":null,"extra":"Megafon_RU",
"pass":null,"sms":null,"balanceOnPhone":0}


Unpack the answer, write the id from the query in a variable and enter the resulting number in the registration in the VC and push the button to get the code.


When the answer came {"response":"2","number":"","id":"-1"}, means phone numbers are busy, we will send a second request for a phone number (get_number) after 30 seconds.


If the Vkontakte wrote that the phone number can not be used, then we send the number to the ban on request -https://smspva.com/priemnik.php?metod=ban&service=opt4&apikey=DSWAFvdedrE4&id=4453221


If you missed Vkontakte number phone, then we expect the code and test it to obtain through a request -https://smspva.com/priemnik.php?metod=get_sms&country=ru&service=opt4&id=4453221&apikey=DSWAFvdedrE4 where in the parameter ID indicating the ID obtained from the request for accommodation (get_number)


If, in response to a request received a response: {"response":"2","number":"9871234567","sms":null}, We pause of 30 seconds and send a request for a new SMS.


If the answer had come so - {"response":"3","number":"null","sms":null} SMS means no or an incorrect query Haydee or SMS waiting period has expired (not more than 10 minutes)


If the answer had come so - {"response":"1","number":"9871234567","sms":''234562'}. SMS found, the code of the SMS is contained after the word SMS.


Enter the confirmation code Vkontakte and click continue.


If you for some reason want to stop receiving numbers (such as accidentally ordered), submit a request to cancel number phone - https://smspva.com/priemnik.php?metod=denial&country=ru&service=opt4&id=4453221&apikey=DSWAFvdedrE4


Everything here is the whole process of getting the code using our API.


 

FLOW DIAGRAM

Download flow diagram as PDF [attachment=5]