{"info":{"_postman_id":"296d6a50-d8ec-485c-85a6-f6fa9aa7f581","name":"Grizzly SMS · Activation API","description":"<html><head></head><body><p><strong>English</strong> | <a href=\"https://documenter.getpostman.com/view/58817512/2sBYHQ1NA4\">Русский</a> | <a href=\"https://documenter.getpostman.com/view/58817512/2sBYHQ1NA6\">简体中文</a> | <a href=\"https://documenter.getpostman.com/view/58817512/2sBYHQ1NA7\">Türkçe</a> | <a href=\"https://documenter.getpostman.com/view/58817512/2sBYHQ1NA8\">Español</a> | <a href=\"https://documenter.getpostman.com/view/58817512/2sBYHQ1NA9\">हिन्दी</a> | <a href=\"https://documenter.getpostman.com/view/58817512/2sBYHQ1NAA\">العربية</a> | <a href=\"https://documenter.getpostman.com/view/58817512/2sBYHQ1NAB\">Français</a></p>\n<p>Receive verification messages using virtual phone numbers. Browse available services and countries, check prices, purchase a number, and manage its activation.</p>\n<h2 id=\"authentication\">Authentication</h2>\n<p>Every request uses the <code>api_key</code> query parameter. Set <code>api_key</code> in the selected Postman environment.</p>\n<h2 id=\"quick-start\">Quick start</h2>\n<p>Select <strong>Grizzly SMS · Local</strong>. Set <code>service</code> and <code>country</code> using the service and country lists. Send requests from the relevant folder.</p>\n<h2 id=\"activation-workflow\">Activation workflow</h2>\n<p>Choose <strong>getNumber</strong> or <strong>getNumberV2</strong> to purchase one number. The activation ID and phone number are saved automatically. Read <strong>getStatus</strong> or <strong>getStatusV2</strong> to retrieve the message. Use <strong>setStatus</strong> to request another code, finish, or cancel the activation.</p>\n<p>To purchase or change status, set <code>enable_mutations=true</code> and send the selected request individually. Keep it <code>false</code> when running the reading requests together.</p>\n<h2 id=\"parameters\">Parameters</h2>\n<p>Optional purchase filters and price filters are disabled in <strong>Params</strong>. Set their variables and enable the filters you need. For purchases, <code>country</code> may be a country ID, <code>any</code>, or empty.</p>\n<h2 id=\"responses\">Responses</h2>\n<p>Responses are plain text or JSON. API errors can also be returned with HTTP 200. Saved examples illustrate response formats; prices and availability change. When there are no active activations, <code>getActiveActivations</code> may return <code>null</code>.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"58817512","collectionId":"296d6a50-d8ec-485c-85a6-f6fa9aa7f581","publishedId":"2sBYHQ1NA3","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-10-08T13:32:59.000Z"},"item":[{"name":"01 · Account & reference lists","item":[{"name":"getBalance · Balance","id":"91d384ae-85b1-42ce-ae37-07fe3db42760","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getBalance","description":"<p>Returns ACCESS_BALANCE: and saves balance.</p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API key. Required.</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>Operation name.</p>\n","type":"text/plain"},"key":"action","value":"getBalance"}],"variable":[]}},"response":[{"id":"3674f7d1-c2f0-4c17-8b75-69a49b5586e2","name":"Response example","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getBalance","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"getBalance","description":"Operation name."}]},"description":"Returns ACCESS_BALANCE:<balance> and saves balance."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"ACCESS_BALANCE:100.50"},{"id":"ac960dd4-11d9-490f-83f6-528e5e9e30e3","name":"API error example: BAD_KEY","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getBalance","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"getBalance","description":"Operation name."}]},"description":"Returns ACCESS_BALANCE:<balance> and saves balance."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"91d384ae-85b1-42ce-ae37-07fe3db42760"},{"name":"getServicesList · Services","id":"c6192637-4ac8-4c39-9275-f6913f2a43da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getServicesList","description":"<p>Lists service codes for the service parameter.</p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API key. Required.</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>Operation name.</p>\n","type":"text/plain"},"key":"action","value":"getServicesList"}],"variable":[]}},"response":[{"id":"6e2d7337-14e1-4627-b96a-22f0a3ed1200","name":"Response example","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getServicesList","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"getServicesList","description":"Operation name."}]},"description":"Lists service codes for the service parameter."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"services\": [\n    {\n      \"code\": \"kt\",\n      \"name\": \"KakaoTalk\"\n    }\n  ]\n}"},{"id":"90e5db1a-2830-4ba0-b993-9782589211b4","name":"API error example: BAD_KEY","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getServicesList","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"getServicesList","description":"Operation name."}]},"description":"Lists service codes for the service parameter."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"c6192637-4ac8-4c39-9275-f6913f2a43da"},{"name":"getCountries · Countries","id":"f681f61b-c13c-4a2a-9ea0-84fd662acb4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getCountries","description":"<p>Lists countries for the country parameter.</p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API key. Required.</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>Operation name.</p>\n","type":"text/plain"},"key":"action","value":"getCountries"}],"variable":[]}},"response":[{"id":"e699ce8c-f76c-473e-b1e8-f63b32b873a1","name":"Response example","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getCountries","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"getCountries","description":"Operation name."}]},"description":"Lists countries for the country parameter."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": 112,\n  \"rus\": \"Панама\",\n  \"eng\": \"Panama\",\n  \"chn\": \"巴拿马\",\n  \"tur\": \"Panama\",\n  \"spa\": \"Panamá\",\n  \"hin\": \"पनामा\",\n  \"ara\": \"بنما\",\n  \"fra\": \"Panama\"\n}"},{"id":"99b0d152-f823-4db6-be0f-5db00967d216","name":"API error example: BAD_KEY","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getCountries","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"getCountries","description":"Operation name."}]},"description":"Lists countries for the country parameter."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"f681f61b-c13c-4a2a-9ea0-84fd662acb4f"}],"id":"b4065ce3-c555-4cd6-a0d8-9cd4a05f231d","_postman_id":"b4065ce3-c555-4cd6-a0d8-9cd4a05f231d","description":""},{"name":"02 · Prices","item":[{"name":"getPrices · Price & availability","id":"6ad48187-c477-46b4-8ebf-2afc1c8586a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getPrices","description":"<p>Country → service → cost/count.</p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API key. Required.</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>Operation name.</p>\n","type":"text/plain"},"key":"action","value":"getPrices"},{"disabled":true,"description":{"content":"<p>Service code from getServicesList. Required for purchases; optional filter for prices.</p>\n","type":"text/plain"},"key":"service","value":""},{"disabled":true,"description":{"content":"<p>Country ID from getCountries. For purchases, use any or an empty value for automatic selection.</p>\n","type":"text/plain"},"key":"country","value":""}],"variable":[]}},"response":[{"id":"4df9da7d-246a-4c06-b242-78e18de90193","name":"Response example","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getPrices","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"getPrices","description":"Operation name."},{"key":"service","value":"","description":"Service code from getServicesList. Required for purchases; optional filter for prices.","disabled":true},{"key":"country","value":"","description":"Country ID from getCountries. For purchases, use any or an empty value for automatic selection.","disabled":true}]},"description":"Country → service → cost/count."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"0\": {\n    \"tg\": {\n      \"cost\": 0.35,\n      \"count\": 100\n    }\n  }\n}"},{"id":"3bedaaf5-7438-4e61-b1aa-2e03abcc9faf","name":"API error example: BAD_KEY","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getPrices","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"getPrices","description":"Operation name."},{"key":"service","value":"","description":"Service code from getServicesList. Required for purchases; optional filter for prices.","disabled":true},{"key":"country","value":"","description":"Country ID from getCountries. For purchases, use any or an empty value for automatic selection.","disabled":true}]},"description":"Country → service → cost/count."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"6ad48187-c477-46b4-8ebf-2afc1c8586a9"},{"name":"getPricesV2 · Availability by price","id":"c295dd07-32f3-4cb0-9b24-68a5b2c9a9a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getPricesV2","description":"<p>Country → service → price → count.</p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API key. Required.</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>Operation name.</p>\n","type":"text/plain"},"key":"action","value":"getPricesV2"},{"disabled":true,"description":{"content":"<p>Service code from getServicesList. Required for purchases; optional filter for prices.</p>\n","type":"text/plain"},"key":"service","value":""},{"disabled":true,"description":{"content":"<p>Country ID from getCountries. For purchases, use any or an empty value for automatic selection.</p>\n","type":"text/plain"},"key":"country","value":""}],"variable":[]}},"response":[{"id":"cacddf3c-e46c-4991-9a0f-5a00638e58e9","name":"Response example","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getPricesV2","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"getPricesV2","description":"Operation name."},{"key":"service","value":"","description":"Service code from getServicesList. Required for purchases; optional filter for prices.","disabled":true},{"key":"country","value":"","description":"Country ID from getCountries. For purchases, use any or an empty value for automatic selection.","disabled":true}]},"description":"Country → service → price → count."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"0\": {\n    \"tg\": {\n      \"0.35\": 100,\n      \"0.50\": 50\n    }\n  }\n}"},{"id":"8319be62-5845-4894-9334-79f758ed5c18","name":"API error example: BAD_KEY","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getPricesV2","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"getPricesV2","description":"Operation name."},{"key":"service","value":"","description":"Service code from getServicesList. Required for purchases; optional filter for prices.","disabled":true},{"key":"country","value":"","description":"Country ID from getCountries. For purchases, use any or an empty value for automatic selection.","disabled":true}]},"description":"Country → service → price → count."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"c295dd07-32f3-4cb0-9b24-68a5b2c9a9a3"},{"name":"getPricesV3 · Prices by provider","id":"69725a23-f3bb-4459-b516-80782027fc9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getPricesV3","description":"<p>Country → service → price/count/providers.</p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API key. Required.</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>Operation name.</p>\n","type":"text/plain"},"key":"action","value":"getPricesV3"},{"disabled":true,"description":{"content":"<p>Service code from getServicesList. Required for purchases; optional filter for prices.</p>\n","type":"text/plain"},"key":"service","value":""},{"disabled":true,"description":{"content":"<p>Country ID from getCountries. For purchases, use any or an empty value for automatic selection.</p>\n","type":"text/plain"},"key":"country","value":""}],"variable":[]}},"response":[{"id":"a0562bbc-a0ba-4563-913b-2b82e06b0326","name":"Response example","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getPricesV3","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"getPricesV3","description":"Operation name."},{"key":"service","value":"","description":"Service code from getServicesList. Required for purchases; optional filter for prices.","disabled":true},{"key":"country","value":"","description":"Country ID from getCountries. For purchases, use any or an empty value for automatic selection.","disabled":true}]},"description":"Country → service → price/count/providers."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"0\": {\n    \"tg\": {\n      \"price\": 0.35,\n      \"count\": 100,\n      \"providers\": {\n        \"1\": {\n          \"count\": 100,\n          \"price\": [\n            0.35,\n            0.5\n          ],\n          \"provider_id\": 1\n        }\n      }\n    }\n  }\n}"},{"id":"c73d0e14-2dd7-4806-91a1-bed10388c04e","name":"API error example: BAD_KEY","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getPricesV3","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"getPricesV3","description":"Operation name."},{"key":"service","value":"","description":"Service code from getServicesList. Required for purchases; optional filter for prices.","disabled":true},{"key":"country","value":"","description":"Country ID from getCountries. For purchases, use any or an empty value for automatic selection.","disabled":true}]},"description":"Country → service → price/count/providers."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"69725a23-f3bb-4459-b516-80782027fc9e"}],"id":"75dd3124-d8b3-4b84-bf92-63eb49f91dbf","_postman_id":"75dd3124-d8b3-4b84-bf92-63eb49f91dbf","description":""},{"name":"03 · Activation status","item":[{"name":"getActiveActivations · Active activations","id":"b7a0f653-b168-4080-b37b-41e249411792","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getActiveActivations","description":"<p>Lists active activations. Select the activation ID manually when needed. An empty result may be null.</p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API key. Required.</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>Operation name.</p>\n","type":"text/plain"},"key":"action","value":"getActiveActivations"}],"variable":[]}},"response":[{"id":"af4b7bb3-2353-49fc-b14d-c24cea846e45","name":"Response example","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getActiveActivations","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"getActiveActivations","description":"Operation name."}]},"description":"Lists active activations. Select the activation ID manually when needed. An empty result may be null."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"activationCost\": 0.35,\n    \"activationId\": \"495367092\",\n    \"activationStatus\": 1,\n    \"activationTime\": \"2026-05-07 14:18:05\",\n    \"canGetAnotherSms\": \"1\",\n    \"countryCode\": \"12\",\n    \"countryName\": \"USA (2)\",\n    \"currency\": 840,\n    \"discount\": \"0.00\",\n    \"phoneNumber\": \"19568190051\",\n    \"repeated\": \"0\",\n    \"serviceCode\": \"tg\",\n    \"smsCode\": \"\",\n    \"smsText\": \"\"\n  }\n]"},{"id":"a6de217d-2cfc-41c6-a120-b60cab3bb8a4","name":"No active activations","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getActiveActivations","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"getActiveActivations","description":"Operation name."}]},"description":"Lists active activations. Select the activation ID manually when needed. An empty result may be null."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"null"},{"id":"e4c22824-e779-4632-a5af-478928a20fc1","name":"API error example: BAD_KEY","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getActiveActivations","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"getActiveActivations","description":"Operation name."}]},"description":"Lists active activations. Select the activation ID manually when needed. An empty result may be null."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"b7a0f653-b168-4080-b37b-41e249411792"},{"name":"getStatus · Status & SMS code","id":"42f29573-d812-4fa0-bcd7-1581cef57367","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getStatus&id=","description":"<p>Returns a text status. STATUS_OK:<code> saves sms_code. Waiting states clear the previous code.</code></p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API key. Required.</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>Operation name.</p>\n","type":"text/plain"},"key":"action","value":"getStatus"},{"description":{"content":"<p>Activation ID returned by getNumber or getNumberV2.</p>\n","type":"text/plain"},"key":"id","value":""}],"variable":[]}},"response":[{"id":"57f50f5e-9c5b-461c-8b65-3a448eb17dc4","name":"Response example","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getStatus&id=","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"getStatus","description":"Operation name."},{"key":"id","value":"","description":"Activation ID returned by getNumber or getNumberV2."}]},"description":"Returns a text status. STATUS_OK:<code> saves sms_code. Waiting states clear the previous code."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"STATUS_WAIT_CODE"},{"id":"df9aa7b8-7be2-4115-8dc2-222d967aefbf","name":"Response example","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getStatus&id=","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"getStatus","description":"Operation name."},{"key":"id","value":"","description":"Activation ID returned by getNumber or getNumberV2."}]},"description":"Returns a text status. STATUS_OK:<code> saves sms_code. Waiting states clear the previous code."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"STATUS_WAIT_RETRY:123456"},{"id":"1c274e43-5f74-47b5-81cd-e89066774b43","name":"Response example","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getStatus&id=","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"getStatus","description":"Operation name."},{"key":"id","value":"","description":"Activation ID returned by getNumber or getNumberV2."}]},"description":"Returns a text status. STATUS_OK:<code> saves sms_code. Waiting states clear the previous code."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"STATUS_WAIT_RESEND"},{"id":"044a2753-1393-4db1-99f5-e51f67265af3","name":"Response example","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getStatus&id=","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"getStatus","description":"Operation name."},{"key":"id","value":"","description":"Activation ID returned by getNumber or getNumberV2."}]},"description":"Returns a text status. STATUS_OK:<code> saves sms_code. Waiting states clear the previous code."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"STATUS_CANCEL"},{"id":"91dbe6d3-ffe4-4864-bbaf-f7acd484f438","name":"Response example","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getStatus&id=","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"getStatus","description":"Operation name."},{"key":"id","value":"","description":"Activation ID returned by getNumber or getNumberV2."}]},"description":"Returns a text status. STATUS_OK:<code> saves sms_code. Waiting states clear the previous code."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"STATUS_OK:852508"},{"id":"b702203f-adf3-4f0b-ba4c-868102513f98","name":"API error example: BAD_KEY","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getStatus&id=","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"getStatus","description":"Operation name."},{"key":"id","value":"","description":"Activation ID returned by getNumber or getNumberV2."}]},"description":"Returns a text status. STATUS_OK:<code> saves sms_code. Waiting states clear the previous code."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"42f29573-d812-4fa0-bcd7-1581cef57367"},{"name":"getStatusV2 · Detailed status","id":"292c8d3f-740d-400d-b17b-b12dca8924c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getStatusV2&id=","description":"<p>Returns verificationType and SMS or call details. sms.code is saved as sms_code.</p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API key. Required.</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>Operation name.</p>\n","type":"text/plain"},"key":"action","value":"getStatusV2"},{"description":{"content":"<p>Activation ID returned by getNumber or getNumberV2.</p>\n","type":"text/plain"},"key":"id","value":""}],"variable":[]}},"response":[{"id":"8ad06d2e-7db3-481a-ba85-5ff18bc1ae82","name":"Response example","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getStatusV2&id=","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"getStatusV2","description":"Operation name."},{"key":"id","value":"","description":"Activation ID returned by getNumber or getNumberV2."}]},"description":"Returns verificationType and SMS or call details. sms.code is saved as sms_code."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"verificationType\": 2,\n  \"sms\": {\n    \"dateTime\": \"2026-02-26 12:05:55\",\n    \"code\": \"852508\",\n    \"text\": \"852508\"\n  }\n}"},{"id":"1a780667-f615-49eb-a785-b39f6d165cb9","name":"API error example: BAD_KEY","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getStatusV2&id=","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"getStatusV2","description":"Operation name."},{"key":"id","value":"","description":"Activation ID returned by getNumber or getNumberV2."}]},"description":"Returns verificationType and SMS or call details. sms.code is saved as sms_code."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"292c8d3f-740d-400d-b17b-b12dca8924c2"}],"id":"951f8658-ca91-4626-908c-5fea8355f74a","_postman_id":"951f8658-ca91-4626-908c-5fea8355f74a","description":""},{"name":"04 · Purchase a number","item":[{"name":"getNumber · Purchase a number","id":"968b69b2-4ec8-42c9-ab3b-e1d6e704d26d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getNumber&service=&country=","description":"<p>Creates an activation and returns ACCESS_NUMBER::. Saves activation_id and phone_number.</p>\n<p>To purchase or change status, set <code>enable_mutations=true</code> and send the selected request individually. Keep it <code>false</code> when running the reading requests together.</p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API key. Required.</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>Operation name.</p>\n","type":"text/plain"},"key":"action","value":"getNumber"},{"description":{"content":"<p>Service code from getServicesList. Required for purchases; optional filter for prices.</p>\n","type":"text/plain"},"key":"service","value":""},{"description":{"content":"<p>Country ID from getCountries. For purchases, use any or an empty value for automatic selection.</p>\n","type":"text/plain"},"key":"country","value":""},{"disabled":true,"description":{"content":"<p>Maximum purchase price. Optional.</p>\n","type":"text/plain"},"key":"maxPrice","value":""},{"disabled":true,"description":{"content":"<p>Minimum purchase price. Optional.</p>\n","type":"text/plain"},"key":"minPrice","value":""},{"disabled":true,"description":{"content":"<p>Allowed provider IDs, separated by commas.</p>\n","type":"text/plain"},"key":"providerIds","value":""},{"disabled":true,"description":{"content":"<p>Excluded provider IDs, separated by commas.</p>\n","type":"text/plain"},"key":"exceptProviderIds","value":""},{"disabled":true,"description":{"content":"<p>Excluded phone prefixes, separated by commas; for example 1628,147220.</p>\n","type":"text/plain"},"key":"phoneException","value":""}],"variable":[]}},"response":[{"id":"bfac5737-495f-479f-baca-0967a9f8d103","name":"Response example","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getNumber&service=&country=","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"getNumber","description":"Operation name."},{"key":"service","value":"","description":"Service code from getServicesList. Required for purchases; optional filter for prices."},{"key":"country","value":"","description":"Country ID from getCountries. For purchases, use any or an empty value for automatic selection."},{"key":"maxPrice","value":"","description":"Maximum purchase price. Optional.","disabled":true},{"key":"minPrice","value":"","description":"Minimum purchase price. Optional.","disabled":true},{"key":"providerIds","value":"","description":"Allowed provider IDs, separated by commas.","disabled":true},{"key":"exceptProviderIds","value":"","description":"Excluded provider IDs, separated by commas.","disabled":true},{"key":"phoneException","value":"","description":"Excluded phone prefixes, separated by commas; for example 1628,147220.","disabled":true}]},"description":"Creates an activation and returns ACCESS_NUMBER:<activation_id>:<phone_number>. Saves activation_id and phone_number.\n\nTo purchase or change status, set `enable_mutations=true` and send the selected request individually. Keep it `false` when running the reading requests together."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"ACCESS_NUMBER:38496653:66846426435"},{"id":"ec74037a-7354-4bb3-aec2-92df17e80ca2","name":"API error example: NO_NUMBERS","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getNumber&service=&country=","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"getNumber","description":"Operation name."},{"key":"service","value":"","description":"Service code from getServicesList. Required for purchases; optional filter for prices."},{"key":"country","value":"","description":"Country ID from getCountries. For purchases, use any or an empty value for automatic selection."},{"key":"maxPrice","value":"","description":"Maximum purchase price. Optional.","disabled":true},{"key":"minPrice","value":"","description":"Minimum purchase price. Optional.","disabled":true},{"key":"providerIds","value":"","description":"Allowed provider IDs, separated by commas.","disabled":true},{"key":"exceptProviderIds","value":"","description":"Excluded provider IDs, separated by commas.","disabled":true},{"key":"phoneException","value":"","description":"Excluded phone prefixes, separated by commas; for example 1628,147220.","disabled":true}]},"description":"Creates an activation and returns ACCESS_NUMBER:<activation_id>:<phone_number>. Saves activation_id and phone_number.\n\nTo purchase or change status, set `enable_mutations=true` and send the selected request individually. Keep it `false` when running the reading requests together."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"NO_NUMBERS"},{"id":"03e0d951-67a5-41a4-bd2c-b3e8dadff784","name":"API error example: NO_BALANCE","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getNumber&service=&country=","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"getNumber","description":"Operation name."},{"key":"service","value":"","description":"Service code from getServicesList. Required for purchases; optional filter for prices."},{"key":"country","value":"","description":"Country ID from getCountries. For purchases, use any or an empty value for automatic selection."},{"key":"maxPrice","value":"","description":"Maximum purchase price. Optional.","disabled":true},{"key":"minPrice","value":"","description":"Minimum purchase price. Optional.","disabled":true},{"key":"providerIds","value":"","description":"Allowed provider IDs, separated by commas.","disabled":true},{"key":"exceptProviderIds","value":"","description":"Excluded provider IDs, separated by commas.","disabled":true},{"key":"phoneException","value":"","description":"Excluded phone prefixes, separated by commas; for example 1628,147220.","disabled":true}]},"description":"Creates an activation and returns ACCESS_NUMBER:<activation_id>:<phone_number>. Saves activation_id and phone_number.\n\nTo purchase or change status, set `enable_mutations=true` and send the selected request individually. Keep it `false` when running the reading requests together."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"NO_BALANCE"},{"id":"a3789509-5efc-4061-a71d-061aa964a6f0","name":"API error example: BAD_KEY","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getNumber&service=&country=","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"getNumber","description":"Operation name."},{"key":"service","value":"","description":"Service code from getServicesList. Required for purchases; optional filter for prices."},{"key":"country","value":"","description":"Country ID from getCountries. For purchases, use any or an empty value for automatic selection."},{"key":"maxPrice","value":"","description":"Maximum purchase price. Optional.","disabled":true},{"key":"minPrice","value":"","description":"Minimum purchase price. Optional.","disabled":true},{"key":"providerIds","value":"","description":"Allowed provider IDs, separated by commas.","disabled":true},{"key":"exceptProviderIds","value":"","description":"Excluded provider IDs, separated by commas.","disabled":true},{"key":"phoneException","value":"","description":"Excluded phone prefixes, separated by commas; for example 1628,147220.","disabled":true}]},"description":"Creates an activation and returns ACCESS_NUMBER:<activation_id>:<phone_number>. Saves activation_id and phone_number.\n\nTo purchase or change status, set `enable_mutations=true` and send the selected request individually. Keep it `false` when running the reading requests together."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"968b69b2-4ec8-42c9-ab3b-e1d6e704d26d"},{"name":"getNumberV2 · Purchase a number with details","id":"c5650756-97bd-41ee-8759-6b74d67f7e23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getNumberV2&service=&country=","description":"<p>Creates an activation and returns JSON with activationId, phoneNumber, cost and timestamps. activationCancel indicates when cancellation is allowed; activationEnd indicates expiration.</p>\n<p>To purchase or change status, set <code>enable_mutations=true</code> and send the selected request individually. Keep it <code>false</code> when running the reading requests together.</p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API key. Required.</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>Operation name.</p>\n","type":"text/plain"},"key":"action","value":"getNumberV2"},{"description":{"content":"<p>Service code from getServicesList. Required for purchases; optional filter for prices.</p>\n","type":"text/plain"},"key":"service","value":""},{"description":{"content":"<p>Country ID from getCountries. For purchases, use any or an empty value for automatic selection.</p>\n","type":"text/plain"},"key":"country","value":""},{"disabled":true,"description":{"content":"<p>Maximum purchase price. Optional.</p>\n","type":"text/plain"},"key":"maxPrice","value":""},{"disabled":true,"description":{"content":"<p>Minimum purchase price. Optional.</p>\n","type":"text/plain"},"key":"minPrice","value":""},{"disabled":true,"description":{"content":"<p>Allowed provider IDs, separated by commas.</p>\n","type":"text/plain"},"key":"providerIds","value":""},{"disabled":true,"description":{"content":"<p>Excluded provider IDs, separated by commas.</p>\n","type":"text/plain"},"key":"exceptProviderIds","value":""},{"disabled":true,"description":{"content":"<p>Excluded phone prefixes, separated by commas; for example 1628,147220.</p>\n","type":"text/plain"},"key":"phoneException","value":""}],"variable":[]}},"response":[{"id":"428fa3f1-9148-486f-bc42-cd4719822753","name":"Response example","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getNumberV2&service=&country=","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"getNumberV2","description":"Operation name."},{"key":"service","value":"","description":"Service code from getServicesList. Required for purchases; optional filter for prices."},{"key":"country","value":"","description":"Country ID from getCountries. For purchases, use any or an empty value for automatic selection."},{"key":"maxPrice","value":"","description":"Maximum purchase price. Optional.","disabled":true},{"key":"minPrice","value":"","description":"Minimum purchase price. Optional.","disabled":true},{"key":"providerIds","value":"","description":"Allowed provider IDs, separated by commas.","disabled":true},{"key":"exceptProviderIds","value":"","description":"Excluded provider IDs, separated by commas.","disabled":true},{"key":"phoneException","value":"","description":"Excluded phone prefixes, separated by commas; for example 1628,147220.","disabled":true}]},"description":"Creates an activation and returns JSON with activationId, phoneNumber, cost and timestamps. activationCancel indicates when cancellation is allowed; activationEnd indicates expiration.\n\nTo purchase or change status, set `enable_mutations=true` and send the selected request individually. Keep it `false` when running the reading requests together."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"activationCancel\": \"2026-05-07 14:03:16\",\n  \"activationCost\": 0.35,\n  \"activationEnd\": \"2026-05-07 14:18:16\",\n  \"activationId\": 495357953,\n  \"activationTime\": \"2026-05-07 13:58:16\",\n  \"canGetAnotherSms\": \"0\",\n  \"countryCode\": \"12\",\n  \"currency\": 643,\n  \"phoneNumber\": \"18036181752\"\n}"},{"id":"17f86a6c-d502-4e04-a9ee-99d9bb5c82c7","name":"API error example: BAD_KEY","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=getNumberV2&service=&country=","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"getNumberV2","description":"Operation name."},{"key":"service","value":"","description":"Service code from getServicesList. Required for purchases; optional filter for prices."},{"key":"country","value":"","description":"Country ID from getCountries. For purchases, use any or an empty value for automatic selection."},{"key":"maxPrice","value":"","description":"Maximum purchase price. Optional.","disabled":true},{"key":"minPrice","value":"","description":"Minimum purchase price. Optional.","disabled":true},{"key":"providerIds","value":"","description":"Allowed provider IDs, separated by commas.","disabled":true},{"key":"exceptProviderIds","value":"","description":"Excluded provider IDs, separated by commas.","disabled":true},{"key":"phoneException","value":"","description":"Excluded phone prefixes, separated by commas; for example 1628,147220.","disabled":true}]},"description":"Creates an activation and returns JSON with activationId, phoneNumber, cost and timestamps. activationCancel indicates when cancellation is allowed; activationEnd indicates expiration.\n\nTo purchase or change status, set `enable_mutations=true` and send the selected request individually. Keep it `false` when running the reading requests together."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"c5650756-97bd-41ee-8759-6b74d67f7e23"}],"id":"d29eeeba-7a60-4d21-9339-50f651ff7ba6","description":"<p>To purchase or change status, set <code>enable_mutations=true</code> and send the selected request individually. Keep it <code>false</code> when running the reading requests together.</p>\n","_postman_id":"d29eeeba-7a60-4d21-9339-50f651ff7ba6"},{"name":"05 · Change activation status","item":[{"name":"setStatus · 1 · Number ready","id":"ccacee2f-de5a-49a7-ace2-63ac2eb39e4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=setStatus&id=&status=1","description":"<p>Changes one activation. Choose the required status and send this request individually.</p>\n<p>To purchase or change status, set <code>enable_mutations=true</code> and send the selected request individually. Keep it <code>false</code> when running the reading requests together.</p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API key. Required.</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>Operation name.</p>\n","type":"text/plain"},"key":"action","value":"setStatus"},{"description":{"content":"<p>Activation ID returned by getNumber or getNumberV2.</p>\n","type":"text/plain"},"key":"id","value":""},{"description":{"content":"<p>Target activation status.</p>\n","type":"text/plain"},"key":"status","value":"1"}],"variable":[]}},"response":[{"id":"9e245e7c-5463-4ae9-9f76-5ee49ce3e182","name":"Response example","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=setStatus&id=&status=1","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"setStatus","description":"Operation name."},{"key":"id","value":"","description":"Activation ID returned by getNumber or getNumberV2."},{"key":"status","value":"1","description":"Target activation status."}]},"description":"Changes one activation. Choose the required status and send this request individually.\n\nTo purchase or change status, set `enable_mutations=true` and send the selected request individually. Keep it `false` when running the reading requests together."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"ACCESS_READY"},{"id":"1eaf5f9a-7e2a-4f23-bbbf-7a405784c2e2","name":"API error example: BAD_STATUS","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=setStatus&id=&status=1","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"setStatus","description":"Operation name."},{"key":"id","value":"","description":"Activation ID returned by getNumber or getNumberV2."},{"key":"status","value":"1","description":"Target activation status."}]},"description":"Changes one activation. Choose the required status and send this request individually.\n\nTo purchase or change status, set `enable_mutations=true` and send the selected request individually. Keep it `false` when running the reading requests together."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_STATUS"},{"id":"b08167b4-3f89-47d9-af93-4f08f31e03df","name":"API error example: BAD_KEY","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=setStatus&id=&status=1","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"setStatus","description":"Operation name."},{"key":"id","value":"","description":"Activation ID returned by getNumber or getNumberV2."},{"key":"status","value":"1","description":"Target activation status."}]},"description":"Changes one activation. Choose the required status and send this request individually.\n\nTo purchase or change status, set `enable_mutations=true` and send the selected request individually. Keep it `false` when running the reading requests together."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"ccacee2f-de5a-49a7-ace2-63ac2eb39e4a"},{"name":"setStatus · 3 · Request the next code","id":"1e899bba-9097-407e-9785-8398a8cd6acf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=setStatus&id=&status=3","description":"<p>Changes one activation. Choose the required status and send this request individually.</p>\n<p>To purchase or change status, set <code>enable_mutations=true</code> and send the selected request individually. Keep it <code>false</code> when running the reading requests together.</p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API key. Required.</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>Operation name.</p>\n","type":"text/plain"},"key":"action","value":"setStatus"},{"description":{"content":"<p>Activation ID returned by getNumber or getNumberV2.</p>\n","type":"text/plain"},"key":"id","value":""},{"description":{"content":"<p>Target activation status.</p>\n","type":"text/plain"},"key":"status","value":"3"}],"variable":[]}},"response":[{"id":"0b590630-69c8-4deb-acbc-a0ea04f99e9f","name":"Response example","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=setStatus&id=&status=3","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"setStatus","description":"Operation name."},{"key":"id","value":"","description":"Activation ID returned by getNumber or getNumberV2."},{"key":"status","value":"3","description":"Target activation status."}]},"description":"Changes one activation. Choose the required status and send this request individually.\n\nTo purchase or change status, set `enable_mutations=true` and send the selected request individually. Keep it `false` when running the reading requests together."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"ACCESS_RETRY_GET"},{"id":"17fba665-fdc9-45e3-97ed-fbf643f2bfd1","name":"API error example: BAD_STATUS","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=setStatus&id=&status=3","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"setStatus","description":"Operation name."},{"key":"id","value":"","description":"Activation ID returned by getNumber or getNumberV2."},{"key":"status","value":"3","description":"Target activation status."}]},"description":"Changes one activation. Choose the required status and send this request individually.\n\nTo purchase or change status, set `enable_mutations=true` and send the selected request individually. Keep it `false` when running the reading requests together."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_STATUS"},{"id":"b9b7209a-02f2-4416-a9ab-5da0f636a787","name":"API error example: BAD_KEY","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=setStatus&id=&status=3","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"setStatus","description":"Operation name."},{"key":"id","value":"","description":"Activation ID returned by getNumber or getNumberV2."},{"key":"status","value":"3","description":"Target activation status."}]},"description":"Changes one activation. Choose the required status and send this request individually.\n\nTo purchase or change status, set `enable_mutations=true` and send the selected request individually. Keep it `false` when running the reading requests together."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"1e899bba-9097-407e-9785-8398a8cd6acf"},{"name":"setStatus · 6 · Complete activation","id":"323ff860-7f4f-4d85-b996-20bb99df1384","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=setStatus&id=&status=6","description":"<p>Changes one activation. Choose the required status and send this request individually.</p>\n<p>To purchase or change status, set <code>enable_mutations=true</code> and send the selected request individually. Keep it <code>false</code> when running the reading requests together.</p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API key. Required.</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>Operation name.</p>\n","type":"text/plain"},"key":"action","value":"setStatus"},{"description":{"content":"<p>Activation ID returned by getNumber or getNumberV2.</p>\n","type":"text/plain"},"key":"id","value":""},{"description":{"content":"<p>Target activation status.</p>\n","type":"text/plain"},"key":"status","value":"6"}],"variable":[]}},"response":[{"id":"9a3074f2-0595-497f-9e36-ebf496ef4be7","name":"Response example","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=setStatus&id=&status=6","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"setStatus","description":"Operation name."},{"key":"id","value":"","description":"Activation ID returned by getNumber or getNumberV2."},{"key":"status","value":"6","description":"Target activation status."}]},"description":"Changes one activation. Choose the required status and send this request individually.\n\nTo purchase or change status, set `enable_mutations=true` and send the selected request individually. Keep it `false` when running the reading requests together."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"ACCESS_ACTIVATION"},{"id":"2a16767a-2faf-4cd0-82b2-b780d247efe4","name":"API error example: BAD_STATUS","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=setStatus&id=&status=6","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"setStatus","description":"Operation name."},{"key":"id","value":"","description":"Activation ID returned by getNumber or getNumberV2."},{"key":"status","value":"6","description":"Target activation status."}]},"description":"Changes one activation. Choose the required status and send this request individually.\n\nTo purchase or change status, set `enable_mutations=true` and send the selected request individually. Keep it `false` when running the reading requests together."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_STATUS"},{"id":"1f0f28f9-c765-4abc-96bb-edd6659d398f","name":"API error example: BAD_KEY","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=setStatus&id=&status=6","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"setStatus","description":"Operation name."},{"key":"id","value":"","description":"Activation ID returned by getNumber or getNumberV2."},{"key":"status","value":"6","description":"Target activation status."}]},"description":"Changes one activation. Choose the required status and send this request individually.\n\nTo purchase or change status, set `enable_mutations=true` and send the selected request individually. Keep it `false` when running the reading requests together."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"323ff860-7f4f-4d85-b996-20bb99df1384"},{"name":"setStatus · 8 · Cancel activation","id":"2b01b53b-d846-4ccb-a29c-dfd264f56747","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=setStatus&id=&status=8","description":"<p>Changes one activation. Choose the required status and send this request individually.</p>\n<p>To purchase or change status, set <code>enable_mutations=true</code> and send the selected request individually. Keep it <code>false</code> when running the reading requests together.</p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API key. Required.</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>Operation name.</p>\n","type":"text/plain"},"key":"action","value":"setStatus"},{"description":{"content":"<p>Activation ID returned by getNumber or getNumberV2.</p>\n","type":"text/plain"},"key":"id","value":""},{"description":{"content":"<p>Target activation status.</p>\n","type":"text/plain"},"key":"status","value":"8"}],"variable":[]}},"response":[{"id":"5ece26ab-cb6a-4b86-b471-31df786d690f","name":"Response example","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=setStatus&id=&status=8","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"setStatus","description":"Operation name."},{"key":"id","value":"","description":"Activation ID returned by getNumber or getNumberV2."},{"key":"status","value":"8","description":"Target activation status."}]},"description":"Changes one activation. Choose the required status and send this request individually.\n\nTo purchase or change status, set `enable_mutations=true` and send the selected request individually. Keep it `false` when running the reading requests together."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"ACCESS_CANCEL"},{"id":"048e09d2-0e49-4091-883d-fb3ccd2674ac","name":"API error example: BAD_STATUS","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=setStatus&id=&status=8","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"setStatus","description":"Operation name."},{"key":"id","value":"","description":"Activation ID returned by getNumber or getNumberV2."},{"key":"status","value":"8","description":"Target activation status."}]},"description":"Changes one activation. Choose the required status and send this request individually.\n\nTo purchase or change status, set `enable_mutations=true` and send the selected request individually. Keep it `false` when running the reading requests together."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_STATUS"},{"id":"100592bb-2731-46bb-8547-6ee06c4cb04a","name":"API error example: BAD_KEY","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=setStatus&id=&status=8","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"setStatus","description":"Operation name."},{"key":"id","value":"","description":"Activation ID returned by getNumber or getNumberV2."},{"key":"status","value":"8","description":"Target activation status."}]},"description":"Changes one activation. Choose the required status and send this request individually.\n\nTo purchase or change status, set `enable_mutations=true` and send the selected request individually. Keep it `false` when running the reading requests together."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"2b01b53b-d846-4ccb-a29c-dfd264f56747"},{"name":"setStatus · -1 · Cancel activation (alternative)","id":"c231bb75-65c0-4ae6-ab3e-00d8420a4c84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=setStatus&id=&status=-1","description":"<p>Changes one activation. Choose the required status and send this request individually.</p>\n<p>To purchase or change status, set <code>enable_mutations=true</code> and send the selected request individually. Keep it <code>false</code> when running the reading requests together.</p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API key. Required.</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>Operation name.</p>\n","type":"text/plain"},"key":"action","value":"setStatus"},{"description":{"content":"<p>Activation ID returned by getNumber or getNumberV2.</p>\n","type":"text/plain"},"key":"id","value":""},{"description":{"content":"<p>Target activation status.</p>\n","type":"text/plain"},"key":"status","value":"-1"}],"variable":[]}},"response":[{"id":"a3ef9666-1492-44da-a7ef-ec6b91382455","name":"Response example","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=setStatus&id=&status=-1","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"setStatus","description":"Operation name."},{"key":"id","value":"","description":"Activation ID returned by getNumber or getNumberV2."},{"key":"status","value":"-1","description":"Target activation status."}]},"description":"Changes one activation. Choose the required status and send this request individually.\n\nTo purchase or change status, set `enable_mutations=true` and send the selected request individually. Keep it `false` when running the reading requests together."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"ACCESS_CANCEL"},{"id":"48658419-935e-4d86-a961-65c2ed81bcbe","name":"API error example: BAD_STATUS","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=setStatus&id=&status=-1","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"setStatus","description":"Operation name."},{"key":"id","value":"","description":"Activation ID returned by getNumber or getNumberV2."},{"key":"status","value":"-1","description":"Target activation status."}]},"description":"Changes one activation. Choose the required status and send this request individually.\n\nTo purchase or change status, set `enable_mutations=true` and send the selected request individually. Keep it `false` when running the reading requests together."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_STATUS"},{"id":"3a5c2c48-400b-4185-9075-872fe135bc20","name":"API error example: BAD_KEY","originalRequest":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/json, text/plain, */*"}],"url":{"raw":"https://api.grizzlysms.com/stubs/handler_api.php?api_key=&action=setStatus&id=&status=-1","host":["https://api.grizzlysms.com"],"path":["stubs","handler_api.php"],"query":[{"key":"api_key","value":"","description":"API key. Required."},{"key":"action","value":"setStatus","description":"Operation name."},{"key":"id","value":"","description":"Activation ID returned by getNumber or getNumberV2."},{"key":"status","value":"-1","description":"Target activation status."}]},"description":"Changes one activation. Choose the required status and send this request individually.\n\nTo purchase or change status, set `enable_mutations=true` and send the selected request individually. Keep it `false` when running the reading requests together."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"c231bb75-65c0-4ae6-ab3e-00d8420a4c84"}],"id":"5177cb32-d4b4-4bfd-8146-abbba55ef84f","description":"<p>To purchase or change status, set <code>enable_mutations=true</code> and send the selected request individually. Keep it <code>false</code> when running the reading requests together.</p>\n","_postman_id":"5177cb32-d4b4-4bfd-8146-abbba55ef84f"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["(function () {","const action = pm.request.url.query.get('action');","function missing(name) {","  const v = pm.variables.get(name);","  return v === undefined || v === null || String(v).trim() === '' || /\\{\\{.*\\}\\}/.test(String(v));","}","let reason = '';","if (missing('api_key')) reason = 'Set api_key in the selected environment.';","else if (['getNumber', 'getNumberV2', 'setStatus'].includes(action) && String(pm.variables.get('enable_mutations')) !== 'true') reason = 'Set enable_mutations=true to purchase a number or change status. Send the selected request individually.';","else if (['getNumber', 'getNumberV2'].includes(action) && missing('service')) reason = 'Set service to a code returned by getServicesList.';","else if (['getStatus', 'getStatusV2', 'setStatus'].includes(action) && missing('activation_id')) reason = 'Set activation_id or purchase a number first.';","if (reason) {","  console.warn(reason);","  pm.execution.skipRequest();","}","})();"],"id":"b4371027-1d09-411b-b4b7-91cbf53d5a2d"}},{"listen":"test","script":{"type":"text/javascript","exec":["(function () {","const action = pm.request.url.query.get('action');","const text = pm.response.text().trim();","let data;","try { data = JSON.parse(text); } catch (_) {}","const textError = /^(?:BAD_|NO_|ERROR_|WRONG_|SERVICE_UNAVAILABLE_REGION|USERS_IP_IS_NOT_ALLOWED|The service is prohibited)/.test(text);","const jsonError = data !== null && typeof data === 'object' && !Array.isArray(data) && (Object.prototype.hasOwnProperty.call(data, 'error') || data.status === 'error');","const apiError = textError || jsonError;","const httpOK = pm.response.code >= 200 && pm.response.code < 300;","pm.test('HTTP 2xx', function () { pm.expect(httpOK).to.equal(true); });","pm.test('No API error (text / JSON, including HTTP 200)', function () { pm.expect(apiError, text).to.equal(false); });","function save(name, value) {","  if (pm.environment && pm.environment.name) pm.environment.set(name, String(value));","  else pm.collectionVariables.set(name, String(value));","}","function object(v) { return v !== null && typeof v === 'object' && !Array.isArray(v); }","if (httpOK && !apiError) {","  let valid = false;","  if (action === 'getNumber') {","    const m = text.match(/^ACCESS_NUMBER:(\\d+):(\\+?\\d+)$/);","    valid = !!m;","    if (m) { save('activation_id', m[1]); save('phone_number', m[2]); save('sms_code', ''); }","  } else if (action === 'getNumberV2') {","    valid = object(data) && /^\\d+$/.test(String(data.activationId)) && /^\\+?\\d+$/.test(String(data.phoneNumber));","    if (valid) { save('activation_id', data.activationId); save('phone_number', data.phoneNumber); save('sms_code', ''); }","  } else if (action === 'getBalance') {","    const m = text.match(/^ACCESS_BALANCE:(-?\\d+(?:\\.\\d+)?)$/);","    valid = !!m;","    if (m) save('balance', m[1]);","  } else if (action === 'setStatus') {","    const expected = {'1':'ACCESS_READY', '3':'ACCESS_RETRY_GET', '6':'ACCESS_ACTIVATION', '8':'ACCESS_CANCEL', '-1':'ACCESS_CANCEL'};","    valid = text === expected[pm.request.url.query.get('status')];","  } else if (action === 'getStatus') {","    valid = /^(?:STATUS_WAIT_CODE|STATUS_WAIT_RESEND|STATUS_CANCEL|STATUS_WAIT_RETRY:.+|STATUS_OK:.+)$/.test(text);","    if (valid) save('sms_code', text.startsWith('STATUS_OK:') ? text.slice('STATUS_OK:'.length) : '');","  } else if (action === 'getStatusV2') {","    valid = object(data) && Object.prototype.hasOwnProperty.call(data, 'verificationType');","    if (valid) save('sms_code', data.sms && data.sms.code != null ? data.sms.code : '');","  } else if (action === 'getActiveActivations') {","    valid = data === null || Array.isArray(data);","  } else if (['getPrices', 'getPricesV2', 'getPricesV3'].includes(action)) {","    valid = object(data);","  } else if (action === 'getServicesList') {","    // Services may be an array or a services envelope.","    valid = Array.isArray(data) || (object(data) && data.status === 'success' && Array.isArray(data.services));","  } else if (action === 'getCountries') {","    // Countries may be represented as an array or object.","    valid = Array.isArray(data) || (object(data) && (data.id != null || Object.values(data).every(object)));","  }","  pm.test('Documented response format: ' + action, function () { pm.expect(valid).to.equal(true); });","}","})();"],"id":"8041a74d-7fc0-4abb-9591-90cef4e591db"}}],"variable":[{"key":"base_url","value":"https://api.grizzlysms.com","description":"API base URL, without a trailing slash."},{"key":"api_key","value":"","description":"Set your API key in the environment."},{"key":"service","value":"","description":"Service code."},{"key":"country","value":"","description":"Country ID, any, or empty for purchases."},{"key":"activation_id","value":"","description":"Activation ID; saved after purchase."},{"key":"phone_number","value":"","description":"Phone number; saved after purchase."},{"key":"sms_code","value":"","description":"Latest SMS code."},{"key":"balance","value":"","description":"Latest balance."},{"key":"max_price","value":"","description":"Maximum purchase price."},{"key":"min_price","value":"","description":"Minimum purchase price."},{"key":"provider_ids","value":"","description":"Allowed provider IDs."},{"key":"except_provider_ids","value":"","description":"Excluded provider IDs."},{"key":"phone_exception","value":"","description":"Excluded phone prefixes."},{"key":"enable_mutations","value":"false","description":"true enables purchases and status changes."}]}