{"info":{"_postman_id":"6f382e74-1105-42c3-b939-b105f30d2395","name":"Grizzly SMS · Activation API · 简体中文","description":"<html><head></head><body><p><a href=\"https://documenter.getpostman.com/view/58817512/2sBYHQ1NA3\">English</a> | <a href=\"https://documenter.getpostman.com/view/58817512/2sBYHQ1NA4\">Русский</a> | <strong>简体中文</strong> | <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>使用虚拟电话号码接收验证码。查看服务和国家列表，查询价格，购买号码并管理激活。</p>\n<h2 id=\"身份验证\">身份验证</h2>\n<p>每个请求都必须包含查询参数 <code>api_key</code>。请在所选 Postman 环境中设置 <code>api_key</code>。</p>\n<h2 id=\"快速开始\">快速开始</h2>\n<p>选择 <strong>Grizzly SMS · Local</strong>。根据服务和国家列表设置 <code>service</code> 和 <code>country</code>，然后发送相应文件夹中的请求。</p>\n<h2 id=\"激活流程\">激活流程</h2>\n<p>选择 <strong>getNumber</strong> 或 <strong>getNumberV2</strong> 购买一个号码。激活 ID 和电话号码会自动保存。使用 <strong>getStatus</strong> 或 <strong>getStatusV2</strong> 获取消息。使用 <strong>setStatus</strong> 请求下一个验证码、完成或取消激活。</p>\n<p>购买号码或更改状态时，将 <code>enable_mutations</code> 设为 <code>true</code>，并单独发送所选请求。批量运行查询请求时，请保持为 <code>false</code>。</p>\n<h2 id=\"参数\">参数</h2>\n<p>可选购买筛选条件和价格筛选条件在 <strong>Params</strong> 中默认禁用。设置相应变量后启用所需参数。购买时，<code>country</code> 可以是国家 ID、<code>any</code> 或空值。</p>\n<h2 id=\"响应\">响应</h2>\n<p>响应为纯文本或 JSON。HTTP 200 响应中也可能包含 API 错误。保存的示例用于展示格式；价格和库存会变化。没有进行中的激活时，<code>getActiveActivations</code> 可能返回 <code>null</code>。</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"58817512","collectionId":"6f382e74-1105-42c3-b939-b105f30d2395","publishedId":"2sBYHQ1NA6","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-10-08T13:35:07.000Z"},"item":[{"name":"01 · 余额与参考列表","item":[{"name":"getBalance · 余额","id":"e82f97cc-2bbc-43ae-a31b-f94c9cfcf9f7","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>返回 ACCESS_BALANCE: 并保存 balance。</p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API 密钥，必填。</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>操作名称。</p>\n","type":"text/plain"},"key":"action","value":"getBalance"}],"variable":[]}},"response":[{"id":"5a593d9d-09cd-4e1d-84eb-01cbc533bd33","name":"响应示例","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":"action","value":"getBalance","description":"操作名称。"}]},"description":"返回 ACCESS_BALANCE:<balance> 并保存 balance。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"ACCESS_BALANCE:100.50"},{"id":"8fd1ec2c-480e-4926-862a-7313daaf6cf8","name":"API 错误示例: 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":"action","value":"getBalance","description":"操作名称。"}]},"description":"返回 ACCESS_BALANCE:<balance> 并保存 balance。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"e82f97cc-2bbc-43ae-a31b-f94c9cfcf9f7"},{"name":"getServicesList · 服务列表","id":"6098706c-f263-4443-9e5f-4ad9c064bf8e","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>列出用于 service 参数的服务代码。</p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API 密钥，必填。</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>操作名称。</p>\n","type":"text/plain"},"key":"action","value":"getServicesList"}],"variable":[]}},"response":[{"id":"d53ff17c-c197-480c-ae84-f22b75cfdd1d","name":"响应示例","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":"action","value":"getServicesList","description":"操作名称。"}]},"description":"列出用于 service 参数的服务代码。"},"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":"24b8a97a-59e3-40aa-b581-26cd27d4a03c","name":"API 错误示例: 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":"action","value":"getServicesList","description":"操作名称。"}]},"description":"列出用于 service 参数的服务代码。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"6098706c-f263-4443-9e5f-4ad9c064bf8e"},{"name":"getCountries · 国家列表","id":"6c1a6e88-7542-41d2-bc16-569a3961b6d4","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>列出用于 country 参数的国家。</p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API 密钥，必填。</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>操作名称。</p>\n","type":"text/plain"},"key":"action","value":"getCountries"}],"variable":[]}},"response":[{"id":"84873498-bac6-4026-9dcc-eaf64d58b8d7","name":"响应示例","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":"action","value":"getCountries","description":"操作名称。"}]},"description":"列出用于 country 参数的国家。"},"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":"3603c715-5cf3-4cfc-80f8-19086f66012c","name":"API 错误示例: 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":"action","value":"getCountries","description":"操作名称。"}]},"description":"列出用于 country 参数的国家。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"6c1a6e88-7542-41d2-bc16-569a3961b6d4"}],"id":"76c09143-099a-440e-ab9a-12301a27857d","_postman_id":"76c09143-099a-440e-ab9a-12301a27857d","description":""},{"name":"02 · 价格","item":[{"name":"getPrices · 价格与库存","id":"8901b4f2-68aa-445a-9437-2f63e1b3d3b5","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>国家 → 服务 → cost/count。</p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API 密钥，必填。</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>操作名称。</p>\n","type":"text/plain"},"key":"action","value":"getPrices"},{"disabled":true,"description":{"content":"<p>getServicesList 返回的服务代码。购买时必填；查询价格时可用于筛选。</p>\n","type":"text/plain"},"key":"service","value":""},{"disabled":true,"description":{"content":"<p>getCountries 返回的国家 ID。购买时使用 any 或空值可自动选择国家。</p>\n","type":"text/plain"},"key":"country","value":""}],"variable":[]}},"response":[{"id":"725c36de-5aa3-4cf7-96c6-f7a13eded661","name":"响应示例","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":"action","value":"getPrices","description":"操作名称。"},{"key":"service","value":"","description":"getServicesList 返回的服务代码。购买时必填；查询价格时可用于筛选。","disabled":true},{"key":"country","value":"","description":"getCountries 返回的国家 ID。购买时使用 any 或空值可自动选择国家。","disabled":true}]},"description":"国家 → 服务 → 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":"08fe535a-7c9d-4a84-bd41-0cda833628ec","name":"API 错误示例: 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":"action","value":"getPrices","description":"操作名称。"},{"key":"service","value":"","description":"getServicesList 返回的服务代码。购买时必填；查询价格时可用于筛选。","disabled":true},{"key":"country","value":"","description":"getCountries 返回的国家 ID。购买时使用 any 或空值可自动选择国家。","disabled":true}]},"description":"国家 → 服务 → cost/count。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"8901b4f2-68aa-445a-9437-2f63e1b3d3b5"},{"name":"getPricesV2 · 各价格库存","id":"20e163b1-d14c-41c2-8bfd-fac90ad92216","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>国家 → 服务 → 价格 → 数量。</p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API 密钥，必填。</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>操作名称。</p>\n","type":"text/plain"},"key":"action","value":"getPricesV2"},{"disabled":true,"description":{"content":"<p>getServicesList 返回的服务代码。购买时必填；查询价格时可用于筛选。</p>\n","type":"text/plain"},"key":"service","value":""},{"disabled":true,"description":{"content":"<p>getCountries 返回的国家 ID。购买时使用 any 或空值可自动选择国家。</p>\n","type":"text/plain"},"key":"country","value":""}],"variable":[]}},"response":[{"id":"af08af47-c1a7-4160-bf83-469848ea8b9f","name":"响应示例","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":"action","value":"getPricesV2","description":"操作名称。"},{"key":"service","value":"","description":"getServicesList 返回的服务代码。购买时必填；查询价格时可用于筛选。","disabled":true},{"key":"country","value":"","description":"getCountries 返回的国家 ID。购买时使用 any 或空值可自动选择国家。","disabled":true}]},"description":"国家 → 服务 → 价格 → 数量。"},"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":"f20febe6-96dc-4814-83cf-7c2ebcf0b21d","name":"API 错误示例: 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":"action","value":"getPricesV2","description":"操作名称。"},{"key":"service","value":"","description":"getServicesList 返回的服务代码。购买时必填；查询价格时可用于筛选。","disabled":true},{"key":"country","value":"","description":"getCountries 返回的国家 ID。购买时使用 any 或空值可自动选择国家。","disabled":true}]},"description":"国家 → 服务 → 价格 → 数量。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"20e163b1-d14c-41c2-8bfd-fac90ad92216"},{"name":"getPricesV3 · 供应商价格","id":"d31eb5fd-7779-4b79-8968-a467c211104f","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>国家 → 服务 → price/count/providers。</p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API 密钥，必填。</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>操作名称。</p>\n","type":"text/plain"},"key":"action","value":"getPricesV3"},{"disabled":true,"description":{"content":"<p>getServicesList 返回的服务代码。购买时必填；查询价格时可用于筛选。</p>\n","type":"text/plain"},"key":"service","value":""},{"disabled":true,"description":{"content":"<p>getCountries 返回的国家 ID。购买时使用 any 或空值可自动选择国家。</p>\n","type":"text/plain"},"key":"country","value":""}],"variable":[]}},"response":[{"id":"1781115e-7cd6-40b7-a8b3-7901ce4830b8","name":"响应示例","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":"action","value":"getPricesV3","description":"操作名称。"},{"key":"service","value":"","description":"getServicesList 返回的服务代码。购买时必填；查询价格时可用于筛选。","disabled":true},{"key":"country","value":"","description":"getCountries 返回的国家 ID。购买时使用 any 或空值可自动选择国家。","disabled":true}]},"description":"国家 → 服务 → 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":"2dcd181b-9d1c-43f3-a3a4-b25a268c7d0d","name":"API 错误示例: 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":"action","value":"getPricesV3","description":"操作名称。"},{"key":"service","value":"","description":"getServicesList 返回的服务代码。购买时必填；查询价格时可用于筛选。","disabled":true},{"key":"country","value":"","description":"getCountries 返回的国家 ID。购买时使用 any 或空值可自动选择国家。","disabled":true}]},"description":"国家 → 服务 → 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":"d31eb5fd-7779-4b79-8968-a467c211104f"}],"id":"d11937ee-8b1e-43f9-bcb7-9e13862ebcdc","_postman_id":"d11937ee-8b1e-43f9-bcb7-9e13862ebcdc","description":""},{"name":"03 · 激活状态","item":[{"name":"getActiveActivations · 进行中的激活","id":"6be1cc22-f0a1-4e71-8ec8-681d7294bed4","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>列出进行中的激活。需要时手动选择激活 ID。空结果可能为 null。</p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API 密钥，必填。</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>操作名称。</p>\n","type":"text/plain"},"key":"action","value":"getActiveActivations"}],"variable":[]}},"response":[{"id":"264faab1-1213-4757-a335-0bdd0732acae","name":"响应示例","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":"action","value":"getActiveActivations","description":"操作名称。"}]},"description":"列出进行中的激活。需要时手动选择激活 ID。空结果可能为 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":"8a240f8d-0e49-477f-9342-e3cf8214bd7f","name":"没有进行中的激活","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":"action","value":"getActiveActivations","description":"操作名称。"}]},"description":"列出进行中的激活。需要时手动选择激活 ID。空结果可能为 null。"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"null"},{"id":"262387d8-16fd-4cae-871c-35f7777d6366","name":"API 错误示例: 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":"action","value":"getActiveActivations","description":"操作名称。"}]},"description":"列出进行中的激活。需要时手动选择激活 ID。空结果可能为 null。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"6be1cc22-f0a1-4e71-8ec8-681d7294bed4"},{"name":"getStatus · 状态与短信验证码","id":"e1fcc047-a5c4-43f6-b292-8c7070c97324","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>返回文本状态。STATUS_OK:<code> 保存 sms_code；等待状态会清除旧验证码。</code></p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API 密钥，必填。</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>操作名称。</p>\n","type":"text/plain"},"key":"action","value":"getStatus"},{"description":{"content":"<p>getNumber 或 getNumberV2 返回的激活 ID。</p>\n","type":"text/plain"},"key":"id","value":""}],"variable":[]}},"response":[{"id":"7c273781-e285-4c29-b7ff-a38a0feaee94","name":"响应示例","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":"action","value":"getStatus","description":"操作名称。"},{"key":"id","value":"","description":"getNumber 或 getNumberV2 返回的激活 ID。"}]},"description":"返回文本状态。STATUS_OK:<code> 保存 sms_code；等待状态会清除旧验证码。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"STATUS_WAIT_CODE"},{"id":"03b3871c-6835-42cd-a848-5c06470baa38","name":"响应示例","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":"action","value":"getStatus","description":"操作名称。"},{"key":"id","value":"","description":"getNumber 或 getNumberV2 返回的激活 ID。"}]},"description":"返回文本状态。STATUS_OK:<code> 保存 sms_code；等待状态会清除旧验证码。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"STATUS_WAIT_RETRY:123456"},{"id":"ed998632-37c8-4d18-ac9f-2ef2e145cf98","name":"响应示例","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":"action","value":"getStatus","description":"操作名称。"},{"key":"id","value":"","description":"getNumber 或 getNumberV2 返回的激活 ID。"}]},"description":"返回文本状态。STATUS_OK:<code> 保存 sms_code；等待状态会清除旧验证码。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"STATUS_WAIT_RESEND"},{"id":"cbfe923b-9db6-4e4e-9241-ab5bdaa46c61","name":"响应示例","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":"action","value":"getStatus","description":"操作名称。"},{"key":"id","value":"","description":"getNumber 或 getNumberV2 返回的激活 ID。"}]},"description":"返回文本状态。STATUS_OK:<code> 保存 sms_code；等待状态会清除旧验证码。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"STATUS_CANCEL"},{"id":"8f1dfa7f-1370-4f7a-9224-9111a8c7f90c","name":"响应示例","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":"action","value":"getStatus","description":"操作名称。"},{"key":"id","value":"","description":"getNumber 或 getNumberV2 返回的激活 ID。"}]},"description":"返回文本状态。STATUS_OK:<code> 保存 sms_code；等待状态会清除旧验证码。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"STATUS_OK:852508"},{"id":"876578b9-6815-4132-ae29-74037bfa064c","name":"API 错误示例: 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":"action","value":"getStatus","description":"操作名称。"},{"key":"id","value":"","description":"getNumber 或 getNumberV2 返回的激活 ID。"}]},"description":"返回文本状态。STATUS_OK:<code> 保存 sms_code；等待状态会清除旧验证码。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"e1fcc047-a5c4-43f6-b292-8c7070c97324"},{"name":"getStatusV2 · 详细状态","id":"7e1f61d4-15b0-4df0-9804-4cfbb950d322","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>返回 verificationType 以及短信或通话详情。sms.code 保存为 sms_code。</p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API 密钥，必填。</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>操作名称。</p>\n","type":"text/plain"},"key":"action","value":"getStatusV2"},{"description":{"content":"<p>getNumber 或 getNumberV2 返回的激活 ID。</p>\n","type":"text/plain"},"key":"id","value":""}],"variable":[]}},"response":[{"id":"99d93d46-8a95-412b-b28e-67f8df41fc27","name":"响应示例","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":"action","value":"getStatusV2","description":"操作名称。"},{"key":"id","value":"","description":"getNumber 或 getNumberV2 返回的激活 ID。"}]},"description":"返回 verificationType 以及短信或通话详情。sms.code 保存为 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":"bd44a381-b039-41aa-8800-60b6c3ddffef","name":"API 错误示例: 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":"action","value":"getStatusV2","description":"操作名称。"},{"key":"id","value":"","description":"getNumber 或 getNumberV2 返回的激活 ID。"}]},"description":"返回 verificationType 以及短信或通话详情。sms.code 保存为 sms_code。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"7e1f61d4-15b0-4df0-9804-4cfbb950d322"}],"id":"1f2824fa-021f-4b80-af96-d175ccfd42f1","_postman_id":"1f2824fa-021f-4b80-af96-d175ccfd42f1","description":""},{"name":"04 · 购买号码","item":[{"name":"getNumber · 购买号码","id":"5141782d-a833-44ef-aa87-dd6209e23c5a","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>创建激活并返回 ACCESS_NUMBER::。保存 activation_id 和 phone_number。</p>\n<p>购买号码或更改状态时，将 <code>enable_mutations</code> 设为 <code>true</code>，并单独发送所选请求。批量运行查询请求时，请保持为 <code>false</code>。</p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API 密钥，必填。</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>操作名称。</p>\n","type":"text/plain"},"key":"action","value":"getNumber"},{"description":{"content":"<p>getServicesList 返回的服务代码。购买时必填；查询价格时可用于筛选。</p>\n","type":"text/plain"},"key":"service","value":""},{"description":{"content":"<p>getCountries 返回的国家 ID。购买时使用 any 或空值可自动选择国家。</p>\n","type":"text/plain"},"key":"country","value":""},{"disabled":true,"description":{"content":"<p>最高购买价格，可选。</p>\n","type":"text/plain"},"key":"maxPrice","value":""},{"disabled":true,"description":{"content":"<p>最低购买价格，可选。</p>\n","type":"text/plain"},"key":"minPrice","value":""},{"disabled":true,"description":{"content":"<p>允许的供应商 ID，以逗号分隔。</p>\n","type":"text/plain"},"key":"providerIds","value":""},{"disabled":true,"description":{"content":"<p>排除的供应商 ID，以逗号分隔。</p>\n","type":"text/plain"},"key":"exceptProviderIds","value":""},{"disabled":true,"description":{"content":"<p>排除的电话号码前缀，以逗号分隔，例如 1628,147220。</p>\n","type":"text/plain"},"key":"phoneException","value":""}],"variable":[]}},"response":[{"id":"34f83b5d-4b08-4887-a7cf-cbd06f2abb42","name":"响应示例","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":"action","value":"getNumber","description":"操作名称。"},{"key":"service","value":"","description":"getServicesList 返回的服务代码。购买时必填；查询价格时可用于筛选。"},{"key":"country","value":"","description":"getCountries 返回的国家 ID。购买时使用 any 或空值可自动选择国家。"},{"key":"maxPrice","value":"","description":"最高购买价格，可选。","disabled":true},{"key":"minPrice","value":"","description":"最低购买价格，可选。","disabled":true},{"key":"providerIds","value":"","description":"允许的供应商 ID，以逗号分隔。","disabled":true},{"key":"exceptProviderIds","value":"","description":"排除的供应商 ID，以逗号分隔。","disabled":true},{"key":"phoneException","value":"","description":"排除的电话号码前缀，以逗号分隔，例如 1628,147220。","disabled":true}]},"description":"创建激活并返回 ACCESS_NUMBER:<activation_id>:<phone_number>。保存 activation_id 和 phone_number。\n\n购买号码或更改状态时，将 `enable_mutations` 设为 `true`，并单独发送所选请求。批量运行查询请求时，请保持为 `false`。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"ACCESS_NUMBER:38496653:66846426435"},{"id":"30010bde-1b52-4335-8bd9-76be68900daf","name":"API 错误示例: 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":"action","value":"getNumber","description":"操作名称。"},{"key":"service","value":"","description":"getServicesList 返回的服务代码。购买时必填；查询价格时可用于筛选。"},{"key":"country","value":"","description":"getCountries 返回的国家 ID。购买时使用 any 或空值可自动选择国家。"},{"key":"maxPrice","value":"","description":"最高购买价格，可选。","disabled":true},{"key":"minPrice","value":"","description":"最低购买价格，可选。","disabled":true},{"key":"providerIds","value":"","description":"允许的供应商 ID，以逗号分隔。","disabled":true},{"key":"exceptProviderIds","value":"","description":"排除的供应商 ID，以逗号分隔。","disabled":true},{"key":"phoneException","value":"","description":"排除的电话号码前缀，以逗号分隔，例如 1628,147220。","disabled":true}]},"description":"创建激活并返回 ACCESS_NUMBER:<activation_id>:<phone_number>。保存 activation_id 和 phone_number。\n\n购买号码或更改状态时，将 `enable_mutations` 设为 `true`，并单独发送所选请求。批量运行查询请求时，请保持为 `false`。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"NO_NUMBERS"},{"id":"5339eef8-dd1d-4f5a-af56-b7bfd01d6281","name":"API 错误示例: 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":"action","value":"getNumber","description":"操作名称。"},{"key":"service","value":"","description":"getServicesList 返回的服务代码。购买时必填；查询价格时可用于筛选。"},{"key":"country","value":"","description":"getCountries 返回的国家 ID。购买时使用 any 或空值可自动选择国家。"},{"key":"maxPrice","value":"","description":"最高购买价格，可选。","disabled":true},{"key":"minPrice","value":"","description":"最低购买价格，可选。","disabled":true},{"key":"providerIds","value":"","description":"允许的供应商 ID，以逗号分隔。","disabled":true},{"key":"exceptProviderIds","value":"","description":"排除的供应商 ID，以逗号分隔。","disabled":true},{"key":"phoneException","value":"","description":"排除的电话号码前缀，以逗号分隔，例如 1628,147220。","disabled":true}]},"description":"创建激活并返回 ACCESS_NUMBER:<activation_id>:<phone_number>。保存 activation_id 和 phone_number。\n\n购买号码或更改状态时，将 `enable_mutations` 设为 `true`，并单独发送所选请求。批量运行查询请求时，请保持为 `false`。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"NO_BALANCE"},{"id":"62c24148-0dee-4b22-ba0a-5e8562812468","name":"API 错误示例: 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":"action","value":"getNumber","description":"操作名称。"},{"key":"service","value":"","description":"getServicesList 返回的服务代码。购买时必填；查询价格时可用于筛选。"},{"key":"country","value":"","description":"getCountries 返回的国家 ID。购买时使用 any 或空值可自动选择国家。"},{"key":"maxPrice","value":"","description":"最高购买价格，可选。","disabled":true},{"key":"minPrice","value":"","description":"最低购买价格，可选。","disabled":true},{"key":"providerIds","value":"","description":"允许的供应商 ID，以逗号分隔。","disabled":true},{"key":"exceptProviderIds","value":"","description":"排除的供应商 ID，以逗号分隔。","disabled":true},{"key":"phoneException","value":"","description":"排除的电话号码前缀，以逗号分隔，例如 1628,147220。","disabled":true}]},"description":"创建激活并返回 ACCESS_NUMBER:<activation_id>:<phone_number>。保存 activation_id 和 phone_number。\n\n购买号码或更改状态时，将 `enable_mutations` 设为 `true`，并单独发送所选请求。批量运行查询请求时，请保持为 `false`。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"5141782d-a833-44ef-aa87-dd6209e23c5a"},{"name":"getNumberV2 · 购买号码及详细信息","id":"00cc90a0-0a63-474a-b847-dbafa53eb05a","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>创建激活并返回包含 activationId、phoneNumber、价格和时间的 JSON。activationCancel 表示允许取消的时间，activationEnd 表示到期时间。</p>\n<p>购买号码或更改状态时，将 <code>enable_mutations</code> 设为 <code>true</code>，并单独发送所选请求。批量运行查询请求时，请保持为 <code>false</code>。</p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API 密钥，必填。</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>操作名称。</p>\n","type":"text/plain"},"key":"action","value":"getNumberV2"},{"description":{"content":"<p>getServicesList 返回的服务代码。购买时必填；查询价格时可用于筛选。</p>\n","type":"text/plain"},"key":"service","value":""},{"description":{"content":"<p>getCountries 返回的国家 ID。购买时使用 any 或空值可自动选择国家。</p>\n","type":"text/plain"},"key":"country","value":""},{"disabled":true,"description":{"content":"<p>最高购买价格，可选。</p>\n","type":"text/plain"},"key":"maxPrice","value":""},{"disabled":true,"description":{"content":"<p>最低购买价格，可选。</p>\n","type":"text/plain"},"key":"minPrice","value":""},{"disabled":true,"description":{"content":"<p>允许的供应商 ID，以逗号分隔。</p>\n","type":"text/plain"},"key":"providerIds","value":""},{"disabled":true,"description":{"content":"<p>排除的供应商 ID，以逗号分隔。</p>\n","type":"text/plain"},"key":"exceptProviderIds","value":""},{"disabled":true,"description":{"content":"<p>排除的电话号码前缀，以逗号分隔，例如 1628,147220。</p>\n","type":"text/plain"},"key":"phoneException","value":""}],"variable":[]}},"response":[{"id":"5da13365-6870-40a4-a2a9-365432575521","name":"响应示例","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":"action","value":"getNumberV2","description":"操作名称。"},{"key":"service","value":"","description":"getServicesList 返回的服务代码。购买时必填；查询价格时可用于筛选。"},{"key":"country","value":"","description":"getCountries 返回的国家 ID。购买时使用 any 或空值可自动选择国家。"},{"key":"maxPrice","value":"","description":"最高购买价格，可选。","disabled":true},{"key":"minPrice","value":"","description":"最低购买价格，可选。","disabled":true},{"key":"providerIds","value":"","description":"允许的供应商 ID，以逗号分隔。","disabled":true},{"key":"exceptProviderIds","value":"","description":"排除的供应商 ID，以逗号分隔。","disabled":true},{"key":"phoneException","value":"","description":"排除的电话号码前缀，以逗号分隔，例如 1628,147220。","disabled":true}]},"description":"创建激活并返回包含 activationId、phoneNumber、价格和时间的 JSON。activationCancel 表示允许取消的时间，activationEnd 表示到期时间。\n\n购买号码或更改状态时，将 `enable_mutations` 设为 `true`，并单独发送所选请求。批量运行查询请求时，请保持为 `false`。"},"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":"dc87af84-43ff-4b3f-a7f5-8dbe164e0a68","name":"API 错误示例: 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":"action","value":"getNumberV2","description":"操作名称。"},{"key":"service","value":"","description":"getServicesList 返回的服务代码。购买时必填；查询价格时可用于筛选。"},{"key":"country","value":"","description":"getCountries 返回的国家 ID。购买时使用 any 或空值可自动选择国家。"},{"key":"maxPrice","value":"","description":"最高购买价格，可选。","disabled":true},{"key":"minPrice","value":"","description":"最低购买价格，可选。","disabled":true},{"key":"providerIds","value":"","description":"允许的供应商 ID，以逗号分隔。","disabled":true},{"key":"exceptProviderIds","value":"","description":"排除的供应商 ID，以逗号分隔。","disabled":true},{"key":"phoneException","value":"","description":"排除的电话号码前缀，以逗号分隔，例如 1628,147220。","disabled":true}]},"description":"创建激活并返回包含 activationId、phoneNumber、价格和时间的 JSON。activationCancel 表示允许取消的时间，activationEnd 表示到期时间。\n\n购买号码或更改状态时，将 `enable_mutations` 设为 `true`，并单独发送所选请求。批量运行查询请求时，请保持为 `false`。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"00cc90a0-0a63-474a-b847-dbafa53eb05a"}],"id":"d767f350-537f-4e0f-b70e-840476092762","description":"<p>购买号码或更改状态时，将 <code>enable_mutations</code> 设为 <code>true</code>，并单独发送所选请求。批量运行查询请求时，请保持为 <code>false</code>。</p>\n","_postman_id":"d767f350-537f-4e0f-b70e-840476092762"},{"name":"05 · 更改激活状态","item":[{"name":"setStatus · 1 · 号码已就绪","id":"0c6904c6-41f0-4bd1-a934-44b6955c04e1","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>更改一个激活的状态。选择所需状态并单独发送此请求。</p>\n<p>购买号码或更改状态时，将 <code>enable_mutations</code> 设为 <code>true</code>，并单独发送所选请求。批量运行查询请求时，请保持为 <code>false</code>。</p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API 密钥，必填。</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>操作名称。</p>\n","type":"text/plain"},"key":"action","value":"setStatus"},{"description":{"content":"<p>getNumber 或 getNumberV2 返回的激活 ID。</p>\n","type":"text/plain"},"key":"id","value":""},{"description":{"content":"<p>目标激活状态。</p>\n","type":"text/plain"},"key":"status","value":"1"}],"variable":[]}},"response":[{"id":"78313434-587b-48ce-9d44-6216ba656d1c","name":"响应示例","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":"action","value":"setStatus","description":"操作名称。"},{"key":"id","value":"","description":"getNumber 或 getNumberV2 返回的激活 ID。"},{"key":"status","value":"1","description":"目标激活状态。"}]},"description":"更改一个激活的状态。选择所需状态并单独发送此请求。\n\n购买号码或更改状态时，将 `enable_mutations` 设为 `true`，并单独发送所选请求。批量运行查询请求时，请保持为 `false`。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"ACCESS_READY"},{"id":"0cac1d23-452f-488a-92eb-f21b83ca38a2","name":"API 错误示例: 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":"action","value":"setStatus","description":"操作名称。"},{"key":"id","value":"","description":"getNumber 或 getNumberV2 返回的激活 ID。"},{"key":"status","value":"1","description":"目标激活状态。"}]},"description":"更改一个激活的状态。选择所需状态并单独发送此请求。\n\n购买号码或更改状态时，将 `enable_mutations` 设为 `true`，并单独发送所选请求。批量运行查询请求时，请保持为 `false`。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_STATUS"},{"id":"295b9454-5d71-4e1b-9ff0-c5548ea6877c","name":"API 错误示例: 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":"action","value":"setStatus","description":"操作名称。"},{"key":"id","value":"","description":"getNumber 或 getNumberV2 返回的激活 ID。"},{"key":"status","value":"1","description":"目标激活状态。"}]},"description":"更改一个激活的状态。选择所需状态并单独发送此请求。\n\n购买号码或更改状态时，将 `enable_mutations` 设为 `true`，并单独发送所选请求。批量运行查询请求时，请保持为 `false`。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"0c6904c6-41f0-4bd1-a934-44b6955c04e1"},{"name":"setStatus · 3 · 请求下一个验证码","id":"44dac8cc-face-47de-9825-72fdf42a2514","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>更改一个激活的状态。选择所需状态并单独发送此请求。</p>\n<p>购买号码或更改状态时，将 <code>enable_mutations</code> 设为 <code>true</code>，并单独发送所选请求。批量运行查询请求时，请保持为 <code>false</code>。</p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API 密钥，必填。</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>操作名称。</p>\n","type":"text/plain"},"key":"action","value":"setStatus"},{"description":{"content":"<p>getNumber 或 getNumberV2 返回的激活 ID。</p>\n","type":"text/plain"},"key":"id","value":""},{"description":{"content":"<p>目标激活状态。</p>\n","type":"text/plain"},"key":"status","value":"3"}],"variable":[]}},"response":[{"id":"714dc550-587a-4c51-9f06-bb9813c757bf","name":"响应示例","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":"action","value":"setStatus","description":"操作名称。"},{"key":"id","value":"","description":"getNumber 或 getNumberV2 返回的激活 ID。"},{"key":"status","value":"3","description":"目标激活状态。"}]},"description":"更改一个激活的状态。选择所需状态并单独发送此请求。\n\n购买号码或更改状态时，将 `enable_mutations` 设为 `true`，并单独发送所选请求。批量运行查询请求时，请保持为 `false`。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"ACCESS_RETRY_GET"},{"id":"04f952f6-9fea-45ac-98d5-f3e49efa33d9","name":"API 错误示例: 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":"action","value":"setStatus","description":"操作名称。"},{"key":"id","value":"","description":"getNumber 或 getNumberV2 返回的激活 ID。"},{"key":"status","value":"3","description":"目标激活状态。"}]},"description":"更改一个激活的状态。选择所需状态并单独发送此请求。\n\n购买号码或更改状态时，将 `enable_mutations` 设为 `true`，并单独发送所选请求。批量运行查询请求时，请保持为 `false`。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_STATUS"},{"id":"a517a4c0-14cc-455b-a6f5-9b8a3dfdc485","name":"API 错误示例: 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":"action","value":"setStatus","description":"操作名称。"},{"key":"id","value":"","description":"getNumber 或 getNumberV2 返回的激活 ID。"},{"key":"status","value":"3","description":"目标激活状态。"}]},"description":"更改一个激活的状态。选择所需状态并单独发送此请求。\n\n购买号码或更改状态时，将 `enable_mutations` 设为 `true`，并单独发送所选请求。批量运行查询请求时，请保持为 `false`。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"44dac8cc-face-47de-9825-72fdf42a2514"},{"name":"setStatus · 6 · 完成激活","id":"10d6648b-1923-4e71-afdf-7c076411fe0a","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>更改一个激活的状态。选择所需状态并单独发送此请求。</p>\n<p>购买号码或更改状态时，将 <code>enable_mutations</code> 设为 <code>true</code>，并单独发送所选请求。批量运行查询请求时，请保持为 <code>false</code>。</p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API 密钥，必填。</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>操作名称。</p>\n","type":"text/plain"},"key":"action","value":"setStatus"},{"description":{"content":"<p>getNumber 或 getNumberV2 返回的激活 ID。</p>\n","type":"text/plain"},"key":"id","value":""},{"description":{"content":"<p>目标激活状态。</p>\n","type":"text/plain"},"key":"status","value":"6"}],"variable":[]}},"response":[{"id":"a62ccef8-be31-4b78-9c6a-e1e4ae885b73","name":"响应示例","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":"action","value":"setStatus","description":"操作名称。"},{"key":"id","value":"","description":"getNumber 或 getNumberV2 返回的激活 ID。"},{"key":"status","value":"6","description":"目标激活状态。"}]},"description":"更改一个激活的状态。选择所需状态并单独发送此请求。\n\n购买号码或更改状态时，将 `enable_mutations` 设为 `true`，并单独发送所选请求。批量运行查询请求时，请保持为 `false`。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"ACCESS_ACTIVATION"},{"id":"4649099d-e3e3-47f6-9e9d-284526ed4eff","name":"API 错误示例: 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":"action","value":"setStatus","description":"操作名称。"},{"key":"id","value":"","description":"getNumber 或 getNumberV2 返回的激活 ID。"},{"key":"status","value":"6","description":"目标激活状态。"}]},"description":"更改一个激活的状态。选择所需状态并单独发送此请求。\n\n购买号码或更改状态时，将 `enable_mutations` 设为 `true`，并单独发送所选请求。批量运行查询请求时，请保持为 `false`。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_STATUS"},{"id":"76aef3d9-8ebf-4de8-bdc2-ed468a3f65cb","name":"API 错误示例: 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":"action","value":"setStatus","description":"操作名称。"},{"key":"id","value":"","description":"getNumber 或 getNumberV2 返回的激活 ID。"},{"key":"status","value":"6","description":"目标激活状态。"}]},"description":"更改一个激活的状态。选择所需状态并单独发送此请求。\n\n购买号码或更改状态时，将 `enable_mutations` 设为 `true`，并单独发送所选请求。批量运行查询请求时，请保持为 `false`。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"10d6648b-1923-4e71-afdf-7c076411fe0a"},{"name":"setStatus · 8 · 取消激活","id":"f55221ae-813b-492d-ac72-d070be4ad9c8","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>更改一个激活的状态。选择所需状态并单独发送此请求。</p>\n<p>购买号码或更改状态时，将 <code>enable_mutations</code> 设为 <code>true</code>，并单独发送所选请求。批量运行查询请求时，请保持为 <code>false</code>。</p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API 密钥，必填。</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>操作名称。</p>\n","type":"text/plain"},"key":"action","value":"setStatus"},{"description":{"content":"<p>getNumber 或 getNumberV2 返回的激活 ID。</p>\n","type":"text/plain"},"key":"id","value":""},{"description":{"content":"<p>目标激活状态。</p>\n","type":"text/plain"},"key":"status","value":"8"}],"variable":[]}},"response":[{"id":"8925ada3-f82d-4b95-a69f-30ae760edd54","name":"响应示例","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":"action","value":"setStatus","description":"操作名称。"},{"key":"id","value":"","description":"getNumber 或 getNumberV2 返回的激活 ID。"},{"key":"status","value":"8","description":"目标激活状态。"}]},"description":"更改一个激活的状态。选择所需状态并单独发送此请求。\n\n购买号码或更改状态时，将 `enable_mutations` 设为 `true`，并单独发送所选请求。批量运行查询请求时，请保持为 `false`。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"ACCESS_CANCEL"},{"id":"6b692f49-a292-4da1-aadf-390e4732668e","name":"API 错误示例: 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":"action","value":"setStatus","description":"操作名称。"},{"key":"id","value":"","description":"getNumber 或 getNumberV2 返回的激活 ID。"},{"key":"status","value":"8","description":"目标激活状态。"}]},"description":"更改一个激活的状态。选择所需状态并单独发送此请求。\n\n购买号码或更改状态时，将 `enable_mutations` 设为 `true`，并单独发送所选请求。批量运行查询请求时，请保持为 `false`。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_STATUS"},{"id":"6ccf09c5-8470-4819-ab78-bdeff1bf70d3","name":"API 错误示例: 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":"action","value":"setStatus","description":"操作名称。"},{"key":"id","value":"","description":"getNumber 或 getNumberV2 返回的激活 ID。"},{"key":"status","value":"8","description":"目标激活状态。"}]},"description":"更改一个激活的状态。选择所需状态并单独发送此请求。\n\n购买号码或更改状态时，将 `enable_mutations` 设为 `true`，并单独发送所选请求。批量运行查询请求时，请保持为 `false`。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"f55221ae-813b-492d-ac72-d070be4ad9c8"},{"name":"setStatus · -1 · 取消激活（另一种状态值）","id":"0726c37f-2adc-444b-8169-bc80844d99b2","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>更改一个激活的状态。选择所需状态并单独发送此请求。</p>\n<p>购买号码或更改状态时，将 <code>enable_mutations</code> 设为 <code>true</code>，并单独发送所选请求。批量运行查询请求时，请保持为 <code>false</code>。</p>\n","urlObject":{"path":["stubs","handler_api.php"],"host":["https://api.grizzlysms.com"],"query":[{"description":{"content":"<p>API 密钥，必填。</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>操作名称。</p>\n","type":"text/plain"},"key":"action","value":"setStatus"},{"description":{"content":"<p>getNumber 或 getNumberV2 返回的激活 ID。</p>\n","type":"text/plain"},"key":"id","value":""},{"description":{"content":"<p>目标激活状态。</p>\n","type":"text/plain"},"key":"status","value":"-1"}],"variable":[]}},"response":[{"id":"7c30f6bf-b7fe-4df7-b961-54c3251056e3","name":"响应示例","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":"action","value":"setStatus","description":"操作名称。"},{"key":"id","value":"","description":"getNumber 或 getNumberV2 返回的激活 ID。"},{"key":"status","value":"-1","description":"目标激活状态。"}]},"description":"更改一个激活的状态。选择所需状态并单独发送此请求。\n\n购买号码或更改状态时，将 `enable_mutations` 设为 `true`，并单独发送所选请求。批量运行查询请求时，请保持为 `false`。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"ACCESS_CANCEL"},{"id":"79ad6fd6-01e1-4153-ac9e-c0d40be71641","name":"API 错误示例: 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":"action","value":"setStatus","description":"操作名称。"},{"key":"id","value":"","description":"getNumber 或 getNumberV2 返回的激活 ID。"},{"key":"status","value":"-1","description":"目标激活状态。"}]},"description":"更改一个激活的状态。选择所需状态并单独发送此请求。\n\n购买号码或更改状态时，将 `enable_mutations` 设为 `true`，并单独发送所选请求。批量运行查询请求时，请保持为 `false`。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_STATUS"},{"id":"c51e8755-293f-48b0-9d50-bb910ac777d1","name":"API 错误示例: 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":"action","value":"setStatus","description":"操作名称。"},{"key":"id","value":"","description":"getNumber 或 getNumberV2 返回的激活 ID。"},{"key":"status","value":"-1","description":"目标激活状态。"}]},"description":"更改一个激活的状态。选择所需状态并单独发送此请求。\n\n购买号码或更改状态时，将 `enable_mutations` 设为 `true`，并单独发送所选请求。批量运行查询请求时，请保持为 `false`。"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"BAD_KEY"}],"_postman_id":"0726c37f-2adc-444b-8169-bc80844d99b2"}],"id":"8798fb8f-da4f-49a9-afbd-7e9cbf3b2cfd","description":"<p>购买号码或更改状态时，将 <code>enable_mutations</code> 设为 <code>true</code>，并单独发送所选请求。批量运行查询请求时，请保持为 <code>false</code>。</p>\n","_postman_id":"8798fb8f-da4f-49a9-afbd-7e9cbf3b2cfd"}],"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":"477fce2e-bd54-4247-b7c6-6e5e516687d7"}},{"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":"2a79f46e-54c8-4f46-bc33-c02442182f89"}}],"variable":[{"key":"base_url","value":"https://api.grizzlysms.com","description":"API 基础地址，不含末尾斜杠。"},{"key":"api_key","value":"","description":"在环境中设置 API 密钥。"},{"key":"service","value":"","description":"服务代码。"},{"key":"country","value":"","description":"购买时填写国家 ID、any 或空值。"},{"key":"activation_id","value":"","description":"购买后自动保存的激活 ID。"},{"key":"phone_number","value":"","description":"购买后自动保存的电话号码。"},{"key":"sms_code","value":"","description":"最近的短信验证码。"},{"key":"balance","value":"","description":"最近查询的余额。"},{"key":"max_price","value":"","description":"最高购买价格。"},{"key":"min_price","value":"","description":"最低购买价格。"},{"key":"provider_ids","value":"","description":"允许的供应商 ID。"},{"key":"except_provider_ids","value":"","description":"排除的供应商 ID。"},{"key":"phone_exception","value":"","description":"排除的号码前缀。"},{"key":"enable_mutations","value":"false","description":"true 允许购买和更改状态。"}]}