{"openapi":"3.1.0","info":{"title":"Partner API","version":"1.0.0","description":"\u041f\u0430\u0440\u0442\u043d\u0451\u0440\u0441\u043a\u0438\u0439 API, \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u0439 \u0441 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u043c SMS-Activate. \u0415\u0441\u043b\u0438 \u0432\u0430\u0448 \u0441\u043e\u0444\u0442 \u0443\u0436\u0435 \u0443\u043c\u0435\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 SMS-Activate, \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u0435 \u0432 \u0435\u0433\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u0445\u043e\u0441\u0442 \u2014 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u043c\u0435\u043d\u044f\u0442\u044c \u043d\u0435 \u043d\u0443\u0436\u043d\u043e.\n\n\u0412\u0441\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0438\u0434\u0443\u0442 GET \u043d\u0430 \u043e\u0434\u0438\u043d \u0430\u0434\u0440\u0435\u0441, \u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u0442\u0441\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c `action`. \u041a\u043b\u044e\u0447 \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u0442\u0441\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c `api_key` \u0438 \u0441\u043e\u0437\u0434\u0430\u0451\u0442\u0441\u044f \u0432 \u043b\u0438\u0447\u043d\u043e\u043c \u043a\u0430\u0431\u0438\u043d\u0435\u0442\u0435, \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \u00abAPI \u0434\u043e\u0441\u0442\u0443\u043f\u00bb.\n\n\u0427\u0430\u0441\u0442\u044c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u043e\u0439 (`ACCESS_BALANCE:100.5`), \u0447\u0430\u0441\u0442\u044c \u2014 JSON. \u0422\u0430\u043a \u0443\u0441\u0442\u0440\u043e\u0435\u043d \u0441\u0430\u043c \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b, \u0438 \u043c\u044b \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0435\u043c \u0435\u0433\u043e \u0434\u043e\u0441\u043b\u043e\u0432\u043d\u043e \u0440\u0430\u0434\u0438 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u0438."},"servers":[{"url":"\/stubs\/handler_api.php"}],"components":{"securitySchemes":{"apiKeyQuery":{"type":"apiKey","name":"api_key","in":"query"}},"parameters":{"service":{"name":"service","in":"query","required":true,"schema":{"type":"string","example":"tg"},"description":"\u041a\u043e\u0434 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0438\u0437 getServicesList."},"serviceOptional":{"name":"service","in":"query","required":false,"schema":{"type":"string","example":"tg"},"description":"\u041a\u043e\u0434 \u0441\u0435\u0440\u0432\u0438\u0441\u0430. \u041d\u0435 \u0437\u0430\u0434\u0430\u043d \u2014 \u043e\u0442\u0434\u0430\u044e\u0442\u0441\u044f \u0432\u0441\u0435."},"country":{"name":"country","in":"query","required":true,"schema":{"type":"integer","example":123},"description":"ID \u0441\u0442\u0440\u0430\u043d\u044b \u0438\u0437 getCountries."},"countryOptional":{"name":"country","in":"query","required":false,"schema":{"type":"integer","example":123},"description":"ID \u0441\u0442\u0440\u0430\u043d\u044b. \u041d\u0435 \u0437\u0430\u0434\u0430\u043d \u2014 \u043e\u0442\u0434\u0430\u044e\u0442\u0441\u044f \u0432\u0441\u0435."},"maxPrice":{"name":"maxPrice","in":"query","required":false,"schema":{"type":"number","example":0.5},"description":"\u041f\u043e\u0442\u043e\u043b\u043e\u043a \u0446\u0435\u043d\u044b. \u0414\u043e\u0440\u043e\u0436\u0435 \u043d\u0435\u0433\u043e \u043d\u043e\u043c\u0435\u0440 \u043a\u0443\u043f\u043b\u0435\u043d \u043d\u0435 \u0431\u0443\u0434\u0435\u0442; \u043d\u0435 \u0437\u0430\u0434\u0430\u043d \u2014 \u0431\u0435\u0440\u0451\u0442\u0441\u044f \u0441\u0430\u043c\u044b\u0439 \u0434\u0435\u0448\u0451\u0432\u044b\u0439 \u0442\u0430\u0440\u0438\u0444."},"activationId":{"name":"id","in":"query","required":true,"schema":{"type":"integer","example":123456},"description":"ID \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u0438 \u2014 \u0442\u043e\u0442, \u0447\u0442\u043e \u0432\u0435\u0440\u043d\u0443\u043b getNumber."}},"responses":{"unauthorized":{"description":"\u041a\u043b\u044e\u0447 \u043d\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u043d \u0438\u043b\u0438 \u043d\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u0435\u043d","content":{"application\/json":{"examples":{"badKey":{"value":{"title":"BAD_KEY","details":"Unauthorized"}},"noKey":{"value":{"title":"NO_KEY","details":"Unauthorized"}}}}}},"notFound":{"description":"\u0410\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u044f \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u0430 \u0441\u0440\u0435\u0434\u0438 \u0432\u0430\u0448\u0438\u0445","content":{"application\/json":{"examples":{"notFound":{"value":{"title":"NOT_FOUND","details":"Activation Not Found"}}}}}},"unprocessable":{"description":"\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0438\u043b\u0438 \u043d\u0435\u0432\u0435\u0440\u0435\u043d","content":{"application\/json":{"examples":{"required":{"value":{"title":"UNPROCESSABLE_ENTITY","details":"Validation failed","info":{"field":"service","code":"REQUIRED","message":"Param 'service' is required."}}}}}}},"serverError":{"description":"\u0421\u0431\u043e\u0439 \u043d\u0430 \u043d\u0430\u0448\u0435\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u0435","content":{"application\/json":{"examples":{"serverError":{"value":{"title":"SERVER_ERROR","details":"Server Gone"}}}}}}}},"security":[{"apiKeyQuery":[]}],"paths":{"?action=getBalance":{"get":{"operationId":"getBalance","summary":"\u0411\u0430\u043b\u0430\u043d\u0441","description":"\u0422\u0435\u043a\u0443\u0449\u0438\u0439 \u0431\u0430\u043b\u0430\u043d\u0441 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0430.","x-safe":true,"responses":{"200":{"description":"\u0411\u0430\u043b\u0430\u043d\u0441","content":{"text\/plain":{"examples":{"success":{"value":"ACCESS_BALANCE:100.5"}}}}},"401":{"$ref":"#\/components\/responses\/unauthorized"},"500":{"$ref":"#\/components\/responses\/serverError"}}}},"?action=getNumber":{"get":{"operationId":"getNumber","summary":"\u041a\u0443\u043f\u0438\u0442\u044c \u043d\u043e\u043c\u0435\u0440","description":"\u041f\u043e\u043a\u0443\u043f\u0430\u0435\u0442 \u043d\u043e\u043c\u0435\u0440 \u0438 \u0441\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0434\u0435\u043d\u044c\u0433\u0438 \u0441 \u0431\u0430\u043b\u0430\u043d\u0441\u0430. \u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 ID \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u0438 \u2014 \u043f\u043e \u043d\u0435\u043c\u0443 \u043f\u043e\u0442\u043e\u043c \u0441\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u044e\u0442 \u0441\u0442\u0430\u0442\u0443\u0441.\n\n\u0422\u0430\u0440\u0438\u0444 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u043c\u044b: \u043f\u0435\u0440\u0435\u0431\u0438\u0440\u0430\u0435\u043c \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043e\u0442 \u0434\u0435\u0448\u0451\u0432\u043e\u0433\u043e \u043a \u0434\u043e\u0440\u043e\u0433\u043e\u043c\u0443 \u0432 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445 maxPrice, \u043f\u043e\u043a\u0430 \u043d\u043e\u043c\u0435\u0440 \u043d\u0435 \u043d\u0430\u0439\u0434\u0451\u0442\u0441\u044f. NO_NUMBERS \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u0433\u0434\u0430 \u043d\u043e\u043c\u0435\u0440\u043e\u0432 \u043d\u0435\u0442 \u043d\u0438 \u0443 \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0449\u0438\u043a\u0430.","x-safe":false,"parameters":[{"$ref":"#\/components\/parameters\/service"},{"$ref":"#\/components\/parameters\/country"},{"$ref":"#\/components\/parameters\/maxPrice"}],"responses":{"200":{"description":"\u041d\u043e\u043c\u0435\u0440 \u043a\u0443\u043f\u043b\u0435\u043d \u043b\u0438\u0431\u043e \u043d\u043e\u043c\u0435\u0440\u043e\u0432 \u043d\u0435\u0442","content":{"text\/plain":{"examples":{"success":{"summary":"\u041d\u043e\u043c\u0435\u0440 \u043a\u0443\u043f\u043b\u0435\u043d","value":"ACCESS_NUMBER:123456:+79001234567"},"noNumbers":{"summary":"\u041d\u043e\u043c\u0435\u0440\u043e\u0432 \u043d\u0435\u0442","value":"NO_NUMBERS"}}}}},"400":{"description":"maxPrice \u043d\u0438\u0436\u0435 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u0446\u0435\u043d\u044b \u2014 \u043e\u043d\u0430 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0432 info.min","content":{"application\/json":{"examples":{"wrongMaxPrice":{"value":{"title":"WRONG_MAX_PRICE","details":"The maximum price is less than the permitted price","info":{"min":0.5}}}}}}},"401":{"$ref":"#\/components\/responses\/unauthorized"},"402":{"description":"\u041d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u0434\u0435\u043d\u0435\u0433 \u043d\u0430 \u0431\u0430\u043b\u0430\u043d\u0441\u0435","content":{"application\/json":{"examples":{"noBalance":{"value":{"title":"NO_BALANCE","details":"Payment Required"}}}}}},"403":{"description":"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0430\u044f \u043f\u043e\u043a\u0443\u043f\u043a\u0430 \u0435\u0449\u0451 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f","content":{"application\/json":{"examples":{"channelsLimit":{"value":{"title":"CHANNELS_LIMIT","details":"You have reached the maximum number of concurrent threads (purchases) allowed for your account. Contact the technical support."}}}}}},"422":{"$ref":"#\/components\/responses\/unprocessable"},"500":{"$ref":"#\/components\/responses\/serverError"}}}},"?action=getNumberV2":{"get":{"operationId":"getNumberV2","summary":"\u041a\u0443\u043f\u0438\u0442\u044c \u043d\u043e\u043c\u0435\u0440 (JSON)","description":"\u0422\u043e \u0436\u0435, \u0447\u0442\u043e getNumber, \u043d\u043e \u043e\u0442\u0432\u0435\u0442 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u043c. \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0438 \u043e\u0448\u0438\u0431\u043a\u0438 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0442.","x-safe":false,"parameters":[{"$ref":"#\/components\/parameters\/service"},{"$ref":"#\/components\/parameters\/country"},{"$ref":"#\/components\/parameters\/maxPrice"}],"responses":{"200":{"description":"\u041d\u043e\u043c\u0435\u0440 \u043a\u0443\u043f\u043b\u0435\u043d \u043b\u0438\u0431\u043e \u043d\u043e\u043c\u0435\u0440\u043e\u0432 \u043d\u0435\u0442","content":{"application\/json":{"examples":{"success":{"summary":"\u041d\u043e\u043c\u0435\u0440 \u043a\u0443\u043f\u043b\u0435\u043d","value":{"activationId":"123456","phoneNumber":"+79001234567","activationCost":0.5,"currency":840,"countryCode":123,"canGetAnotherSms":true,"activationTime":"2026-07-17T12:00:00+00:00","activationEndTime":"2026-07-17T12:20:00+00:00","activationOperator":"any"}},"noNumbers":{"summary":"\u041d\u043e\u043c\u0435\u0440\u043e\u0432 \u043d\u0435\u0442 \u2014 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0441\u0442\u0440\u043e\u043a\u043e\u0439","value":"NO_NUMBERS"}}}}},"400":{"description":"maxPrice \u043d\u0438\u0436\u0435 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u0446\u0435\u043d\u044b","content":{"application\/json":{"examples":{"wrongMaxPrice":{"value":{"title":"WRONG_MAX_PRICE","details":"The maximum price is less than the permitted price","info":{"min":0.5}}}}}}},"401":{"$ref":"#\/components\/responses\/unauthorized"},"402":{"description":"\u041d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u0434\u0435\u043d\u0435\u0433 \u043d\u0430 \u0431\u0430\u043b\u0430\u043d\u0441\u0435","content":{"application\/json":{"examples":{"noBalance":{"value":{"title":"NO_BALANCE","details":"Payment Required"}}}}}},"422":{"$ref":"#\/components\/responses\/unprocessable"},"500":{"$ref":"#\/components\/responses\/serverError"}}}},"?action=getStatus":{"get":{"operationId":"getStatus","summary":"\u0421\u0442\u0430\u0442\u0443\u0441 \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u0438","description":"\u0422\u0435\u043a\u0443\u0449\u0435\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u0438. \u041a\u043e\u0434 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0432 STATUS_OK \u043f\u043e\u0441\u043b\u0435 \u0434\u0432\u043e\u0435\u0442\u043e\u0447\u0438\u044f.","x-safe":true,"parameters":[{"$ref":"#\/components\/parameters\/activationId"}],"responses":{"200":{"description":"\u0421\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u0438","content":{"text\/plain":{"examples":{"waitCode":{"summary":"\u0416\u0434\u0451\u043c SMS","value":"STATUS_WAIT_CODE"},"waitResend":{"summary":"\u0416\u0434\u0451\u043c \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u0443\u044e SMS","value":"STATUS_WAIT_RESEND"},"ok":{"summary":"\u041a\u043e\u0434 \u043f\u043e\u043b\u0443\u0447\u0435\u043d","value":"STATUS_OK:123456"},"cancel":{"summary":"\u0410\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u044f \u043e\u0442\u043c\u0435\u043d\u0435\u043d\u0430","value":"STATUS_CANCEL"}}}}},"401":{"$ref":"#\/components\/responses\/unauthorized"},"404":{"$ref":"#\/components\/responses\/notFound"},"422":{"$ref":"#\/components\/responses\/unprocessable"},"500":{"$ref":"#\/components\/responses\/serverError"}}}},"?action=getStatusV2":{"get":{"operationId":"getStatusV2","summary":"\u0421\u0442\u0430\u0442\u0443\u0441 \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u0438 (JSON)","description":"\u0422\u043e \u0436\u0435, \u0447\u0442\u043e getStatus, \u043d\u043e \u0441 \u0442\u0435\u043a\u0441\u0442\u043e\u043c SMS \u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c. \u041f\u043e\u043a\u0430 SMS \u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u0430, \u043e\u0442\u0432\u0435\u0442 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0441\u0442\u0440\u043e\u043a\u043e\u0439, \u043a\u0430\u043a \u0432 getStatus.","x-safe":true,"parameters":[{"$ref":"#\/components\/parameters\/activationId"}],"responses":{"200":{"description":"\u0421\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u0438","content":{"application\/json":{"examples":{"success":{"summary":"\u041a\u043e\u0434 \u043f\u043e\u043b\u0443\u0447\u0435\u043d","value":{"verificationType":1,"sms":{"dateTime":"2026-07-17 12:05:00","code":"123456","text":"Your code is 123456"}}},"waitCode":{"summary":"SMS \u0435\u0449\u0451 \u043d\u0435\u0442 \u2014 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0441\u0442\u0440\u043e\u043a\u043e\u0439","value":"STATUS_WAIT_CODE"}}}}},"401":{"$ref":"#\/components\/responses\/unauthorized"},"404":{"$ref":"#\/components\/responses\/notFound"},"422":{"$ref":"#\/components\/responses\/unprocessable"},"500":{"$ref":"#\/components\/responses\/serverError"}}}},"?action=setStatus":{"get":{"operationId":"setStatus","summary":"\u0421\u043c\u0435\u043d\u0438\u0442\u044c \u0441\u0442\u0430\u0442\u0443\u0441 \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u0438","description":"\u0417\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u0443\u044e SMS, \u0437\u0430\u0432\u0435\u0440\u0448\u0430\u0435\u0442 \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u044e \u0438\u043b\u0438 \u043e\u0442\u043c\u0435\u043d\u044f\u0435\u0442 \u0435\u0451 \u0441 \u0432\u043e\u0437\u0432\u0440\u0430\u0442\u043e\u043c \u0434\u0435\u043d\u0435\u0433.","x-safe":false,"parameters":[{"$ref":"#\/components\/parameters\/activationId"},{"name":"status","in":"query","required":true,"schema":{"type":"integer","enum":[3,6,8],"example":8},"description":"3 \u2014 \u0437\u0430\u043f\u0440\u043e\u0441\u0438\u0442\u044c SMS \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e, 6 \u2014 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044c \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u044e, 8 \u2014 \u043e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u0438 \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0434\u0435\u043d\u044c\u0433\u0438."}],"responses":{"200":{"description":"\u0421\u0442\u0430\u0442\u0443\u0441 \u043f\u0440\u0438\u043d\u044f\u0442","content":{"text\/plain":{"examples":{"retry":{"summary":"status=3","value":"ACCESS_RETRY_GET"},"activation":{"summary":"status=6","value":"ACCESS_ACTIVATION"},"cancel":{"summary":"status=8","value":"ACCESS_CANCEL"}}}}},"400":{"description":"\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0439 \u043a\u043e\u0434 \u0441\u0442\u0430\u0442\u0443\u0441\u0430","content":{"application\/json":{"examples":{"badStatus":{"value":{"title":"BAD_STATUS","details":"Wrong status code"}}}}}},"401":{"$ref":"#\/components\/responses\/unauthorized"},"404":{"$ref":"#\/components\/responses\/notFound"},"409":{"description":"\u0421\u043c\u0435\u043d\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u0430","content":{"application\/json":{"examples":{"earlyCancel":{"summary":"\u041e\u0442\u043c\u0435\u043d\u044f\u0442\u044c \u0435\u0449\u0451 \u0440\u0430\u043d\u043e","value":{"title":"EARLY_CANCEL_DENIED","details":"Activation cannot be cancelled at this time. Minimum activation period must pass."}},"otpReceived":{"summary":"\u041a\u043e\u0434 \u0443\u0436\u0435 \u043f\u0440\u0438\u0448\u0451\u043b \u2014 \u043e\u0442\u043c\u0435\u043d\u0430 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u0430","value":{"title":"OTP_RECEIVED","details":"Cannot terminate activation - OTP has been received on this number"}},"notActive":{"summary":"\u0410\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u044f \u0443\u0436\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0430","value":{"title":"ACTIVATION_NOT_ACTIVE","details":"Activation is terminated\/refunded and Otp cannot be retrieved"}}}}}},"422":{"$ref":"#\/components\/responses\/unprocessable"},"500":{"$ref":"#\/components\/responses\/serverError"}}}},"?action=finishActivation":{"get":{"operationId":"finishActivation","summary":"\u0417\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044c \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u044e","description":"\u0422\u043e \u0436\u0435, \u0447\u0442\u043e setStatus \u0441\u043e status=6. \u041f\u0440\u0438 \u0443\u0441\u043f\u0435\u0445\u0435 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 204 \u0431\u0435\u0437 \u0442\u0435\u043b\u0430.","x-safe":false,"parameters":[{"$ref":"#\/components\/parameters\/activationId"}],"responses":{"204":{"description":"\u0410\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u044f \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0430"},"401":{"$ref":"#\/components\/responses\/unauthorized"},"404":{"$ref":"#\/components\/responses\/notFound"},"409":{"description":"\u0410\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u044f \u0443\u0436\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0430 \u0438\u043b\u0438 \u043e\u0442\u043c\u0435\u043d\u0435\u043d\u0430","content":{"application\/json":{"examples":{"notActive":{"value":{"title":"ACTIVATION_NOT_ACTIVE","details":"Activation is terminated\/refunded and Otp cannot be retrieved"}}}}}},"500":{"$ref":"#\/components\/responses\/serverError"}}}},"?action=cancelActivation":{"get":{"operationId":"cancelActivation","summary":"\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u044e","description":"\u0422\u043e \u0436\u0435, \u0447\u0442\u043e setStatus \u0441\u043e status=8: \u043e\u0442\u043c\u0435\u043d\u044f\u0435\u0442 \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u044e \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0434\u0435\u043d\u044c\u0433\u0438. \u041f\u0440\u0438 \u0443\u0441\u043f\u0435\u0445\u0435 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 204 \u0431\u0435\u0437 \u0442\u0435\u043b\u0430.","x-safe":false,"parameters":[{"$ref":"#\/components\/parameters\/activationId"}],"responses":{"204":{"description":"\u0410\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u044f \u043e\u0442\u043c\u0435\u043d\u0435\u043d\u0430, \u0434\u0435\u043d\u044c\u0433\u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0435\u043d\u044b"},"401":{"$ref":"#\/components\/responses\/unauthorized"},"404":{"$ref":"#\/components\/responses\/notFound"},"409":{"description":"\u041e\u0442\u043c\u0435\u043d\u0430 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u0430","content":{"application\/json":{"examples":{"earlyCancel":{"summary":"\u041e\u0442\u043c\u0435\u043d\u044f\u0442\u044c \u0435\u0449\u0451 \u0440\u0430\u043d\u043e","value":{"title":"EARLY_CANCEL_DENIED","details":"Activation cannot be cancelled at this time. Minimum activation period must pass."}},"otpReceived":{"summary":"\u041a\u043e\u0434 \u0443\u0436\u0435 \u043f\u0440\u0438\u0448\u0451\u043b","value":{"title":"OTP_RECEIVED","details":"Cannot terminate activation - OTP has been received on this number"}}}}}},"500":{"$ref":"#\/components\/responses\/serverError"}}}},"?action=getPrices":{"get":{"operationId":"getPrices","summary":"\u0426\u0435\u043d\u044b \u0438 \u043d\u0430\u043b\u0438\u0447\u0438\u0435","description":"\u0426\u0435\u043d\u044b \u0438 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043d\u043e\u043c\u0435\u0440\u043e\u0432: \u0441\u0442\u0440\u0430\u043d\u0430 \u2192 \u0441\u0435\u0440\u0432\u0438\u0441 \u2192 \u0442\u0430\u0440\u0438\u0444. \u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u0430\u043c\u0430\u044f \u0434\u0435\u0448\u0451\u0432\u0430\u044f \u0446\u0435\u043d\u0430 \u043f\u043e \u0441\u0442\u0440\u0430\u043d\u0435.","x-safe":true,"parameters":[{"$ref":"#\/components\/parameters\/serviceOptional"},{"$ref":"#\/components\/parameters\/countryOptional"}],"responses":{"200":{"description":"\u0426\u0435\u043d\u044b. \u041e\u0448\u0438\u0431\u043a\u0438 \u044d\u0442\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0442\u043e\u0436\u0435 \u043e\u0442\u0434\u0430\u0451\u0442 \u0441 \u043a\u043e\u0434\u043e\u043c 200 \u2014 \u0442\u0430\u043a \u0443\u0441\u0442\u0440\u043e\u0435\u043d \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b.","content":{"application\/json":{"examples":{"success":{"summary":"\u0426\u0435\u043d\u044b \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u044b","value":{"123":{"tg":{"cost":0.5,"count":200,"physicalCount":200}}}},"badService":{"summary":"\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441","value":{"status":"false","msg":"service is incorrect"}},"badCountry":{"summary":"\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0430","value":{"status":"false","msg":"country is incorrect"}},"badKey":{"summary":"\u041d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u2014 \u0441\u0442\u0440\u043e\u043a\u043e\u0439","value":"BAD_KEY"}}}}}}}},"?action=getCountries":{"get":{"operationId":"getCountries","summary":"\u0421\u043f\u0438\u0441\u043e\u043a \u0441\u0442\u0440\u0430\u043d","description":"\u0421\u0442\u0440\u0430\u043d\u044b, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0434\u043b\u044f \u043f\u043e\u043a\u0443\u043f\u043a\u0438. \u041f\u043e\u043b\u0435 id \u2014 \u0442\u043e, \u0447\u0442\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u0442\u0441\u044f \u0432 getNumber.","x-safe":true,"responses":{"200":{"description":"\u0421\u0442\u0440\u0430\u043d\u044b","content":{"application\/json":{"examples":{"success":{"value":[{"id":123,"rus":"\u041a\u0430\u0437\u0430\u0445\u0441\u0442\u0430\u043d","eng":"\u041a\u0430\u0437\u0430\u0445\u0441\u0442\u0430\u043d","chn":"\u041a\u0430\u0437\u0430\u0445\u0441\u0442\u0430\u043d","visible":1,"retry":1}]},"badKey":{"summary":"\u041d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u2014 \u0441\u0442\u0440\u043e\u043a\u043e\u0439","value":"BAD_KEY"}}}}}}}},"?action=getServicesList":{"get":{"operationId":"getServicesList","summary":"\u0421\u043f\u0438\u0441\u043e\u043a \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432","description":"\u0421\u0435\u0440\u0432\u0438\u0441\u044b, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0434\u043b\u044f \u043f\u043e\u043a\u0443\u043f\u043a\u0438. \u041f\u043e\u043b\u0435 code \u2014 \u0442\u043e, \u0447\u0442\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u0442\u0441\u044f \u0432 getNumber.","x-safe":true,"responses":{"200":{"description":"\u0421\u0435\u0440\u0432\u0438\u0441\u044b","content":{"application\/json":{"examples":{"success":{"value":{"status":"success","services":[{"code":"tg","name":"Telegram"}]}},"badKey":{"summary":"\u041d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u2014 \u0441\u0442\u0440\u043e\u043a\u043e\u0439","value":"BAD_KEY"}}}}}}}},"?action=getActiveActivations":{"get":{"operationId":"getActiveActivations","summary":"\u0410\u043a\u0442\u0438\u0432\u043d\u044b\u0435 \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u0438","description":"\u041d\u043e\u043c\u0435\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u0435\u0439\u0447\u0430\u0441 \u0436\u0434\u0443\u0442 SMS.","x-safe":true,"parameters":[{"name":"start","in":"query","required":false,"schema":{"type":"integer","example":0},"description":"\u0421\u0434\u0432\u0438\u0433 \u043e\u0442 \u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u043f\u0438\u0441\u043a\u0430."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","example":100},"description":"\u0421\u043a\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0432\u0435\u0440\u043d\u0443\u0442\u044c, \u043c\u0430\u043a\u0441\u0438\u043c\u0443\u043c 100."}],"responses":{"200":{"description":"\u0410\u043a\u0442\u0438\u0432\u043d\u044b\u0435 \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u0438","content":{"application\/json":{"examples":{"success":{"value":{"status":"success","data":[{"activationId":"123456","serviceCode":"tg","phoneNumber":"+79001234567","activationCost":0.5,"activationStatus":"4","smsCode":null,"smsText":null,"activationTime":"2026-07-17 12:00:00","discount":"0.00","repeated":"0","countryCode":"123","countryName":"\u041a\u0430\u0437\u0430\u0445\u0441\u0442\u0430\u043d","canGetAnotherSms":"1","currency":840}]}}}}}},"401":{"$ref":"#\/components\/responses\/unauthorized"},"500":{"$ref":"#\/components\/responses\/serverError"}}}},"?action=getHistory":{"get":{"operationId":"getHistory","summary":"\u0418\u0441\u0442\u043e\u0440\u0438\u044f \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u0439","description":"\u0412\u0441\u0435 \u0432\u0430\u0448\u0438 \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u0438, \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u0437\u0430\u0432\u0435\u0440\u0448\u0451\u043d\u043d\u044b\u0435 \u0438 \u043e\u0442\u043c\u0435\u043d\u0451\u043d\u043d\u044b\u0435.","x-safe":true,"parameters":[{"name":"start","in":"query","required":false,"schema":{"type":"integer","example":1750000000},"description":"\u041d\u0430\u0447\u0430\u043b\u043e \u043f\u0435\u0440\u0438\u043e\u0434\u0430, Unix timestamp."},{"name":"end","in":"query","required":false,"schema":{"type":"integer","example":1760000000},"description":"\u041a\u043e\u043d\u0435\u0446 \u043f\u0435\u0440\u0438\u043e\u0434\u0430, Unix timestamp."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","example":0},"description":"\u0421\u0434\u0432\u0438\u0433 \u043e\u0442 \u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u043f\u0438\u0441\u043a\u0430."},{"name":"size","in":"query","required":false,"schema":{"type":"integer","example":100},"description":"\u0421\u043a\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0432\u0435\u0440\u043d\u0443\u0442\u044c, \u043c\u0430\u043a\u0441\u0438\u043c\u0443\u043c 100."}],"responses":{"200":{"description":"\u0418\u0441\u0442\u043e\u0440\u0438\u044f","content":{"application\/json":{"examples":{"success":{"value":[{"id":"123456","date":"2026-07-17 12:00:00","phone":"+79001234567","sms":"Your code is 123456","cost":0.5,"status":"6","currency":840}]}}}}},"401":{"$ref":"#\/components\/responses\/unauthorized"},"500":{"$ref":"#\/components\/responses\/serverError"}}}},"?action=getAllSms":{"get":{"operationId":"getAllSms","summary":"\u0412\u0441\u0435 SMS \u043f\u043e \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u0438","description":"\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f, \u043f\u0440\u0438\u0448\u0435\u0434\u0448\u0438\u0435 \u043d\u0430 \u043d\u043e\u043c\u0435\u0440.","x-safe":true,"parameters":[{"$ref":"#\/components\/parameters\/activationId"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","example":100},"description":"\u0421\u043a\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0432\u0435\u0440\u043d\u0443\u0442\u044c, \u043c\u0430\u043a\u0441\u0438\u043c\u0443\u043c 100."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","example":1},"description":"\u041d\u043e\u043c\u0435\u0440 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b, \u0441 \u0435\u0434\u0438\u043d\u0438\u0446\u044b."}],"responses":{"200":{"description":"\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f","content":{"application\/json":{"examples":{"success":{"value":{"data":[{"id":"1","phoneFrom":"Telegram","code":"123456","text":"Your code is 123456","service":"tg","date":"2026-07-17T12:05:00+00:00","type":"sms"}],"meta":{"total":1,"service":"tg"}}}}}}},"401":{"$ref":"#\/components\/responses\/unauthorized"},"404":{"$ref":"#\/components\/responses\/notFound"},"409":{"description":"\u0410\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u044f \u043e\u0442\u043c\u0435\u043d\u0435\u043d\u0430 \u2014 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u043f\u043e \u043d\u0435\u0439 \u0443\u0436\u0435 \u043d\u0435 \u043e\u0442\u0434\u0430\u0451\u043c","content":{"application\/json":{"examples":{"notActive":{"value":{"title":"ACTIVATION_NOT_ACTIVE","details":"Activation is terminated\/refunded and Otp cannot be retrieved"}}}}}},"500":{"$ref":"#\/components\/responses\/serverError"}}}}}}