{"info":{"_postman_id":"023d6a47-72e4-4bb1-97fd-ddbd3a751975","name":"OTP-virt","description":"<html><head></head><body><p>StartFragment</p>\n<h2 id=\"requirements\"><strong>Requirements</strong></h2>\n<p><em>Request/response format</em> - <strong>JSON</strong><br><em>Encoding</em> - <strong>UTF-8</strong><br>All requests and responses are using gzip compression method</p>\n<h2 id=\"headers\">Headers</h2>\n<p>Accept: application/json<br>Content-type: application/json</p>\n<h2 id=\"data-types\"><strong>Data types</strong></h2>\n<p><em>string</em> - characters set Unicode<br><em>ulong</em> - 64-bit unsigned integer<br><em>Guid</em> - unique indentificator, e.g. \"2e752824-1657-4c7f-844b-6ec2e168e99c\"<br><em>int</em> - 32-bit signed integer<br>Dictionary TKey,TValue - collection of keys and values, including:</p>\n<p>* TKey - keys type in dictionary<br>* TValue - values type in dictionary</p>\n<p>EndFragment</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"22329925","collectionId":"023d6a47-72e4-4bb1-97fd-ddbd3a751975","publishedId":"2s93RNxueX","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2023-03-25T05:23:57.000Z"},"item":[{"name":"1. Available numbers quantity request","id":"95deeee1-651c-4402-a1a9-af6e3c29cfd2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"clientId\": \"bd7bf3dd-ea7a-4079-a836-4bb26592fdad\",\r\n  \"apiPassword\": \"test\",\r\n  \"service\": \"fb\",\r\n  \"country\": \"tajikistan\",\r\n  \"provider\": \"indigo\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.otp-service.pro/native/GetNumbersCount","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>If required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clientId</td>\n<td>Guid</td>\n<td>Required</td>\n<td>Client ID</td>\n</tr>\n<tr>\n<td>apiPassword</td>\n<td>string</td>\n<td>Required</td>\n<td>API's access password Minimal length — 8 symbols, maximum - 128</td>\n</tr>\n<tr>\n<td>service</td>\n<td>string</td>\n<td>Required</td>\n<td>Service name  <br />Minimal length — 2 symbols, maximum - 36</td>\n</tr>\n<tr>\n<td>country</td>\n<td>string</td>\n<td>Required</td>\n<td>Country code</td>\n</tr>\n<tr>\n<td>provider</td>\n<td>string</td>\n<td>Required</td>\n<td>Operator code</td>\n</tr>\n</tbody>\n</table>\n</div><p>Response fields composition:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>If required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>count</td>\n<td>int</td>\n<td>Required</td>\n<td>Available numbers quantity</td>\n</tr>\n<tr>\n<td>status</td>\n<td>int</td>\n<td>Required</td>\n<td>Request status (check cl.9)</td>\n</tr>\n<tr>\n<td>error</td>\n<td>int</td>\n<td>Required</td>\n<td>Error (check cl.10)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["native","GetNumbersCount"],"host":["api","otp-service","pro"],"query":[],"variable":[]}},"response":[{"id":"c0ec90d7-f38b-4984-8cb7-53bd407b6a64","name":"1. Available numbers quantity request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"clientId\": \"bd7bf3dd-ea7a-4079-a836-4bb26592fdad\",\r\n    \"apiPassword\": \"test\",\r\n    \"service\": \"fb\",\r\n    \"country\": \"tajikistan\",\r\n    \"provider\": \"indigo\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.otp-service.pro/native/GetNumbersCount"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 25 Mar 2023 04:53:41 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=cFvA7JhVUhXjRqGauqKFVOxeW1HgtRFkFCThHevfuu1%2BWZQm%2B4Pp426iLXRWTMKToBF%2BCcGDsul5cOUdWXs2dtGlFQLKJxaoOnoa8B09XiVLfQNZZqfpPpB6Ho7qasq3X3HUV%2FBq\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7ad48d0cdb0c2d12-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 36261,\n    \"status\": 2,\n    \"error\": 0\n}"}],"_postman_id":"95deeee1-651c-4402-a1a9-af6e3c29cfd2"},{"name":"2. Getting a number","id":"0ea4939c-da60-46c1-a038-ccefac3b2b4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"clientId\": \"bd7bf3dd-ea7a-4079-a836-4bb26592fdad\",\r\n    \"apiPassword\": \"test\",\r\n    \"service\": \"vi\",\r\n    \"detail\": {\r\n        \"country\": \"tajikistan\",\r\n        \"provider\": \"indigo\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.otp-service.pro/native/GetNumber","description":"<p><strong>Request fields composition:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>If required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clientId</td>\n<td>Guid</td>\n<td>Required</td>\n<td>Client ID</td>\n</tr>\n<tr>\n<td>apiPassword</td>\n<td>string</td>\n<td>Required</td>\n<td>API's access password  <br />Minimal length — 8 symbols, maximum - 128</td>\n</tr>\n<tr>\n<td>service</td>\n<td>string</td>\n<td>Required</td>\n<td>Service name  <br />Minimal length — 2 symbols, maximum - 36</td>\n</tr>\n<tr>\n<td>detail</td>\n<td>Dictionary</td>\n<td>Required</td>\n<td>Number parameters; possible keys  <br />Country - country  <br />Provider – operator</td>\n</tr>\n<tr>\n<td>Country</td>\n<td>country</td>\n<td>not Required</td>\n<td></td>\n</tr>\n<tr>\n<td>Provider</td>\n<td>operator</td>\n<td>not Required</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Response fields composition:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>If required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>activationId</td>\n<td>Guid</td>\n<td>Required</td>\n<td>Unique ID request; necessary for number's rental completion or cancellation</td>\n</tr>\n<tr>\n<td>ammount</td>\n<td>float</td>\n<td>Required</td>\n<td>Price in currency of client</td>\n</tr>\n<tr>\n<td>number</td>\n<td>ulong</td>\n<td>Required</td>\n<td>Phone number including country code</td>\n</tr>\n<tr>\n<td>status</td>\n<td>int</td>\n<td>Required</td>\n<td>Request status (check cl.9)</td>\n</tr>\n<tr>\n<td>error</td>\n<td>int</td>\n<td>Required</td>\n<td>Error (check cl.10)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["native","GetNumber"],"host":["api","otp-service","pro"],"query":[],"variable":[]}},"response":[{"id":"97294780-94d7-4cbc-9896-2637742fac35","name":"2. Getting a number","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"clientId\": \"bd7bf3dd-ea7a-4079-a836-4bb26592fdad\",\r\n    \"apiPassword\": \"test\",\r\n    \"service\": \"vi\",\r\n    \"detail\": {\r\n        \"country\": \"tajikistan\",\r\n        \"provider\": \"indigo\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.otp-service.pro/native/GetNumber"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 25 Mar 2023 05:03:40 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=6p7AoV2wRhTH55wn7N71YbpcKnAf0aKdSOydVDHy8IC5ZFVwwOOyveepikLnq9OWflvgk%2FHALQ7zqpLn7r1x1vwpY7ZX2ZF7DhFdNUGW2BGo6kUa%2F90NbYcrX4iZCaN9hcfN3IsE\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7ad49bac4dd17f86-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"activationId\": \"df500217-3a9b-4260-8d87-cb72fe7c8a43\",\n    \"ammount\": 0.05,\n    \"number\": 992112302159,\n    \"status\": 2,\n    \"error\": 0\n}"}],"_postman_id":"0ea4939c-da60-46c1-a038-ccefac3b2b4b"},{"name":"3. End of lease","id":"933d13f4-f897-49f9-848f-600614ce7fc4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"clientId\": \"bd7bf3dd-ea7a-4079-a836-4bb26592fdad\",\r\n    \"apiPassword\": \"test\",\r\n    \"activationId\": \"df500217-3a9b-4260-8d87-cb72fe7c8a43\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.otp-service.pro/native/ConfirmActivation","description":"<p><strong>Request fields composition:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>If required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clientId</td>\n<td>Guid</td>\n<td>Required</td>\n<td>Client ID</td>\n</tr>\n<tr>\n<td>apiPassword</td>\n<td>string</td>\n<td>Required</td>\n<td>API's access password  <br />Minimal length — 8 symbols, maximum - 128</td>\n</tr>\n<tr>\n<td>activationId</td>\n<td>Guid</td>\n<td>Required</td>\n<td>Unique request ID; received by GetNumber</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Response fields composition:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>If required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>int</td>\n<td>Required</td>\n<td>Request status (check cl. 9)</td>\n</tr>\n<tr>\n<td>error</td>\n<td>int</td>\n<td>Required</td>\n<td>Error (check cl. 10)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["native","ConfirmActivation"],"host":["api","otp-service","pro"],"query":[],"variable":[]}},"response":[{"id":"4ae06643-dcde-4bcf-a2bd-db8513a76c94","name":"3. End of lease","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"clientId\": \"bd7bf3dd-ea7a-4079-a836-4bb26592fdad\",\r\n    \"apiPassword\": \"test\",\r\n    \"activationId\": \"df500217-3a9b-4260-8d87-cb72fe7c8a43\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.otp-service.pro/native/ConfirmActivation"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 25 Mar 2023 05:07:58 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=I7IsINBWKeXd3DuvME294NOLEgR75me2JJFjIjKxXV3RmuuyinHFFLWnZl6v42yQ%2Bqg26NJ1lkbljQTCSTmZI%2F9bDTIBXWFDEhhYLlrZ9VEy07tu7QANxpBLqP0XXLXRrHjBnbRT\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7ad4a2205fbb8298-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 2,\n    \"error\": 0\n}"}],"_postman_id":"933d13f4-f897-49f9-848f-600614ce7fc4"},{"name":"4. Cancellation of the lease","id":"4d13915c-e7f8-4063-9fb6-811dd27500a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"clientId\": \"bd7bf3dd-ea7a-4079-a836-4bb26592fdad\",\r\n    \"apiPassword\": \"test\",\r\n    \"activationId\": \"20b9aeca-14ca-493d-b7a2-8ff49765d6e1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.otp-service.pro/native/CancelActivation","description":"<p><strong>Request fields composition:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>If required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clientId</td>\n<td>Guid</td>\n<td>Required</td>\n<td>Client ID</td>\n</tr>\n<tr>\n<td>apiPassword</td>\n<td>string</td>\n<td>Required</td>\n<td>API's access password  <br />Minimal length — 8 symbols, maximum - 128</td>\n</tr>\n<tr>\n<td>activationId</td>\n<td>Guid</td>\n<td>Required</td>\n<td>Unique request ID; received by GetNumber</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Response fields composition:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>If required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>int</td>\n<td>Required</td>\n<td>Request status (check cl. 9)</td>\n</tr>\n<tr>\n<td>error</td>\n<td>int</td>\n<td>Required</td>\n<td>Error (check cl. 10)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["native","CancelActivation"],"host":["api","otp-service","pro"],"query":[],"variable":[]}},"response":[{"id":"aeebff22-50b7-4a28-8a71-46a3f5d5d8cb","name":"4. Cancellation of the lease","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"clientId\": \"bd7bf3dd-ea7a-4079-a836-4bb26592fdad\",\r\n    \"apiPassword\": \"test\",\r\n    \"activationId\": \"20b9aeca-14ca-493d-b7a2-8ff49765d6e1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.otp-service.pro/native/CancelActivation"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 25 Mar 2023 05:09:36 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=UOPu3wXatXTsODqxSo%2FBwJQ28lahCL%2F2GKzKu5XiBO5L4oSlwMVJhPwzuik%2BXrXxXSq6me4wMUqoyBKe2gCYWyEU9FxIhhuLkW28yiSLdfAMHWS4bi9VS0HDwNiYAZlbjbhptI3t\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7ad4a4880e6582ea-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 2,\n    \"error\": 0\n}"}],"_postman_id":"4d13915c-e7f8-4063-9fb6-811dd27500a0"},{"name":"5. Receiving SMS on request","id":"6afa49fe-143e-428a-ab8b-98330685f9ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"clientId\": \"bd7bf3dd-ea7a-4079-a836-4bb26592fdad\",\r\n    \"apiPassword\": \"test\",\r\n    \"activationId\": \"df500217-3a9b-4260-8d87-cb72fe7c8a43\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.otp-service.pro/native/GetSms","description":"<p><strong>Request fields composition:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>If required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clientId</td>\n<td>Guid</td>\n<td>Required</td>\n<td>Client ID</td>\n</tr>\n<tr>\n<td>apiPassword</td>\n<td>string</td>\n<td>Required</td>\n<td>API's access password  <br />Minimal length — 8 symbols, maximum - 128</td>\n</tr>\n<tr>\n<td>activationId</td>\n<td>Guid</td>\n<td>Required</td>\n<td>Unique request ID; received by GetNumber</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Response fields composition:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>If required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>int</td>\n<td>Required</td>\n<td>Request status (check cl. 9)</td>\n</tr>\n<tr>\n<td>error</td>\n<td>int</td>\n<td>Required</td>\n<td>Error (check cl. 10)</td>\n</tr>\n<tr>\n<td>sms</td>\n<td>Array</td>\n<td>Required</td>\n<td>SMS messages array</td>\n</tr>\n<tr>\n<td>id</td>\n<td>Guid</td>\n<td>Required</td>\n<td>Unique message ID</td>\n</tr>\n<tr>\n<td>phoneFrom</td>\n<td>string</td>\n<td>Required</td>\n<td>SMS message sender</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>ulong</td>\n<td>Required</td>\n<td>SMS message receiver's phone number</td>\n</tr>\n<tr>\n<td>text</td>\n<td>string</td>\n<td>Required</td>\n<td>Full text of message</td>\n</tr>\n<tr>\n<td>code</td>\n<td>string</td>\n<td>Required</td>\n<td>Parsed code from message</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["native","GetSms"],"host":["api","otp-service","pro"],"query":[],"variable":[]}},"response":[{"id":"a8996bf6-44cc-41ce-ac5d-f5e0cc78bd98","name":"5. Receiving SMS on request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"clientId\": \"bd7bf3dd-ea7a-4079-a836-4bb26592fdad\",\r\n    \"apiPassword\": \"test\",\r\n    \"activationId\": \"df500217-3a9b-4260-8d87-cb72fe7c8a43\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.otp-service.pro/native/GetSms"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 25 Mar 2023 05:05:55 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=EFBGTdfZ1iR48XZK8%2Bpk65Vxl7tsRVoa%2FMS1JDoGHZQh%2F0aclsyCLxgu%2BaX24XjE%2FLuc%2BLktf%2BtURFApk0sHdLxn1MnAv1p7DXFS6%2FquS6beh3iiugfdqPtvnAxaR3meWZCnNWuF\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7ad49f215a9d395e-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"sms\": [\n        {\n            \"id\": \"0f9aa28a-125e-4f61-ac48-3d3a48b404a5\",\n            \"phoneFrom\": \"Viber\",\n            \"phone\": 992112302159,\n            \"text\": \"<#> Your Viber code: 905526\\n\\nYou can also tap this link to finish your activation:\\nhttps://unv.viber.com/a/905526\\n\\n6EQbNfKgO8O\",\n            \"code\": \"905526\"\n        }\n    ],\n    \"status\": 0,\n    \"error\": 0\n}"}],"_postman_id":"6afa49fe-143e-428a-ab8b-98330685f9ae"},{"name":"6. Automatic SMS receipt (recommended)","id":"c183ab45-cae7-47fe-8388-c53aa8dd42e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"clientId\": \"bd7bf3dd-ea7a-4079-a836-4bb26592fdad\",\r\n    \"apiPassword\": \"test\",\r\n    \"activationId\": \"df500217-3a9b-4260-8d87-cb72fe7c8a43\",\r\n    \"phoneFrom\": \"Viber\",\r\n    \"phone\": 992112302159,\r\n    \"text\": \"<#> Your Viber code: 905526\\n\\nYou can also tap this link to finish your activation:\\nhttps://unv.viber.com/a/905526\\n\\n6EQbNfKgO8O\",\r\n    \"code\": \"905526\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.otp-service.pro/native/GetSms","description":"<p>After receiving a new SMS the System will send POST request at Client's URL</p>\n<p><strong>Request fields composition:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>If required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Guid</td>\n<td>Required</td>\n<td>Unique message ID</td>\n</tr>\n<tr>\n<td>phoneFrom</td>\n<td>string</td>\n<td>Required</td>\n<td>SMS message sender</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>ulong</td>\n<td>Required</td>\n<td>SMS message receiver's phone number</td>\n</tr>\n<tr>\n<td>text</td>\n<td>string</td>\n<td>Required</td>\n<td>Full text of message</td>\n</tr>\n<tr>\n<td>code</td>\n<td>string</td>\n<td>Required</td>\n<td>Parsed code from message</td>\n</tr>\n<tr>\n<td>clientId</td>\n<td>Guid</td>\n<td>Required</td>\n<td>Client ID</td>\n</tr>\n<tr>\n<td>activationId</td>\n<td>Guid</td>\n<td>Required</td>\n<td>Activation ID</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Response fields composition:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>If required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>int</td>\n<td>Required</td>\n<td>Request status (check cl. 9)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["native","GetSms"],"host":["api","otp-service","pro"],"query":[],"variable":[]}},"response":[],"_postman_id":"c183ab45-cae7-47fe-8388-c53aa8dd42e9"},{"name":"7. Balance inquiry","id":"ac45165d-9dda-4398-ab25-63a379bf9d7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"clientId\": \"bd7bf3dd-ea7a-4079-a836-4bb26592fdad\",\r\n    \"apiPassword\": \"test\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.otp-service.pro/native/GetBalance","description":"<p><strong>Request fields composition:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>If required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clientId</td>\n<td>Guid</td>\n<td>Required</td>\n<td>Client ID</td>\n</tr>\n<tr>\n<td>apiPassword</td>\n<td>string</td>\n<td>Required</td>\n<td>API's access password  <br />Minimal length — 8 symbols, maximum - 128</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Response fields composition:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>If required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>currency</td>\n<td>string</td>\n<td>Required</td>\n<td>Client's Currency</td>\n</tr>\n<tr>\n<td>balance</td>\n<td>float</td>\n<td>Required</td>\n<td>Client's Balance</td>\n</tr>\n<tr>\n<td>status</td>\n<td>int</td>\n<td>Required</td>\n<td>Error (check cl. 9)</td>\n</tr>\n<tr>\n<td>error</td>\n<td>int</td>\n<td>Required</td>\n<td>Error (check cl. 10)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["native","GetBalance"],"host":["api","otp-service","pro"],"query":[],"variable":[]}},"response":[{"id":"e0cdff9b-0f65-4a75-abfb-1a75f3075694","name":"7. Balance inquiry","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"clientId\": \"bd7bf3dd-ea7a-4079-a836-4bb26592fdad\",\r\n    \"apiPassword\": \"test\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.otp-service.pro/native/GetBalance"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 25 Mar 2023 05:20:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=y%2Bba%2BcRNNk7ILDeAXRvF8tmZsTs0JZq5kjpM71%2F9V2uK89bp%2B5bldIaL7u0XFV%2FqbwVBqyTvVL8Eqx0%2BgPXD8Ti5mOhKqMuAvqkyXBruhFNgYDTb4X9hh2xCPOa2zN26CSg9x11E\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7ad4b3c0ac0f054a-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"currency\": \"USD\",\n    \"balance\": 131.95,\n    \"status\": 2,\n    \"error\": 0\n}"}],"_postman_id":"ac45165d-9dda-4398-ab25-63a379bf9d7f"},{"name":"8. Services pricing inquiry","id":"d399b768-37c0-4a57-a5f9-36532ceb96cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"clientId\": \"bd7bf3dd-ea7a-4079-a836-4bb26592fdad\",\r\n    \"apiPassword\": \"test\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.otp-service.pro/native/GetPrice","description":"<p><strong>Request fields composition:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>If required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clientId</td>\n<td>Guid</td>\n<td>Required</td>\n<td>Client ID</td>\n</tr>\n<tr>\n<td>apiPassword</td>\n<td>string</td>\n<td>Required</td>\n<td>API's access password  <br />Minimal length — 8 symbols, maximum - 128</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Response fields composition:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>If required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>currency</td>\n<td>string</td>\n<td>Required</td>\n<td>Client's Currency</td>\n</tr>\n<tr>\n<td>services</td>\n<td>Array Dictionary</td>\n<td>Required</td>\n<td>Key - service name  <br />Value - price</td>\n</tr>\n<tr>\n<td>status</td>\n<td>int</td>\n<td>Required</td>\n<td>Error (check cl. 9)</td>\n</tr>\n<tr>\n<td>error</td>\n<td>int</td>\n<td>Required</td>\n<td>Error (check cl. 10)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["native","GetPrice"],"host":["api","otp-service","pro"],"query":[],"variable":[]}},"response":[{"id":"de9c2d4b-c47c-46a3-ba02-2967f36d7947","name":"8. Services pricing inquiry","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"clientId\": \"bd7bf3dd-ea7a-4079-a836-4bb26592fdad\",\r\n    \"apiPassword\": \"test\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.otp-service.pro/native/GetPrice"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 25 Mar 2023 05:20:57 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=x4VyEhqKlT7zJqLugjyHgJx5QdR1FlEccxr24nmV%2F1hbCyGv8zBV5tYjUl09G8RksLTItrN6mR7HkJufvMnCdtSgHOYZFji0ccCkczQ9te1a3CfBgvsXU22yD7XXwAhA9KP5SQS9\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7ad4b5259be23b0c-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"currency\": \"USD\",\n    \"countryList\": [\n        {\n            \"country\": \"tajikistan\",\n            \"services\": {\n                \"wa\": 0.32,\n                \"hw\": 0.06,\n                \"mb\": 0.03,\n                \"vi\": 0.05,\n                \"fb\": 0.06,\n                \"go\": 0.09,\n                \"ma\": 0.03,\n                \"wb\": 0.14,\n                \"tg\": 0.29,\n                \"ig\": 0.06,\n                \"vk\": 0.03,\n                \"wx\": 0.03\n            }\n        },\n        {\n            \"country\": \"laos\",\n            \"services\": {\n                \"wv\": 1.23\n            }\n        }\n    ],\n    \"status\": 0,\n    \"error\": 0\n}"}],"_postman_id":"d399b768-37c0-4a57-a5f9-36532ceb96cd"},{"name":"9. Status","id":"13af755d-79dc-4353-b889-c7bec8d3cfa2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"formdata","formdata":[]},"url":"","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Value</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>2</td>\n<td>Success</td>\n<td>Completed successfully</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Error</td>\n<td>An error occurred. Check Error field for Error code</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"13af755d-79dc-4353-b889-c7bec8d3cfa2"},{"name":"10. Error codes","id":"84816e47-3eaf-4189-ae38-af8b543b22f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"formdata","formdata":[]},"url":"","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>NoNumbers</td>\n<td>There are no any available numbers, suitable for the request conditions</td>\n</tr>\n<tr>\n<td>2</td>\n<td>InternalError</td>\n<td>Internal error occurred</td>\n</tr>\n<tr>\n<td>3</td>\n<td>InvaildRequest</td>\n<td>Request error</td>\n</tr>\n<tr>\n<td>4</td>\n<td>SmsHasBeenReceived</td>\n<td>Number cancellation error. SMS has been received and delivered to Client</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"84816e47-3eaf-4189-ae38-af8b543b22f8"},{"name":"11. Countries and operators","id":"5986a63a-9b11-44b5-84c2-0f8ced684595","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"url":"11. Countries and operators","description":"<h1 id=\"tajikistan\"><strong>Tajikistan</strong></h1>\n<p>\"country\": \"tajikistan\",<br />\"provider\": \"indigo\"</p>\n<h1 id=\"iran\"><strong>Iran</strong></h1>\n<p>\"country\": \"iran\",<br />\"provider\": \"mci\"</p>\n<h1 id=\"libya\"><strong>Libya</strong></h1>\n<p>\"country\": \"libyan\",<br />\"provider\": \"any\"</p>\n<h1 id=\"afghanistan\"><strong>Afghanistan</strong></h1>\n<p>\"country\": \"afghanistan\",<br />\"provider\": \"roshan\"</p>\n<h1 id=\"latvia\"><strong>Latvia</strong></h1>\n<p>\"country\": \"latvia\",<br />\"provider\": \"xomobile\"</p>\n<h1 id=\"serbia\"><strong>Serbia</strong></h1>\n<p>\"country\": \"serbia\",<br />\"provider\": \"mts\"</p>\n","urlObject":{"host":["11"," Countries and operators"],"query":[],"variable":[]}},"response":[],"_postman_id":"5986a63a-9b11-44b5-84c2-0f8ced684595"}]}