{
  "openapi": "3.1.0",
  "info": {
    "title": "SIMUB API",
    "version": "1.4.0",
    "description": "SIMUB API aligned with the HeroSMS v1 and SMS-Activate contracts. Use Authorization: ApiKey TOKEN on /api/v1, and api_key on legacy SMS/rental routes. Prices and balances are SIMUB USD amounts; activation identifiers belong to SIMUB. Capabilities and stock depend on the selected provider. Incoming SMS webhooks deliver notifications to up to three customer HTTPS URLs configured through the profile or /api/v1/webhooks."
  },
  "servers": [
    {
      "url": "https://api.simub.com",
      "description": "SMS, rentals and modern API"
    }
  ],
  "components": {
    "securitySchemes": {
      "apiKeyQuery": {
        "type": "apiKey",
        "name": "api_key",
        "in": "query"
      },
      "apiKeyAuth": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header",
        "description": "Authorization: ApiKey TOKEN"
      }
    },
    "parameters": {
      "apiKey": {
        "name": "api_key",
        "in": "query",
        "required": true,
        "schema": {
          "type": "string"
        },
        "description": "Client API key."
      },
      "action": {
        "name": "action",
        "in": "query",
        "required": true,
        "schema": {
          "type": "string",
          "example": "getBalance",
          "default": "getBalance",
          "enum": [
            "2faReturn",
            "cancelActivation",
            "finishActivation",
            "getActiveActivations",
            "getAllSms",
            "getBalance",
            "getCountries",
            "getFullOptPhonePrices",
            "getHistory",
            "getNumber",
            "getNumberV2",
            "getNumberV3",
            "getNumbersStats",
            "getOperators",
            "getPrices",
            "getPricesV2",
            "getPricesV3",
            "getPrimeNumber",
            "getRentNumber",
            "getRentServicesAndCountries",
            "getServices",
            "getServicesList",
            "getStatus",
            "getStatusV2",
            "getTopCountriesByService",
            "getTopCountriesByServiceRank",
            "prolong",
            "prolongHistory",
            "prolongOptions",
            "reactivate",
            "reactivateOptions",
            "reject",
            "returnMoneyActivation",
            "serviceCountRent",
            "setStatus"
          ]
        },
        "description": "SMSHub-compatible action name. The generated example uses getBalance; replace it with the action you need."
      },
      "rentalService": {
        "name": "service",
        "in": "query",
        "required": true,
        "schema": {
          "type": "string",
          "example": "tg"
        },
        "description": "SIMUB service code, for example tg for Telegram."
      },
      "rentalCountry": {
        "name": "country",
        "in": "query",
        "required": true,
        "schema": {
          "type": "string",
          "example": "0"
        },
        "description": "Country code returned by getOffers. ISO code and country ID are also accepted."
      },
      "rentalDuration": {
        "name": "duration",
        "in": "query",
        "required": true,
        "schema": {
          "type": "integer",
          "minimum": 1,
          "maximum": 8760,
          "example": 24
        },
        "description": "Rental duration in hours. Use a duration returned by getOffers."
      },
      "rentalId": {
        "name": "id",
        "in": "query",
        "required": true,
        "schema": {
          "type": "integer",
          "example": 12540
        },
        "description": "SIMUB rental request ID."
      },
      "activationStatusesQuery": {
        "name": "statuses[]",
        "in": "query",
        "required": false,
        "explode": true,
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/ActivationHistoryStatus"
          }
        }
      },
      "emailId": {
        "name": "emailId",
        "in": "path",
        "required": true,
        "schema": {
          "type": "integer"
        },
        "example": 123456789
      },
      "emailStatusesQuery": {
        "name": "status[]",
        "in": "query",
        "required": false,
        "explode": true,
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/EmailActivationStatus"
          }
        }
      },
      "intervalQuery": {
        "name": "interval",
        "in": "query",
        "required": true,
        "schema": {
          "type": "integer",
          "enum": [
            12,
            24
          ]
        }
      },
      "successCountQuery": {
        "name": "successCount",
        "in": "query",
        "required": true,
        "schema": {
          "type": "string",
          "enum": [
            "low",
            "medium",
            "high",
            "very_high"
          ]
        }
      },
      "withOperatorsQuery": {
        "name": "withOperators",
        "in": "query",
        "schema": {
          "type": "boolean",
          "example": false,
          "default": false
        }
      },
      "search": {
        "name": "search",
        "in": "query",
        "schema": {
          "type": "string",
          "maxLength": 255,
          "minLength": 1
        }
      },
      "size": {
        "name": "size",
        "in": "query",
        "schema": {
          "type": "integer",
          "maximum": 25,
          "minimum": 1
        }
      },
      "page": {
        "name": "page",
        "in": "query",
        "schema": {
          "type": "integer",
          "minimum": 1,
          "maximum": 368934881474191032
        }
      },
      "sort": {
        "name": "sort",
        "in": "query",
        "required": false,
        "style": "deepObject",
        "explode": true,
        "schema": {
          "properties": {
            "id": {
              "type": "string",
              "default": "desc",
              "enum": [
                "asc",
                "desc"
              ]
            }
          },
          "type": "object"
        }
      },
      "from": {
        "name": "from",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string",
          "format": "date-time"
        },
        "description": "ISO 8601 timestamp with timezone. YYYY-MM-DD is also accepted for historical clients; the upper date includes that whole day."
      },
      "to": {
        "name": "to",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string",
          "format": "date-time"
        },
        "description": "ISO 8601 timestamp with timezone. YYYY-MM-DD is also accepted for historical clients; the upper date includes that whole day."
      },
      "fromRequired": {
        "name": "from",
        "in": "query",
        "required": true,
        "schema": {
          "type": "string",
          "format": "date-time",
          "example": "2025-10-10T00:00:00Z"
        },
        "description": "ISO 8601 timestamp with timezone. YYYY-MM-DD is also accepted for historical clients; the upper date includes that whole day."
      },
      "toRequired": {
        "name": "to",
        "in": "query",
        "required": true,
        "schema": {
          "type": "string",
          "format": "date-time",
          "example": "2025-10-20T00:00:00Z"
        },
        "description": "ISO 8601 timestamp with timezone. YYYY-MM-DD is also accepted for historical clients; the upper date includes that whole day."
      },
      "servicesPath": {
        "name": "services",
        "in": "query",
        "schema": {
          "type": "string",
          "example": "tg,go,ig"
        }
      },
      "countriesPath": {
        "name": "countries",
        "in": "query",
        "schema": {
          "type": "string",
          "example": "6,33,50"
        }
      },
      "verificationTypePath": {
        "name": "verificationType",
        "in": "path",
        "required": true,
        "schema": {
          "$ref": "#/components/schemas/VerificationType"
        }
      },
      "verificationTypeQuery": {
        "name": "verificationType",
        "in": "query",
        "schema": {
          "$ref": "#/components/schemas/VerificationType"
        }
      },
      "activationPath": {
        "name": "activationId",
        "in": "path",
        "required": true,
        "schema": {
          "type": "integer"
        },
        "example": 123456789
      },
      "servicesQuery": {
        "name": "services[]",
        "in": "query",
        "explode": true,
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/ServiceId"
          }
        }
      },
      "countriesQuery": {
        "name": "countries[]",
        "in": "query",
        "explode": true,
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/CountryId"
          }
        }
      },
      "servicesQueryRequired": {
        "name": "services[]",
        "in": "query",
        "required": true,
        "explode": true,
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/ServiceId"
          },
          "minItems": 1
        }
      },
      "qpSARequiredService": {
        "name": "service",
        "in": "query",
        "required": true,
        "schema": {
          "type": "string"
        },
        "example": "tg"
      },
      "qpSAOptionalService": {
        "name": "service",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string"
        },
        "example": "tg"
      },
      "qpSARequiredCountry": {
        "name": "country",
        "in": "query",
        "required": true,
        "schema": {
          "type": "number"
        },
        "example": 2
      },
      "qpSAOptionalCountry": {
        "name": "country",
        "in": "query",
        "required": false,
        "schema": {
          "type": "number"
        },
        "example": 2
      },
      "qpSAOptionalFreePrice": {
        "name": "freePrice",
        "in": "query",
        "required": false,
        "schema": {
          "type": "boolean"
        },
        "example": true
      },
      "qpSAOptionalLang": {
        "name": "lang",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string",
          "default": "en",
          "enum": [
            "en",
            "cn",
            "es",
            "de",
            "fr",
            "pt",
            "ru",
            "id",
            "vi",
            "tr",
            "ja",
            "ko",
            "ar"
          ]
        },
        "example": "en"
      },
      "qpSAOptionalOperator": {
        "name": "operator",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string"
        },
        "example": "tele2,beeline"
      },
      "qpSARequiredDuration": {
        "name": "duration",
        "in": "query",
        "required": true,
        "schema": {
          "type": "integer",
          "minimum": 1
        },
        "example": 24
      },
      "qpSADuration": {
        "name": "duration",
        "in": "query",
        "required": false,
        "schema": {
          "type": "integer",
          "minimum": 1
        },
        "example": 24
      },
      "qpSAOptionalCurrency": {
        "name": "currency",
        "in": "query",
        "required": false,
        "schema": {
          "type": "number",
          "default": 840,
          "enum": [
            643,
            840,
            978,
            156
          ]
        },
        "example": 840
      },
      "qpSAOptionalSize": {
        "name": "size",
        "in": "query",
        "schema": {
          "type": "integer"
        }
      },
      "qpSAOptionalPage": {
        "name": "page",
        "in": "query",
        "schema": {
          "type": "integer"
        }
      },
      "qpSAOptionalMaxPrice": {
        "name": "maxPrice",
        "in": "query",
        "required": false,
        "schema": {
          "type": "number"
        },
        "example": 2
      },
      "qpSAOptionalFixedPrice": {
        "name": "fixedPrice",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string"
        },
        "example": "true"
      },
      "qpSAOptionalRef": {
        "name": "ref",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string"
        },
        "example": "123456789"
      },
      "qpSAOptionalPhoneException": {
        "name": "phoneException",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string"
        },
        "example": "7934,7900"
      },
      "qpSARequiredActivationID": {
        "name": "id",
        "in": "query",
        "required": true,
        "schema": {
          "type": "integer"
        },
        "example": 123456789
      },
      "qpSARequiredActivationStatus": {
        "name": "status",
        "in": "query",
        "required": true,
        "schema": {
          "oneOf": [
            {
              "title": "Code de demande",
              "type": "integer",
              "enum": [
                3
              ]
            },
            {
              "title": "Activation complète",
              "type": "integer",
              "enum": [
                6
              ]
            },
            {
              "title": "Annuler l'activation",
              "type": "integer",
              "enum": [
                8
              ]
            }
          ],
          "default": 3
        },
        "example": 1
      }
    },
    "schemas": {
      "MailPriceRests": {
        "type": "object",
        "properties": {
          "status": {
            "type": "integer",
            "example": 1
          },
          "data": {
            "type": "object",
            "example": {
              "tg": {
                "gmail.com": {
                  "price": 0.12,
                  "count": 42
                }
              }
            }
          }
        }
      },
      "MailActivation": {
        "type": "object",
        "properties": {
          "status": {
            "type": "integer",
            "example": 1
          },
          "mail": {
            "type": "string",
            "example": "user@gmail.com"
          },
          "mailId": {
            "type": "integer",
            "example": 123456
          }
        }
      },
      "ErrorJson": {
        "type": "object",
        "properties": {
          "status": {
            "type": "integer",
            "example": 0
          },
          "error": {
            "type": "string",
            "example": "Insufficient balance"
          }
        }
      },
      "V1Error": {
        "type": "object",
        "required": [
          "title",
          "details",
          "errors"
        ],
        "properties": {
          "title": {
            "type": "string",
            "example": "UNPROCESSABLE_ENTITY"
          },
          "details": {
            "type": "string",
            "example": "One or more parameters are invalid."
          },
          "errors": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        }
      },
      "V1Otp": {
        "properties": {
          "id": {
            "type": "string",
            "example": "12345643242"
          },
          "smsCode": {
            "type": [
              "string",
              "null"
            ],
            "example": "123456"
          },
          "smsText": {
            "type": [
              "string",
              "null"
            ],
            "example": "Your verification code is 123456"
          },
          "receivedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "example": "2025-12-16T10:30:00.000000Z"
          },
          "type": {
            "type": "string",
            "example": "sms",
            "enum": [
              "sms",
              "call"
            ]
          },
          "phoneFrom": {
            "type": "string",
            "example": "89854"
          },
          "service": {
            "type": "string",
            "pattern": "^[a-zA-Z]{2,4}$",
            "example": "tg",
            "maxLength": 4,
            "minLength": 2
          }
        },
        "type": "object"
      },
      "V1Activation": {
        "properties": {
          "id": {
            "type": "integer",
            "example": 123456
          },
          "status": {
            "type": "integer",
            "example": 4,
            "enum": [
              1,
              2,
              3,
              4,
              6,
              7,
              8,
              10
            ]
          },
          "phone": {
            "type": "integer",
            "example": 79991234567
          },
          "service": {
            "type": "string",
            "pattern": "^[a-zA-Z]{2,4}$",
            "example": "tg",
            "maxLength": 4,
            "minLength": 2
          },
          "country": {
            "type": "integer",
            "example": 2,
            "maximum": 9999,
            "minimum": 0
          },
          "countryPhoneCode": {
            "type": [
              "integer",
              "null"
            ],
            "example": 7
          },
          "operator": {
            "type": "string",
            "pattern": "^([a-zA-Z0-9!_]{2,},)*[_a-zA-Z0-9!]{2,}$",
            "example": "axis",
            "default": "any"
          },
          "price": {
            "type": "number",
            "format": "float",
            "example": 0.4321
          },
          "createdAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "example": "2025-12-16T10:30:00.000000Z"
          },
          "expiredAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "example": "2025-12-16T10:30:00.000000Z"
          },
          "verificationType": {
            "type": "string",
            "example": "sms",
            "enum": [
              "sms",
              "call"
            ]
          },
          "subtype": {
            "type": "integer",
            "example": 1,
            "enum": [
              1,
              2
            ]
          },
          "otpList": {
            "type": "array",
            "items": {
              "properties": {
                "id": {
                  "type": "string",
                  "example": "12345643242"
                },
                "smsCode": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "example": "123456"
                },
                "smsText": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "example": "Your verification code is 123456"
                },
                "receivedAt": {
                  "type": "string",
                  "format": "date-time",
                  "example": "2025-12-16T10:30:00.000000Z"
                },
                "type": {
                  "type": "string",
                  "example": "sms",
                  "enum": [
                    "sms",
                    "call"
                  ]
                },
                "phoneFrom": {
                  "type": "string",
                  "example": "89854"
                },
                "service": {
                  "type": "string",
                  "pattern": "^[a-zA-Z]{2,4}$",
                  "example": "tg",
                  "maxLength": 4,
                  "minLength": 2
                }
              },
              "type": "object"
            },
            "minItems": 0
          }
        },
        "type": "object",
        "required": [
          "id",
          "status",
          "phone",
          "service",
          "country",
          "price",
          "verificationType",
          "subtype",
          "otpList"
        ]
      },
      "V1BuyActivation": {
        "required": [
          "service",
          "country",
          "amount"
        ],
        "properties": {
          "service": {
            "type": "string",
            "pattern": "^[a-zA-Z]{2,4}$",
            "example": "tg",
            "maxLength": 4,
            "minLength": 2
          },
          "country": {
            "type": "integer",
            "example": 2,
            "maximum": 9999,
            "minimum": 0
          },
          "amount": {
            "type": "integer",
            "example": 1,
            "maximum": 10,
            "minimum": 1
          },
          "operator": {
            "type": "string",
            "pattern": "^([a-zA-Z0-9!_]{2,},)*[_a-zA-Z0-9!]{2,}$",
            "example": "axis",
            "default": "any"
          },
          "phoneException": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^[0-9]{4,7}(,[0-9]{4,7}){0,19}$",
            "example": "7900,7901234"
          },
          "maxPrice": {
            "type": "number",
            "format": "float",
            "example": 0.4321,
            "minimum": 0.0067
          },
          "fixedPrice": {
            "type": "boolean",
            "example": true
          },
          "duration": {
            "type": "integer",
            "example": 24,
            "enum": [
              24,
              72,
              168,
              336,
              720,
              1440,
              2160,
              4320
            ]
          },
          "verificationType": {
            "type": "string",
            "example": "sms",
            "enum": [
              "sms",
              "call"
            ]
          },
          "resellerUserId": {
            "type": "string",
            "pattern": "^[a-zA-Z0-9_.@-]{1,36}$",
            "example": "12345",
            "maxLength": 36,
            "minLength": 1
          },
          "providerIds": {
            "type": "array",
            "minItems": 1,
            "maxItems": 10,
            "items": {
              "type": "integer",
              "minimum": 1
            },
            "description": "Optional SIMUB provider IDs."
          }
        },
        "type": "object"
      },
      "V1EmailActivation": {
        "required": [
          "id",
          "status",
          "cost",
          "currency",
          "date"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "site": {
            "type": "string",
            "example": "telegram.com"
          },
          "email": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "example": "WAIT",
            "enum": [
              "WAIT",
              "CANCEL",
              "SUCCESS"
            ]
          },
          "value": {
            "type": [
              "string",
              "null"
            ]
          },
          "cost": {
            "type": "number",
            "format": "float",
            "example": 0.4321
          },
          "currency": {
            "type": "integer",
            "example": 840,
            "default": 840,
            "enum": [
              840,
              978,
              156
            ]
          },
          "date": {
            "type": "string",
            "format": "date-time",
            "example": "2025-12-16T10:30:00.000000Z"
          },
          "message": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "V1EmailDomain": {
        "type": "object",
        "required": [
          "name",
          "cost",
          "count"
        ],
        "properties": {
          "name": {
            "type": "string",
            "example": "gmail.com"
          },
          "cost": {
            "type": "number",
            "format": "float",
            "example": 0.31,
            "description": "SIMUB customer price."
          },
          "count": {
            "type": "integer",
            "minimum": 0,
            "example": 42
          }
        }
      },
      "V1BuyEmail": {
        "required": [
          "site",
          "domain"
        ],
        "properties": {
          "site": {
            "type": "string",
            "example": "telegram.com"
          },
          "domain": {
            "type": "string",
            "example": "gmail.com"
          },
          "maxPrice": {
            "type": [
              "number",
              "null"
            ],
            "format": "float",
            "example": 0.5,
            "minimum": 0
          }
        },
        "type": "object"
      },
      "V1BuyEmailBatch": {
        "required": [
          "site",
          "domain",
          "count"
        ],
        "properties": {
          "site": {
            "type": "string",
            "example": "telegram.com"
          },
          "domain": {
            "type": "string",
            "example": "gmail.com"
          },
          "count": {
            "type": "integer",
            "example": 5,
            "maximum": 10,
            "minimum": 1
          },
          "maxPrice": {
            "type": [
              "number",
              "null"
            ],
            "format": "float",
            "example": 0.5,
            "minimum": 0
          }
        },
        "type": "object"
      },
      "V1Pagination": {
        "required": [
          "page",
          "size",
          "sort",
          "total"
        ],
        "properties": {
          "page": {
            "type": [
              "integer",
              "null"
            ],
            "example": 1
          },
          "size": {
            "type": [
              "integer",
              "null"
            ],
            "example": 10
          },
          "sort": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ]
            }
          },
          "total": {
            "type": [
              "integer",
              "null"
            ],
            "example": 100
          },
          "hasMore": {
            "type": "boolean",
            "example": true
          },
          "search": {
            "type": [
              "string",
              "null"
            ],
            "example": "8800"
          },
          "filters": {
            "type": "object",
            "example": {
              "countries": [
                "ru",
                "ua"
              ],
              "services": [
                "go",
                "tg"
              ]
            }
          }
        },
        "type": "object"
      },
      "ActivationExtendDurationDTO": {
        "required": [
          "unit",
          "value"
        ],
        "properties": {
          "unit": {
            "type": "string",
            "example": "hour",
            "enum": [
              "minute",
              "hour"
            ]
          },
          "value": {
            "type": "integer",
            "example": 24
          }
        },
        "type": "object"
      },
      "ActivationExtendOptionDTOSchema": {
        "required": [
          "price",
          "duration"
        ],
        "properties": {
          "price": {
            "$ref": "#/components/schemas/Price"
          },
          "duration": {
            "$ref": "#/components/schemas/ActivationExtendDurationDTO"
          }
        },
        "type": "object"
      },
      "ProlongationHistoryItemSchema": {
        "properties": {
          "duration": {
            "type": "integer",
            "example": 24
          },
          "price": {
            "$ref": "#/components/schemas/Price"
          },
          "createdAt": {
            "$ref": "#/components/schemas/dateISO8601"
          }
        },
        "type": "object"
      },
      "ActivationStatusTypes": {
        "type": "integer",
        "example": 4,
        "enum": [
          1,
          2,
          3,
          4,
          6,
          7,
          8,
          10
        ]
      },
      "EmailActivationStatus": {
        "type": "integer",
        "example": 3,
        "enum": [
          3,
          4,
          5,
          6,
          7
        ]
      },
      "EmailActivation": {
        "required": [
          "id",
          "status",
          "cost",
          "currency",
          "date"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "site": {
            "$ref": "#/components/schemas/EmailSite"
          },
          "email": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/EmailActivationStatusView"
          },
          "value": {
            "type": [
              "string",
              "null"
            ]
          },
          "cost": {
            "$ref": "#/components/schemas/Price"
          },
          "currency": {
            "$ref": "#/components/schemas/Currency"
          },
          "date": {
            "$ref": "#/components/schemas/dateISO8601"
          },
          "message": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "ActivationOtpSchema": {
        "properties": {
          "id": {
            "type": "string",
            "example": "12345643242"
          },
          "smsCode": {
            "type": [
              "string",
              "null"
            ],
            "example": "123456"
          },
          "smsText": {
            "type": [
              "string",
              "null"
            ],
            "example": "Your verification code is 123456"
          },
          "receivedAt": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/dateISO8601"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/VerificationType"
          },
          "phoneFrom": {
            "type": "string",
            "example": "89854"
          },
          "service": {
            "$ref": "#/components/schemas/ServiceId"
          }
        },
        "type": "object"
      },
      "ActivationSchema": {
        "properties": {
          "id": {
            "$ref": "#/components/schemas/ActivationId"
          },
          "status": {
            "$ref": "#/components/schemas/ActivationStatusTypes"
          },
          "phone": {
            "$ref": "#/components/schemas/ActivationPhone"
          },
          "service": {
            "$ref": "#/components/schemas/ServiceId"
          },
          "country": {
            "$ref": "#/components/schemas/CountryId"
          },
          "countryPhoneCode": {
            "type": [
              "integer",
              "null"
            ],
            "example": 7
          },
          "operator": {
            "$ref": "#/components/schemas/OperatorId"
          },
          "price": {
            "$ref": "#/components/schemas/Price"
          },
          "createdAt": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/dateISO8601"
              },
              {
                "type": "null"
              }
            ]
          },
          "expiredAt": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/dateISO8601"
              },
              {
                "type": "null"
              }
            ]
          },
          "verificationType": {
            "$ref": "#/components/schemas/VerificationType"
          },
          "subtype": {
            "$ref": "#/components/schemas/ActivationSubtype"
          },
          "otpList": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ActivationOtpSchema"
            },
            "minItems": 0
          }
        },
        "type": "object"
      },
      "SuccessRate": {
        "type": "number",
        "format": "float",
        "example": 20
      },
      "OperatorCode": {
        "type": "string",
        "example": "any"
      },
      "ActivationsOffersSchema": {
        "additionalProperties": {
          "title": "Service",
          "type": "object",
          "additionalProperties": {
            "title": "Country ID",
            "properties": {
              "prices": {
                "properties": {
                  "default": {
                    "type": "number",
                    "format": "float",
                    "example": 1.1
                  },
                  "retail": {
                    "type": "number",
                    "format": "float",
                    "example": 1.1
                  },
                  "min": {
                    "$ref": "#/components/schemas/MinPrice"
                  }
                },
                "type": "object"
              },
              "counts": {
                "properties": {
                  "total": {
                    "type": "integer",
                    "example": 101
                  },
                  "physical": {
                    "type": "integer",
                    "example": 51
                  },
                  "defaultPrice": {
                    "type": "integer",
                    "example": 50
                  }
                },
                "type": "object"
              },
              "map": {
                "type": "object",
                "additionalProperties": {
                  "title": "Prix",
                  "type": "integer"
                }
              }
            },
            "type": "object"
          }
        }
      },
      "ActivationsOffersMetaData": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PaginationMetaData"
          },
          {
            "properties": {
              "order": {
                "properties": {
                  "rate": {
                    "type": "object"
                  },
                  "deliverability": {
                    "properties": {
                      "countries": {
                        "type": "array",
                        "items": {
                          "type": "integer"
                        }
                      }
                    },
                    "type": "object"
                  }
                },
                "type": "object"
              },
              "filters": {
                "properties": {
                  "countries": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "$ref": "#/components/schemas/CountryId"
                    }
                  },
                  "services": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "type": "object"
              }
            },
            "type": "object"
          }
        ]
      },
      "EmailSite": {
        "type": "string",
        "example": "telegram.com"
      },
      "EmailDomain": {
        "type": "string",
        "example": "gmail.com"
      },
      "EmailMaxPrice": {
        "type": [
          "number",
          "null"
        ],
        "format": "float",
        "example": 0.5,
        "minimum": 0
      },
      "EmailOffer": {
        "required": [
          "cost",
          "count"
        ],
        "properties": {
          "cost": {
            "type": "number",
            "format": "float",
            "example": 0.075
          },
          "count": {
            "type": "integer",
            "example": 10
          }
        },
        "type": "object"
      },
      "EmailOfferDomain": {
        "required": [
          "domain",
          "offers"
        ],
        "properties": {
          "domain": {
            "$ref": "#/components/schemas/EmailDomain"
          },
          "offers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EmailOffer"
            }
          }
        },
        "type": "object"
      },
      "EmailActivationStatusView": {
        "type": "string",
        "example": "WAIT",
        "enum": [
          "WAIT",
          "CANCEL",
          "SUCCESS"
        ]
      },
      "PaginationMetaData": {
        "required": [
          "page",
          "size",
          "sort",
          "total"
        ],
        "properties": {
          "page": {
            "type": [
              "integer",
              "null"
            ],
            "example": 1
          },
          "size": {
            "type": [
              "integer",
              "null"
            ],
            "example": 10
          },
          "sort": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ]
            }
          },
          "total": {
            "type": [
              "integer",
              "null"
            ],
            "example": 100
          },
          "hasMore": {
            "type": "boolean",
            "example": true
          },
          "search": {
            "type": [
              "string",
              "null"
            ],
            "example": "8800"
          },
          "filters": {
            "type": "object",
            "example": {
              "countries": [
                "ru",
                "ua"
              ],
              "services": [
                "go",
                "tg"
              ]
            }
          }
        },
        "type": "object"
      },
      "ActivationPhone": {
        "type": "integer",
        "example": 79991234567
      },
      "CountryId": {
        "type": "integer",
        "example": 2,
        "maximum": 9999,
        "minimum": 0
      },
      "ServiceId": {
        "type": "string",
        "pattern": "^[a-zA-Z]{2,4}$",
        "example": "tg",
        "maxLength": 4,
        "minLength": 2
      },
      "OperatorId": {
        "type": "string",
        "pattern": "^([a-zA-Z0-9!_]{2,},)*[_a-zA-Z0-9!]{2,}$",
        "example": "axis",
        "default": "any"
      },
      "PhoneException": {
        "type": [
          "string",
          "null"
        ],
        "pattern": "^[0-9]{4,7}(,[0-9]{4,7}){0,19}$",
        "example": "7900,7901234"
      },
      "MaxPrice": {
        "type": "number",
        "format": "float",
        "example": 0.4321,
        "minimum": 0.0067
      },
      "Price": {
        "type": "number",
        "format": "float",
        "example": 0.4321
      },
      "Percent": {
        "type": "number",
        "format": "float",
        "example": 50
      },
      "FixedPrice": {
        "type": "boolean",
        "example": true
      },
      "RentDuration": {
        "type": "integer",
        "example": 24,
        "enum": [
          24,
          72,
          168,
          336,
          720,
          1440,
          2160,
          4320
        ]
      },
      "ActivationHistoryStatus": {
        "type": "integer",
        "example": 6,
        "enum": [
          6,
          8,
          10
        ]
      },
      "ResellerUserId": {
        "type": "string",
        "pattern": "^[a-zA-Z0-9_.@-]{1,36}$",
        "example": "12345",
        "maxLength": 36,
        "minLength": 1
      },
      "MinPrice": {
        "type": "number",
        "format": "float",
        "example": 0.4321
      },
      "ActivationId": {
        "type": "integer",
        "example": 123456
      },
      "Currency": {
        "type": "integer",
        "example": 840,
        "default": 840,
        "enum": [
          840,
          978,
          156
        ]
      },
      "SMSText": {
        "type": [
          "string",
          "null"
        ],
        "example": "Your code is 12345"
      },
      "SMSCode": {
        "type": [
          "string",
          "null"
        ],
        "example": "12345"
      },
      "VerificationType": {
        "type": "string",
        "example": "sms",
        "enum": [
          "sms",
          "call"
        ]
      },
      "ActivationSubtype": {
        "type": "integer",
        "example": 1,
        "enum": [
          1,
          2
        ]
      },
      "dateISO8601": {
        "type": "string",
        "format": "date-time",
        "example": "2025-12-16T10:30:00.000000Z"
      },
      "dateRFC3339": {
        "type": "string",
        "format": "date-time",
        "example": "2026-02-19T10:37:46+00:00"
      },
      "ActivationStatusV2": {
        "properties": {
          "verificationType": {
            "$ref": "#/components/schemas/VerificationType"
          },
          "data": {
            "$ref": "#/components/schemas/OtpItem"
          }
        },
        "type": "object"
      },
      "ActiveActivation": {
        "properties": {
          "activationId": {
            "$ref": "#/components/schemas/ActivationId"
          },
          "serviceCode": {
            "$ref": "#/components/schemas/ServiceId"
          },
          "phoneNumber": {
            "$ref": "#/components/schemas/ActivationPhone"
          },
          "activationCost": {
            "type": "number",
            "format": "float",
            "example": 15.5
          },
          "currency": {
            "$ref": "#/components/schemas/Currency"
          },
          "activationStatus": {
            "type": "integer",
            "example": 4
          },
          "smsCode": {
            "$ref": "#/components/schemas/SMSCode"
          },
          "smsText": {
            "$ref": "#/components/schemas/SMSText"
          },
          "activationTime": {
            "$ref": "#/components/schemas/dateISO8601"
          },
          "countryCode": {
            "$ref": "#/components/schemas/CountryId"
          },
          "countryName": {
            "type": "string",
            "example": "Kazakhstan"
          },
          "canGetAnotherSms": {
            "type": "string",
            "example": "1"
          },
          "verificationType": {
            "$ref": "#/components/schemas/VerificationType"
          },
          "subtype": {
            "$ref": "#/components/schemas/ActivationSubtype"
          }
        },
        "type": "object"
      },
      "ActiveActivations": {
        "properties": {
          "status": {
            "type": "string"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ActiveActivation"
            },
            "minItems": 0
          }
        },
        "type": "object"
      },
      "ActivationsHistory": {
        "type": "array",
        "items": {
          "properties": {
            "id": {
              "type": "string",
              "example": "635468024"
            },
            "date": {
              "type": "string",
              "format": "date-time",
              "example": "0000-00-00 00:00:00"
            },
            "phone": {
              "type": "string",
              "example": "7*********0"
            },
            "sms": {
              "type": "string",
              "example": "Your code is ****"
            },
            "cost": {
              "type": "number",
              "example": 0
            },
            "status": {
              "type": "string",
              "example": "4"
            },
            "currency": {
              "$ref": "#/components/schemas/Currency"
            }
          },
          "type": "object"
        }
      },
      "TopCountriesOneService": {
        "properties": {
          "physicalTotalCount": {
            "type": "integer",
            "example": 9405
          },
          "physicalCountForDefaultPrice": {
            "type": "integer",
            "example": 4066
          },
          "physicalPriceMap": {
            "type": "object",
            "additionalProperties": {
              "type": "number",
              "example": 0.018
            }
          },
          "retail_price": {
            "type": "number",
            "example": 0.2
          },
          "country": {
            "type": "integer",
            "example": 6
          },
          "price": {
            "type": "number",
            "example": 0.045
          },
          "count": {
            "type": "integer",
            "example": 4528
          }
        },
        "type": "object"
      },
      "TopCountriesAllServices": {
        "type": "object",
        "additionalProperties": {
          "$ref": "#/components/schemas/TopCountriesOneService"
        }
      },
      "TopCountriesByService": {
        "type": "object",
        "additionalProperties": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/TopCountriesAllServices"
            },
            {
              "$ref": "#/components/schemas/TopCountriesOneService"
            }
          ]
        }
      },
      "PricesByCountry": {
        "type": "object",
        "additionalProperties": {
          "type": "object",
          "additionalProperties": {
            "properties": {
              "cost": {
                "type": "number",
                "example": 0.5
              },
              "count": {
                "type": "integer",
                "example": 10
              },
              "physicalCount": {
                "type": "integer",
                "example": 10
              }
            },
            "type": "object"
          }
        }
      },
      "RentCountByService": {
        "type": "object",
        "additionalProperties": {
          "type": "object",
          "pattern": "^[0-9]+$",
          "additionalProperties": {
            "required": [
              "count",
              "price"
            ],
            "properties": {
              "price": {
                "type": "number",
                "example": 0.5432
              },
              "count": {
                "type": "integer",
                "example": 10
              }
            },
            "type": "object",
            "pattern": "^[0-9]+$"
          }
        }
      },
      "getRentServicesAndCountries": {
        "properties": {
          "operators": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "services": {
            "type": "object",
            "additionalProperties": {
              "type": "object",
              "properties": {
                "quantity": {
                  "type": "integer"
                },
                "price": {
                  "type": "number"
                },
                "retail_price": {
                  "type": "number"
                }
              }
            }
          }
        },
        "type": "object"
      },
      "Country": {
        "properties": {
          "id": {
            "$ref": "#/components/schemas/CountryId"
          },
          "rus": {
            "type": "string",
            "example": "Kazakhstan"
          },
          "eng": {
            "type": "string",
            "example": "Kazakhstan"
          },
          "chn": {
            "type": "string",
            "example": "Kazakhstan"
          },
          "visible": {
            "type": "integer",
            "example": 1,
            "enum": [
              0,
              1
            ]
          },
          "retry": {
            "type": "integer",
            "example": 1,
            "enum": [
              0,
              1
            ]
          }
        },
        "type": "object"
      },
      "Service": {
        "properties": {
          "code": {
            "type": "string",
            "example": "aoo"
          },
          "name": {
            "type": "string",
            "example": "Pegasus Airlines"
          }
        },
        "type": "object"
      },
      "Operators": {
        "properties": {
          "status": {
            "type": "string"
          },
          "countryOperators": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        },
        "type": "object"
      },
      "AccountBannedInfo": {
        "required": [
          "scope",
          "banned_until",
          "retry_after_seconds"
        ],
        "properties": {
          "scope": {
            "type": "string",
            "enum": [
              "global",
              "specific"
            ]
          },
          "banned_until": {
            "type": "integer"
          },
          "retry_after_seconds": {
            "type": "integer"
          },
          "readable_date": {
            "$ref": "#/components/schemas/dateRFC3339"
          }
        },
        "type": "object"
      },
      "successfulNumberv2Response": {
        "properties": {
          "activationId": {
            "$ref": "#/components/schemas/ActivationId"
          },
          "serviceCode": {
            "$ref": "#/components/schemas/ServiceId"
          },
          "phoneNumber": {
            "$ref": "#/components/schemas/ActivationPhone"
          },
          "activationCost": {
            "type": "number",
            "format": "float",
            "example": 15.5
          },
          "currency": {
            "$ref": "#/components/schemas/Currency"
          },
          "countryCode": {
            "$ref": "#/components/schemas/CountryId"
          },
          "countryPhoneCode": {
            "type": "number",
            "example": 62
          },
          "canGetAnotherSms": {
            "type": "boolean",
            "example": true
          },
          "activationTime": {
            "$ref": "#/components/schemas/dateRFC3339"
          },
          "activationEndTime": {
            "$ref": "#/components/schemas/dateRFC3339"
          },
          "activationOperator": {
            "$ref": "#/components/schemas/OperatorId"
          },
          "verificationType": {
            "$ref": "#/components/schemas/VerificationType"
          },
          "subtype": {
            "$ref": "#/components/schemas/ActivationSubtype"
          },
          "status": {
            "type": "integer",
            "example": 4
          }
        },
        "type": "object",
        "examples": [
          {
            "activationId": "635468024",
            "phoneNumber": "79584******",
            "activationCost": 12.5,
            "currency": 840,
            "countryCode": 6,
            "countryPhoneCode": 62,
            "canGetAnotherSms": true,
            "activationTime": "2026-02-18T16:11:33+00:00",
            "activationEndTime": "2026-02-18T18:11:23+00:00",
            "activationOperator": "any",
            "verificationType": "sms",
            "subtype": 1,
            "serviceCode": "vk",
            "status": 4
          }
        ]
      },
      "reactivationPriceResponse": {
        "required": [
          "data"
        ],
        "properties": {
          "data": {
            "required": [
              "price"
            ],
            "properties": {
              "price": {
                "type": "number",
                "format": "float",
                "example": 1.4522
              },
              "currency": {
                "$ref": "#/components/schemas/Currency"
              }
            },
            "type": "object"
          }
        },
        "type": "object",
        "examples": [
          {
            "data": {
              "price": 0.1234
            }
          }
        ]
      },
      "prolongationPriceListResponse": {
        "required": [
          "data"
        ],
        "properties": {
          "data": {
            "type": "object",
            "additionalProperties": {
              "type": "number",
              "format": "float",
              "example": 0.2134
            }
          }
        },
        "type": "object",
        "examples": [
          {
            "data": {
              "2": 0.1234,
              "4": 0.2234,
              "24": 1.2234,
              "168": 3.6432
            }
          }
        ]
      },
      "prolongationHistoryListResponse": {
        "required": [
          "data"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "required": [
                "userPrice",
                "hours",
                "createDate",
                "payerType"
              ],
              "properties": {
                "userPrice": {
                  "type": "number",
                  "format": "float",
                  "example": 0.4621
                },
                "hours": {
                  "type": "number",
                  "example": 24
                },
                "createDate": {
                  "$ref": "#/components/schemas/dateRFC3339"
                },
                "payerType": {
                  "type": "string",
                  "example": "client",
                  "enum": [
                    "client",
                    "partner"
                  ]
                }
              },
              "type": "object"
            },
            "minItems": 0
          }
        },
        "type": "object",
        "examples": [
          {
            "data": [
              {
                "hours": 2,
                "userPrice": 0.1442,
                "createDate": "2026-04-01T22:00:58+3:00",
                "payerType": "client"
              },
              {
                "hours": 24,
                "userPrice": 0,
                "createDate": "2026-04-02T00:00:58+3:00",
                "payerType": "partner"
              }
            ]
          }
        ]
      },
      "OtpListResponse": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/OtpItem"
        },
        "examples": [
          {
            "data": [
              {
                "id": "3416693217",
                "phoneFrom": "Telegram",
                "code": "123456",
                "text": "Telegram code 123456",
                "service": "tg",
                "date": "2026-02-16T12:36:59+03:00",
                "type": "sms"
              },
              {
                "id": "3416693218",
                "phoneFrom": "213421421431",
                "code": null,
                "text": null,
                "service": "tg",
                "date": "2026-02-16T12:36:59+03:00",
                "type": "call"
              }
            ]
          }
        ],
        "minItems": 0
      },
      "OtpItem": {
        "required": [
          "id",
          "phoneFrom",
          "service",
          "date",
          "type"
        ],
        "properties": {
          "id": {
            "type": "string",
            "example": "3416693217"
          },
          "phoneFrom": {
            "type": "string",
            "example": "Telegram"
          },
          "code": {
            "$ref": "#/components/schemas/SMSCode"
          },
          "text": {
            "$ref": "#/components/schemas/SMSText"
          },
          "service": {
            "$ref": "#/components/schemas/ServiceId"
          },
          "date": {
            "$ref": "#/components/schemas/dateRFC3339"
          },
          "type": {
            "$ref": "#/components/schemas/VerificationType"
          }
        },
        "type": "object"
      },
      "ActivationExtendOptionSchema": {
        "required": [
          "price",
          "duration"
        ],
        "properties": {
          "price": {
            "type": "number",
            "format": "float",
            "example": 1.4324
          },
          "duration": {
            "$ref": "#/components/schemas/ActivationExtendDurationSchema"
          }
        },
        "type": "object"
      },
      "ActivationExtendDurationSchema": {
        "required": [
          "unit",
          "value"
        ],
        "properties": {
          "unit": {
            "type": "string",
            "example": "hour",
            "enum": [
              "minute",
              "hour"
            ]
          },
          "value": {
            "type": "integer",
            "example": 24
          }
        },
        "type": "object"
      },
      "BaseErrorResponse": {
        "required": [
          "title",
          "details"
        ],
        "properties": {
          "title": {
            "type": "string"
          },
          "details": {
            "type": "string"
          },
          "info": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "type": "object"
      },
      "SmsWebhookSettings": {
        "type": "object",
        "required": [
          "urls"
        ],
        "properties": {
          "urls": {
            "type": "array",
            "maxItems": 3,
            "uniqueItems": true,
            "description": "Up to three public HTTPS URLs on port 443. An empty array disables future deliveries. Store a random secret in the receiver URL path; do not use your SIMUB API key.",
            "items": {
              "type": "string",
              "format": "uri",
              "pattern": "^https://",
              "maxLength": 2048
            },
            "example": [
              "https://receiver.example/webhooks/sms/RANDOM_RECEIVER_SECRET"
            ]
          }
        }
      },
      "SmsIncomingWebhook": {
        "type": "object",
        "required": [
          "activationId",
          "id",
          "phoneFrom",
          "service",
          "text",
          "code",
          "country",
          "receivedAt"
        ],
        "properties": {
          "activationId": {
            "type": "string",
            "description": "SIMUB activation identifier. Several SMS messages can belong to the same activation.",
            "example": "123456"
          },
          "id": {
            "type": "string",
            "description": "SIMUB SMS identifier. Use this value to deduplicate retries and deliveries to several URLs.",
            "example": "804321"
          },
          "phoneFrom": {
            "type": "string",
            "description": "OTP source or sender as supplied with the SMS; empty when unavailable.",
            "example": "89854"
          },
          "service": {
            "$ref": "#/components/schemas/ServiceId"
          },
          "text": {
            "$ref": "#/components/schemas/SMSText"
          },
          "code": {
            "$ref": "#/components/schemas/SMSCode"
          },
          "country": {
            "$ref": "#/components/schemas/CountryId"
          },
          "receivedAt": {
            "type": "string",
            "format": "date-time",
            "description": "SMS receipt timestamp in ISO 8601 UTC.",
            "example": "2026-10-06T10:30:00.000000Z"
          }
        }
      }
    },
    "responses": {
      "ActivationOtpSuccessResponse": {
        "content": {
          "application/json": {
            "schema": {
              "required": [
                "data"
              ],
              "properties": {
                "data": {
                  "$ref": "#/components/schemas/ActivationOtpSchema"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "Response"
      },
      "ActivationOtpListSuccessResponse": {
        "content": {
          "application/json": {
            "schema": {
              "required": [
                "data"
              ],
              "properties": {
                "data": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ActivationOtpSchema"
                  }
                }
              },
              "type": "object"
            }
          }
        },
        "description": "Response"
      },
      "ActivationsSuccessResponse": {
        "content": {
          "application/json": {
            "schema": {
              "required": [
                "data"
              ],
              "properties": {
                "data": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ActivationSchema"
                  }
                }
              },
              "type": "object",
              "example": {
                "data": [
                  {
                    "id": 1,
                    "status": 4,
                    "phone": 440959999999,
                    "service": "fb",
                    "country": 44,
                    "countryPhoneCode": 7,
                    "operator": "axis",
                    "price": 1.05,
                    "otpList": [],
                    "createdAt": "2025-12-16T10:30:00.000000Z",
                    "expiredAt": "2025-12-16T10:30:00.000000Z",
                    "verificationType": "sms",
                    "subtype": 1
                  }
                ]
              }
            }
          }
        },
        "description": "Response"
      },
      "ProlongHistorySuccessResponse": {
        "content": {
          "application/json": {
            "schema": {
              "required": [
                "data"
              ],
              "properties": {
                "data": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProlongationHistoryItemSchema"
                  }
                }
              },
              "type": "object",
              "example": {
                "data": [
                  {
                    "duration": 24,
                    "price": 1.05,
                    "createdAt": "2025-12-16T10:30:00.000000Z"
                  }
                ]
              }
            }
          }
        },
        "description": "Response"
      },
      "ActivationExtendOptionsSuccessResponse": {
        "content": {
          "application/json": {
            "schema": {
              "required": [
                "data"
              ],
              "properties": {
                "data": {
                  "required": [
                    "options"
                  ],
                  "properties": {
                    "options": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/ActivationExtendOptionDTOSchema"
                      }
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object",
              "example": {
                "data": {
                  "options": [
                    {
                      "duration": {
                        "value": 2,
                        "unit": "hour"
                      },
                      "price": 0.2145
                    },
                    {
                      "duration": {
                        "value": 24,
                        "unit": "hour"
                      },
                      "price": 1.4324
                    }
                  ]
                }
              }
            }
          }
        },
        "description": "Response"
      },
      "ActivationsOffersSuccessResponse": {
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "data": {
                  "$ref": "#/components/schemas/ActivationsOffersSchema"
                },
                "meta": {
                  "$ref": "#/components/schemas/ActivationsOffersMetaData"
                }
              },
              "type": "object"
            },
            "examples": {
              "Pas de filtre": {
                "$ref": "#/components/examples/ActivationsOffersExample"
              },
              "Filtrer par prestation": {
                "$ref": "#/components/examples/ActivationsOffersServicesFilterExample"
              },
              "Filtrer par pays": {
                "$ref": "#/components/examples/ActivationsOffersCountriesFilterExample"
              },
              "Filtrer par services et pays": {
                "$ref": "#/components/examples/ActivationsOffersServicesCountriesFiltersExample"
              }
            }
          }
        },
        "description": "Response"
      },
      "EmailActivationSuccessResponse": {
        "content": {
          "application/json": {
            "schema": {
              "required": [
                "data"
              ],
              "properties": {
                "data": {
                  "$ref": "#/components/schemas/EmailActivation"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "Response"
      },
      "EmailActivationBatchSuccessResponse": {
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "data": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EmailActivation"
                  }
                },
                "meta": {
                  "properties": {
                    "count": {
                      "type": "integer",
                      "example": 3
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "Response"
      },
      "ServerErrorResponse": {
        "content": {
          "application/json": {
            "schema": {
              "required": [
                "title",
                "details"
              ],
              "properties": {
                "title": {
                  "type": "string"
                },
                "details": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "Response"
      },
      "TooManyRequestsResponse": {
        "headers": {
          "Retry-After": {
            "schema": {
              "type": "integer"
            }
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "required": [
                "title",
                "details"
              ],
              "properties": {
                "title": {
                  "type": "string"
                },
                "details": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "Response"
      },
      "UnprocessableEntityResponse": {
        "content": {
          "application/json": {
            "schema": {
              "required": [
                "title",
                "details",
                "errors"
              ],
              "properties": {
                "title": {
                  "type": "string"
                },
                "details": {
                  "type": "string"
                },
                "errors": {
                  "type": "object",
                  "example": {
                    "parameter1": [
                      "The parameter1 is required.",
                      "The parameter1 must be a number."
                    ],
                    "parameter2": [
                      "The parameter2 must be a number."
                    ]
                  },
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              "type": "object"
            }
          }
        },
        "description": "Response"
      },
      "NotFoundResponse": {
        "content": {
          "application/json": {
            "schema": {
              "required": [
                "title",
                "details"
              ],
              "properties": {
                "title": {
                  "type": "string"
                },
                "details": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "Response"
      },
      "EmailCancelBadRequestResponse": {
        "content": {
          "application/json": {
            "schema": {
              "required": [
                "title",
                "details"
              ],
              "properties": {
                "title": {
                  "type": "string"
                },
                "details": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "Response"
      },
      "EmailReorderBadRequestResponse": {
        "content": {
          "application/json": {
            "schema": {
              "required": [
                "title",
                "details"
              ],
              "properties": {
                "title": {
                  "type": "string"
                },
                "details": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "Response"
      },
      "EmailCancelConflictResponse": {
        "content": {
          "application/json": {
            "schema": {
              "required": [
                "title",
                "details"
              ],
              "properties": {
                "title": {
                  "type": "string"
                },
                "details": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "Response"
      },
      "RaceConditionResponse": {
        "content": {
          "application/json": {
            "schema": {
              "required": [
                "title",
                "details"
              ],
              "properties": {
                "title": {
                  "type": "string"
                },
                "details": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "Response"
      },
      "ActivationBannedResponse": {
        "headers": {
          "Retry-After": {
            "schema": {
              "type": "integer"
            }
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "required": [
                "title",
                "details"
              ],
              "properties": {
                "title": {
                  "type": "string"
                },
                "details": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "Response"
      },
      "UnauthorizedResponse": {
        "content": {
          "application/json": {
            "schema": {
              "required": [
                "title",
                "details"
              ],
              "properties": {
                "title": {
                  "type": "string"
                },
                "details": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "Response"
      },
      "BadRequestResponse": {
        "content": {
          "application/json": {
            "schema": {
              "required": [
                "title",
                "details"
              ],
              "properties": {
                "title": {
                  "type": "string"
                },
                "details": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "Response"
      },
      "OfferNotFoundResponse": {
        "content": {
          "application/json": {
            "schema": {
              "required": [
                "title",
                "details"
              ],
              "properties": {
                "title": {
                  "type": "string"
                },
                "details": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "Response"
      },
      "TooEarlyRequestResponse": {
        "headers": {
          "Retry-After": {
            "schema": {
              "type": "integer"
            }
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "required": [
                "title",
                "details"
              ],
              "properties": {
                "title": {
                  "type": "string"
                },
                "details": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "Response"
      },
      "NoContentResponse": {
        "description": "No content"
      },
      "SAServerErrorResponse": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BaseErrorResponse"
            },
            "examples": {
              "SAServerErrorExample": {
                "$ref": "#/components/examples/SAServerErrorExample"
              }
            }
          }
        },
        "description": "Response"
      },
      "methodNotFoundResponse": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BaseErrorResponse"
            },
            "examples": {
              "methodNotFoundExample": {
                "$ref": "#/components/examples/methodNotFoundExample"
              }
            }
          }
        },
        "description": "Response"
      },
      "activationNotFoundResponse": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BaseErrorResponse"
            },
            "examples": {
              "activationNotFoundExample": {
                "$ref": "#/components/examples/activationNotFoundExample"
              },
              "methodNotFoundExample": {
                "$ref": "#/components/examples/methodNotFoundExample"
              }
            }
          }
        },
        "description": "Response"
      },
      "unauthorizedResponse": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BaseErrorResponse"
            },
            "examples": {
              "unauthorizedExample": {
                "$ref": "#/components/examples/unauthorizedExample"
              }
            }
          }
        },
        "description": "Response"
      },
      "rentParamsBadRequestResponse": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BaseErrorResponse"
            },
            "examples": {
              "badDurationExample": {
                "$ref": "#/components/examples/badDurationExample"
              },
              "wrongCountryIdExample": {
                "$ref": "#/components/examples/wrongCountryIdExample"
              },
              "wrongServiceExample": {
                "$ref": "#/components/examples/wrongServiceExample"
              },
              "wrongCurrencyExample": {
                "$ref": "#/components/examples/wrongCurrencyExample"
              }
            }
          }
        },
        "description": "Response"
      },
      "reactivationForbiddenResponse": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BaseErrorResponse"
            },
            "examples": {
              "serviceUnavailableExample": {
                "$ref": "#/components/examples/serviceUnavailableExample"
              },
              "simOfflineExample": {
                "$ref": "#/components/examples/simOfflineExample"
              },
              "simTemporaryOfflineExample": {
                "$ref": "#/components/examples/simTemporaryOfflineExample"
              }
            }
          }
        },
        "description": "Response"
      },
      "prolongationBadRequestResponse": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BaseErrorResponse"
            },
            "examples": {
              "simOfflineExample": {
                "$ref": "#/components/examples/simOfflineExample"
              },
              "simTemporaryOfflineExample": {
                "$ref": "#/components/examples/simTemporaryOfflineExample"
              },
              "maxHoursExceedExample": {
                "$ref": "#/components/examples/maxHoursExceedExample"
              },
              "badDurationExample": {
                "$ref": "#/components/examples/badDurationExample"
              },
              "activationNotAvailableExample": {
                "$ref": "#/components/examples/activationNotAvailableExample"
              },
              "freezePeriodNotReachedExample": {
                "$ref": "#/components/examples/freezePeriodNotReachedExample"
              }
            }
          }
        },
        "description": "Response"
      },
      "prolongationInfoBadRequestResponse": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BaseErrorResponse"
            },
            "examples": {
              "simOfflineExample": {
                "$ref": "#/components/examples/simOfflineExample"
              },
              "simTemporaryOfflineExample": {
                "$ref": "#/components/examples/simTemporaryOfflineExample"
              },
              "maxHoursExceedExample": {
                "$ref": "#/components/examples/maxHoursExceedExample"
              },
              "activationNotAvailableExample": {
                "$ref": "#/components/examples/activationNotAvailableExample"
              },
              "freezePeriodNotReachedExample": {
                "$ref": "#/components/examples/freezePeriodNotReachedExample"
              }
            }
          }
        },
        "description": "Response"
      },
      "badRequestResponse": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BaseErrorResponse"
            },
            "examples": {
              "badStatusExampleJson": {
                "$ref": "#/components/examples/badStatusExampleJson"
              }
            }
          }
        },
        "description": "Response"
      },
      "getNumberBadRequestResponse": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BaseErrorResponse"
            },
            "examples": {
              "wrongMaxPriceExampleJson": {
                "$ref": "#/components/examples/wrongMaxPriceExampleJson"
              }
            }
          }
        },
        "description": "Response"
      },
      "unprocessableEntityResponse": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BaseErrorResponse"
            },
            "examples": {
              "unprocessableEntityExample": {
                "$ref": "#/components/examples/unprocessableEntityExample"
              }
            }
          }
        },
        "description": "Response"
      },
      "forbiddenResponse": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BaseErrorResponse"
            },
            "examples": {
              "threadsReachedExample": {
                "$ref": "#/components/examples/threadsReachedExample"
              },
              "serviceRestrictedExample": {
                "$ref": "#/components/examples/serviceRestrictedExample"
              },
              "globalBanExample": {
                "$ref": "#/components/examples/globalBanExample"
              },
              "specificBanExample": {
                "$ref": "#/components/examples/specificBanExample"
              },
              "inactiveAccountExample": {
                "$ref": "#/components/examples/inactiveAccountExample"
              }
            }
          }
        },
        "description": "Response"
      },
      "paymentRequiredResponse": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BaseErrorResponse"
            },
            "examples": {
              "paymentRequiredExample": {
                "$ref": "#/components/examples/paymentRequiredExample"
              }
            }
          }
        },
        "description": "Response"
      },
      "noNumbersResponse": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BaseErrorResponse"
            },
            "examples": {
              "noNumbersExample": {
                "$ref": "#/components/examples/noNumbersExample"
              }
            }
          }
        },
        "description": "Response"
      },
      "activationNotActiveResponse": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BaseErrorResponse"
            },
            "examples": {
              "activationNotActiveExample": {
                "$ref": "#/components/examples/activationNotActiveExample"
              }
            }
          }
        },
        "description": "Response"
      },
      "activationFinishConflictResponse": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BaseErrorResponse"
            },
            "examples": {
              "activationNewOtpReceivedExample": {
                "$ref": "#/components/examples/activationNewOtpReceivedExample"
              },
              "activationNotActiveExample": {
                "$ref": "#/components/examples/activationNotActiveExample"
              }
            }
          }
        },
        "description": "Response"
      },
      "activationCancelConflictResponse": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BaseErrorResponse"
            },
            "examples": {
              "activationNewOtpReceivedExample": {
                "$ref": "#/components/examples/activationNewOtpReceivedExample"
              },
              "freeCancellationExpiredExample": {
                "$ref": "#/components/examples/freeCancellationExpiredExample"
              },
              "activationOtpReceivedExample": {
                "$ref": "#/components/examples/activationOtpReceivedExample"
              },
              "activationNotActiveExample": {
                "$ref": "#/components/examples/activationNotActiveExample"
              },
              "earlyCancellationExample": {
                "$ref": "#/components/examples/earlyCancellationExample"
              }
            }
          }
        },
        "description": "Response"
      },
      "SaActivationExtendOptionsSuccessResponse": {
        "content": {
          "application/json": {
            "schema": {
              "required": [
                "data"
              ],
              "properties": {
                "data": {
                  "required": [
                    "options"
                  ],
                  "properties": {
                    "options": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/ActivationExtendOptionSchema"
                      },
                      "minItems": 0
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            },
            "examples": {
              "success": {
                "$ref": "#/components/examples/successExtendActivationOptionsExample"
              }
            }
          }
        },
        "description": "Response"
      },
      "CallRentalUnavailableResponse": {
        "description": "Call rentals are disabled. No allocation or balance charge is made.",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "required": [
                "title",
                "details"
              ],
              "properties": {
                "title": {
                  "type": "string",
                  "enum": [
                    "CALL_RENTAL_UNAVAILABLE"
                  ]
                },
                "details": {
                  "type": "string",
                  "example": "Call rentals are disabled."
                }
              }
            }
          }
        }
      }
    },
    "examples": {
      "ActivationsOffersExample": {
        "value": {
          "data": {
            "go": {
              "6": {
                "prices": {
                  "default": 0.03,
                  "retail": 0.03,
                  "min": 0.03
                },
                "counts": {
                  "total": 19459,
                  "physical": 10221,
                  "defaultPrice": 13610
                },
                "map": {
                  "0.0300": 1171867,
                  "0.0589": 3453473,
                  "0.1510": 3771610
                }
              },
              "48": {
                "prices": {
                  "default": 0.15,
                  "retail": 0.15,
                  "min": 0.15
                },
                "counts": {
                  "total": 10446,
                  "physical": 1821,
                  "defaultPrice": 4654
                },
                "map": {
                  "0.1500": 14460,
                  "0.1553": 28887,
                  "0.6143": 670031
                }
              },
              "50": {
                "prices": {
                  "default": 0.35,
                  "retail": 0.35,
                  "min": 0.35
                },
                "counts": {
                  "total": 31871,
                  "physical": 14454,
                  "defaultPrice": 14206
                },
                "map": {
                  "0.3500": 14306,
                  "0.8226": 612179,
                  "0.9308": 817343
                }
              }
            },
            "ig": {
              "6": {
                "prices": {
                  "default": 0.0334,
                  "retail": 0.0334,
                  "min": 0.0334
                },
                "counts": {
                  "total": 39166,
                  "physical": 25787,
                  "defaultPrice": 31838
                },
                "map": {
                  "0.0334": 10184181,
                  "0.0335": 10976322,
                  "0.0338": 11802947
                }
              },
              "48": {
                "prices": {
                  "default": 0.06,
                  "retail": 0.06,
                  "min": 0.06
                },
                "counts": {
                  "total": 5266,
                  "physical": 197,
                  "defaultPrice": 1509
                },
                "map": {
                  "0.0600": 7524,
                  "0.0725": 12963,
                  "0.2942": 204854
                }
              },
              "50": {
                "prices": {
                  "default": 0.075,
                  "retail": 0.075,
                  "min": 0.075
                },
                "counts": {
                  "total": 36384,
                  "physical": 8404,
                  "defaultPrice": 8211
                },
                "map": {
                  "0.0750": 8211,
                  "0.0942": 24639,
                  "0.0948": 49334
                }
              }
            },
            "tg": {
              "6": {
                "prices": {
                  "default": 0.15,
                  "retail": 0.15,
                  "min": 0.15
                },
                "counts": {
                  "total": 22598,
                  "physical": 12352,
                  "defaultPrice": 4787
                },
                "map": {
                  "0.1500": 286896,
                  "0.1765": 327454,
                  "1.7648": 5814269
                }
              },
              "48": {
                "prices": {
                  "default": 0.9,
                  "retail": 0.9,
                  "min": 0.9
                },
                "counts": {
                  "total": 4076,
                  "physical": 896,
                  "defaultPrice": 0
                },
                "map": {
                  "1.0483": 204,
                  "1.1593": 793,
                  "2.4831": 46024
                }
              },
              "50": {
                "prices": {
                  "default": 1,
                  "retail": 1,
                  "min": 1
                },
                "counts": {
                  "total": 48641,
                  "physical": 15336,
                  "defaultPrice": 183
                },
                "map": {
                  "1.0000": 183,
                  "1.2504": 15885,
                  "2.9412": 1411078
                }
              }
            }
          },
          "meta": {
            "page": null,
            "size": null,
            "sort": {
              "rate": "asc",
              "deliverability": "desc"
            },
            "total": null,
            "hasMore": false,
            "order": {
              "rate": {
                "services": [
                  "go",
                  "ig",
                  "tg"
                ],
                "countries": {
                  "go": [
                    "6",
                    "48",
                    "50"
                  ],
                  "ig": [
                    "6",
                    "48",
                    "50"
                  ],
                  "tg": [
                    "6",
                    "48",
                    "50"
                  ]
                }
              },
              "deliverability": {
                "countries": {
                  "tg": [
                    "48",
                    "6"
                  ],
                  "ig": [
                    "48",
                    "6",
                    "50"
                  ],
                  "go": [
                    "6",
                    "48"
                  ]
                }
              }
            },
            "filters": {
              "countries": [],
              "services": []
            }
          }
        }
      },
      "ActivationsOffersServicesFilterExample": {
        "value": {
          "data": {
            "go": {
              "6": {
                "prices": {
                  "default": 0.03,
                  "retail": 0.03,
                  "min": 0.03
                },
                "counts": {
                  "total": 19459,
                  "physical": 10221,
                  "defaultPrice": 13610
                },
                "map": {
                  "0.0300": 1171867,
                  "0.0589": 3453473,
                  "0.1510": 3771610
                }
              },
              "48": {
                "prices": {
                  "default": 0.15,
                  "retail": 0.15,
                  "min": 0.15
                },
                "counts": {
                  "total": 10446,
                  "physical": 1821,
                  "defaultPrice": 4654
                },
                "map": {
                  "0.1500": 14460,
                  "0.1553": 28887,
                  "0.6143": 670031
                }
              },
              "50": {
                "prices": {
                  "default": 0.35,
                  "retail": 0.35,
                  "min": 0.35
                },
                "counts": {
                  "total": 31871,
                  "physical": 14454,
                  "defaultPrice": 14206
                },
                "map": {
                  "0.3500": 14306,
                  "0.8226": 612179,
                  "0.9308": 817343
                }
              }
            },
            "tg": {
              "6": {
                "prices": {
                  "default": 0.15,
                  "retail": 0.15,
                  "min": 0.15
                },
                "counts": {
                  "total": 22598,
                  "physical": 12352,
                  "defaultPrice": 4787
                },
                "map": {
                  "0.1500": 286896,
                  "0.1765": 327454,
                  "1.7648": 5814269
                }
              },
              "48": {
                "prices": {
                  "default": 0.9,
                  "retail": 0.9,
                  "min": 0.9
                },
                "counts": {
                  "total": 4076,
                  "physical": 896,
                  "defaultPrice": 0
                },
                "map": {
                  "1.0483": 204,
                  "1.1593": 793,
                  "2.4831": 46024
                }
              },
              "50": {
                "prices": {
                  "default": 1,
                  "retail": 1,
                  "min": 1
                },
                "counts": {
                  "total": 48641,
                  "physical": 15336,
                  "defaultPrice": 183
                },
                "map": {
                  "1.0000": 183,
                  "1.2504": 15885,
                  "2.9412": 1411078
                }
              }
            }
          },
          "meta": {
            "page": null,
            "size": null,
            "sort": {
              "rate": "asc",
              "deliverability": "desc"
            },
            "total": null,
            "hasMore": false,
            "order": {
              "rate": {
                "services": [
                  "go",
                  "tg"
                ],
                "countries": {
                  "go": [
                    "6",
                    "48",
                    "50"
                  ],
                  "tg": [
                    "6",
                    "48",
                    "50"
                  ]
                }
              },
              "deliverability": {
                "countries": {
                  "tg": [
                    "48",
                    "6"
                  ],
                  "go": [
                    "6",
                    "48"
                  ]
                }
              }
            },
            "filters": {
              "countries": [],
              "services": [
                "go",
                "tg"
              ]
            }
          }
        }
      },
      "ActivationsOffersCountriesFilterExample": {
        "value": {
          "data": {
            "go": {
              "6": {
                "prices": {
                  "default": 0.03,
                  "retail": 0.03,
                  "min": 0.03
                },
                "counts": {
                  "total": 19459,
                  "physical": 10221,
                  "defaultPrice": 13610
                },
                "map": {
                  "0.0300": 1171867,
                  "0.0589": 3453473,
                  "0.1510": 3771610
                }
              },
              "48": {
                "prices": {
                  "default": 0.15,
                  "retail": 0.15,
                  "min": 0.15
                },
                "counts": {
                  "total": 10446,
                  "physical": 1821,
                  "defaultPrice": 4654
                },
                "map": {
                  "0.1500": 14460,
                  "0.1553": 28887,
                  "0.6143": 670031
                }
              }
            },
            "ig": {
              "6": {
                "prices": {
                  "default": 0.0334,
                  "retail": 0.0334,
                  "min": 0.0334
                },
                "counts": {
                  "total": 39166,
                  "physical": 25787,
                  "defaultPrice": 31838
                },
                "map": {
                  "0.0334": 10184181,
                  "0.0335": 10976322,
                  "0.0338": 11802947
                }
              },
              "48": {
                "prices": {
                  "default": 0.06,
                  "retail": 0.06,
                  "min": 0.06
                },
                "counts": {
                  "total": 5266,
                  "physical": 197,
                  "defaultPrice": 1509
                },
                "map": {
                  "0.0600": 7524,
                  "0.0725": 12963,
                  "0.2942": 204854
                }
              }
            },
            "tg": {
              "6": {
                "prices": {
                  "default": 0.15,
                  "retail": 0.15,
                  "min": 0.15
                },
                "counts": {
                  "total": 22598,
                  "physical": 12352,
                  "defaultPrice": 4787
                },
                "map": {
                  "0.1500": 286896,
                  "0.1765": 327454,
                  "1.7648": 5814269
                }
              },
              "48": {
                "prices": {
                  "default": 0.9,
                  "retail": 0.9,
                  "min": 0.9
                },
                "counts": {
                  "total": 4076,
                  "physical": 896,
                  "defaultPrice": 0
                },
                "map": {
                  "1.0483": 204,
                  "1.1593": 793,
                  "2.4831": 46024
                }
              }
            }
          },
          "meta": {
            "page": null,
            "size": null,
            "sort": {
              "rate": "asc",
              "deliverability": "desc"
            },
            "total": null,
            "hasMore": false,
            "order": {
              "rate": {
                "services": [
                  "go",
                  "ig",
                  "tg"
                ],
                "countries": {
                  "go": [
                    "6",
                    "48"
                  ],
                  "ig": [
                    "6",
                    "48"
                  ],
                  "tg": [
                    "6",
                    "48"
                  ]
                }
              },
              "deliverability": {
                "countries": {
                  "tg": [
                    "48",
                    "6"
                  ],
                  "ig": [
                    "6",
                    "48"
                  ],
                  "go": [
                    "48",
                    "6"
                  ]
                }
              }
            },
            "filters": {
              "countries": [
                "6",
                "48"
              ],
              "services": []
            }
          }
        }
      },
      "ActivationsOffersServicesCountriesFiltersExample": {
        "value": {
          "data": {
            "ig": {
              "6": {
                "prices": {
                  "default": 0.0334,
                  "retail": 0.0334,
                  "min": 0.0334
                },
                "counts": {
                  "total": 39166,
                  "physical": 25787,
                  "defaultPrice": 31838
                },
                "map": {
                  "0.0334": 10184181,
                  "0.0335": 10976322,
                  "0.0338": 11802947
                }
              },
              "50": {
                "prices": {
                  "default": 0.075,
                  "retail": 0.075,
                  "min": 0.075
                },
                "counts": {
                  "total": 36384,
                  "physical": 8404,
                  "defaultPrice": 8211
                },
                "map": {
                  "0.0750": 8211,
                  "0.0942": 24639,
                  "0.0948": 49334
                }
              }
            },
            "tg": {
              "6": {
                "prices": {
                  "default": 0.15,
                  "retail": 0.15,
                  "min": 0.15
                },
                "counts": {
                  "total": 22598,
                  "physical": 12352,
                  "defaultPrice": 4787
                },
                "map": {
                  "0.1500": 286896,
                  "0.1765": 327454,
                  "1.7648": 5814269
                }
              },
              "48": {
                "prices": {
                  "default": 0.9,
                  "retail": 0.9,
                  "min": 0.9
                },
                "counts": {
                  "total": 4076,
                  "physical": 896,
                  "defaultPrice": 0
                },
                "map": {
                  "1.0483": 204,
                  "1.1593": 793,
                  "2.4831": 46024
                }
              }
            }
          },
          "meta": {
            "page": null,
            "size": null,
            "sort": {
              "rate": "asc",
              "deliverability": "desc"
            },
            "total": null,
            "hasMore": false,
            "order": {
              "rate": {
                "services": [
                  "ig",
                  "tg"
                ],
                "countries": {
                  "ig": [
                    "6",
                    "48"
                  ],
                  "tg": [
                    "6",
                    "48"
                  ]
                }
              },
              "deliverability": {
                "countries": {
                  "tg": [
                    "48",
                    "6"
                  ],
                  "ig": [
                    "48",
                    "6"
                  ]
                }
              }
            },
            "filters": {
              "countries": [
                "6",
                "48"
              ],
              "services": [
                "ig",
                "tg"
              ]
            }
          }
        }
      },
      "badActionExample": {
        "value": "BAD_ACTION"
      },
      "sqlServerErrorExample": {
        "value": "ERROR_SQL"
      },
      "bannedExample": {
        "value": "BANNED:'YYYY-m-d H-i-s'"
      },
      "channelsLimitExample": {
        "value": "CHANNELS_LIMIT"
      },
      "missingKeyExample": {
        "value": "NO_KEY"
      },
      "incorrectKeyExample": {
        "value": "BAD_KEY"
      },
      "badStatusExample": {
        "value": "BAD_STATUS"
      },
      "numbersNotFoundExample": {
        "value": "NO_NUMBERS"
      },
      "badServiceExample": {
        "value": "BAD_SERVICE"
      },
      "wrongMaxPriceExample": {
        "value": "WRONG_MAX_PRICE:0.025"
      },
      "wrongMaxPriceExampleJson": {
        "value": {
          "title": "WRONG_MAX_PRICE",
          "details": "The maximum price is less than the permitted price",
          "info": {
            "min": 0.1234
          }
        }
      },
      "wrongActivationIdExample": {
        "value": "WRONG_ACTIVATION_ID"
      },
      "badStatusExampleJson": {
        "value": {
          "title": "BAD_STATUS",
          "details": "Wrong status code"
        }
      },
      "unprocessableEntityExample": {
        "value": {
          "title": "UNPROCESSABLE_ENTITY",
          "details": "Validation failed",
          "info": {
            "field": "service",
            "code": "REQUIRED",
            "message": "Param 'service' is required."
          }
        }
      },
      "wrongCountryIdExample": {
        "value": {
          "title": "WRONG_COUNTRY",
          "details": ""
        }
      },
      "wrongServiceExample": {
        "value": {
          "title": "WRONG_SERVICE",
          "details": "Unsupported service"
        }
      },
      "wrongCurrencyExample": {
        "value": {
          "title": "WRONG_CURRENCY",
          "details": "Unsupported Currency"
        }
      },
      "globalBanExample": {
        "value": {
          "title": "BANNED",
          "details": "Your account is temporarily suspended from making any purchases.",
          "info": {
            "scope": "global",
            "banned_until": 1739448000,
            "retry_after_seconds": 3600,
            "readable_date": "2026-02-13T12:00:00+00:00"
          }
        }
      },
      "specificBanExample": {
        "value": {
          "title": "BANNED",
          "details": "Account temporarily suspended for this specific country/service pair.",
          "info": {
            "scope": "specific",
            "banned_until": 1739448000,
            "retry_after_seconds": 3600,
            "readable_date": "2026-02-20T15:00:00+00:00"
          }
        }
      },
      "successfulAccessReadyExample": {
        "value": "ACCESS_READY"
      },
      "successfulRetryGetExample": {
        "value": "ACCESS_RETRY_GET"
      },
      "successfulAccessActivationExample": {
        "value": "ACCESS_ACTIVATION"
      },
      "successfulAccessCancelExample": {
        "value": "ACCESS_CANCEL"
      },
      "earlyCancelDeniedExample": {
        "value": "EARLY_CANCEL_DENIED"
      },
      "noActivationExample": {
        "value": "NO_ACTIVATION"
      },
      "successfulWaitCodeExample": {
        "value": "STATUS_WAIT_CODE"
      },
      "successfulWaitRetryExample": {
        "value": "STATUS_WAIT_RETRY:100001"
      },
      "successfulWaitResendExample": {
        "value": "STATUS_WAIT_RESEND"
      },
      "successfulCancelExample": {
        "value": "STATUS_CANCEL"
      },
      "successfulOKExample": {
        "value": "STATUS_OK:100001"
      },
      "incorrectServiceExample": {
        "value": {
          "status": "false",
          "msg": "service is incorrect"
        }
      },
      "incorrectCountryExample": {
        "value": {
          "status": "false",
          "msg": "country is incorrect"
        }
      },
      "successfulBalanceExample": {
        "value": "ACCESS_BALANCE:100.5"
      },
      "successfulNumberExample": {
        "value": "ACCESS_NUMBER:123456789:7*********0"
      },
      "successfulNumberv2Example": {
        "value": {
          "activationId": "635468024",
          "phoneNumber": "79584******",
          "activationCost": 12.5,
          "currency": 840,
          "countryCode": 6,
          "countryPhoneCode": 62,
          "canGetAnotherSms": true,
          "activationTime": "2026-02-18T16:11:33+00:00",
          "activationEndTime": "2026-02-18T18:11:23+00:00",
          "activationOperator": "any",
          "verificationType": "sms",
          "subtype": 1,
          "serviceCode": "vk",
          "status": 4
        }
      },
      "successfulReactivationPriceExample": {
        "value": {
          "data": {
            "price": 0.1234
          }
        }
      },
      "successfulProlongationPriceExample": {
        "value": {
          "data": {
            "2": 0.1234,
            "4": 0.2234,
            "24": 1.2234,
            "168": 3.6432
          }
        }
      },
      "successfulProlongationHistoryExample": {
        "value": {
          "data": [
            {
              "hours": 2,
              "userPrice": 0.1442,
              "createDate": "2026-04-01T22:00:58+3:00",
              "payerType": "client"
            },
            {
              "hours": 24,
              "userPrice": 0,
              "createDate": "2026-04-02T00:00:58+3:00",
              "payerType": "partner"
            }
          ]
        }
      },
      "successfulActivationV2Example": {
        "value": {
          "verificationType": "sms",
          "data": {
            "id": "3416693217",
            "phoneFrom": "Telegram",
            "code": "123456",
            "text": "Telegram code 123456",
            "service": "tg",
            "date": "2026-02-16T12:36:59+03:00",
            "type": "sms"
          }
        }
      },
      "activationsSuccessfulExample": {
        "value": {
          "status": "success",
          "data": [
            {
              "activationId": "635468021",
              "serviceCode": "vk",
              "phoneNumber": "79********1",
              "activationCost": 12.5,
              "activationStatus": "4",
              "smsCode": "12345",
              "smsText": "Your code is 12345",
              "activationTime": "2022-06-01 16:59:16",
              "countryCode": "2",
              "countryName": "Kazakhstan",
              "canGetAnotherSms": "1",
              "currency": 840,
              "verificationType": "sms",
              "subtype": 1
            }
          ]
        }
      },
      "successfulActivationsHistoryExample": {
        "value": [
          {
            "id": "635468024",
            "date": "0000-00-00 00:00:00",
            "phone": "7*********0",
            "sms": "Your code is ****",
            "cost": 0,
            "status": "4",
            "currency": 840
          }
        ]
      },
      "successGetPrices": {
        "value": [
          {
            "baa": {
              "cost": 0.08,
              "count": 25370,
              "physicalCount": 14528
            }
          }
        ]
      },
      "topCountriesAllServicesExample": {
        "value": [
          {
            "ig": [
              {
                "physicalTotalCount": 7933,
                "physicalCountForDefaultPrice": 5198,
                "physicalPriceMap": {
                  "0.04": 24,
                  "0.0415": 439,
                  "0.0419": 3229
                },
                "retail_price": 0.2,
                "country": 6,
                "price": 0.045,
                "count": 5477
              }
            ]
          }
        ]
      },
      "topCountriesOneServiceExample": {
        "value": [
          {
            "physicalTotalCount": 7933,
            "physicalCountForDefaultPrice": 5198,
            "physicalPriceMap": {
              "0.04": 24,
              "0.0415": 439,
              "0.0419": 3229
            },
            "retail_price": 0.2,
            "country": 6,
            "price": 0.045,
            "count": 5477
          }
        ]
      },
      "successServiceCountRent": {
        "value": {
          "6": {
            "2": {
              "count": 25370,
              "price": 0.18,
              "retail_price": 0.18
            },
            "12": {
              "count": 400,
              "price": 0.4568,
              "retail_price": 0.4568
            },
            "48": {
              "count": 4523,
              "price": 0.8575,
              "retail_price": 0.8575
            }
          }
        }
      },
      "emptyServiceCountRent": {
        "value": "{}"
      },
      "successGetRentServicesAndCountriesExample": {
        "value": {
          "operators": {
            "1": "tmobile",
            "2": "three"
          },
          "services": {
            "abc": {
              "quantity": 2,
              "price": 0.6,
              "retail_price": 0.6
            },
            "tg": {
              "quantity": 2,
              "price": 1.2,
              "retail_price": 1.2
            }
          }
        }
      },
      "successExtendActivationOptionsExample": {
        "value": {
          "data": {
            "options": [
              {
                "duration": {
                  "value": 2,
                  "unit": "hour"
                },
                "price": 0.2145
              },
              {
                "duration": {
                  "value": 24,
                  "unit": "hour"
                },
                "price": 1.4324
              }
            ]
          }
        }
      },
      "successGetCountriesExample": {
        "value": [
          {
            "id": 2,
            "rus": "Казахстан",
            "eng": "Kazakhstan",
            "chn": "哈萨克斯坦",
            "visible": 1,
            "retry": 1
          }
        ]
      },
      "successGetServicesListExample": {
        "value": {
          "status": "success",
          "services": [
            {
              "code": "aoo",
              "name": "Pegasus Airlines"
            }
          ]
        }
      },
      "successfulGetOperatorsExample": {
        "value": {
          "status": "success",
          "countryOperators": {
            "175": [
              "optus",
              "vodafone",
              "telstra",
              "lebara"
            ]
          }
        }
      },
      "operatorsNotFoundExample": {
        "value": "OPERATORS_NOT_FOUND"
      },
      "successfulRentNumberExample": {
        "value": {
          "id": "635468024",
          "phoneNumber": "79584******",
          "cost": 1.5333,
          "currency": 840,
          "lockCancelTime": 120,
          "endDate": "2022-06-01T22:00:58+03:00",
          "operator": "mtt"
        }
      },
      "successfulOtpListExample": {
        "value": {
          "data": [
            {
              "id": "3416693217",
              "phoneFrom": "Telegram",
              "code": "123456",
              "text": "Telegram code 123456",
              "service": "tg",
              "date": "2026-02-16T12:36:59+03:00",
              "type": "sms"
            },
            {
              "id": "3416693218",
              "phoneFrom": "213421421431",
              "code": null,
              "text": null,
              "service": "tg",
              "date": "2026-02-16T12:36:59+03:00",
              "type": "call"
            }
          ]
        }
      },
      "badDurationExample": {
        "value": {
          "title": "BAD_DURATION",
          "details": "Duration must be integer.",
          "info": {
            "min": 24,
            "max": 720,
            "available_durations": [
              24,
              72,
              168,
              720
            ]
          }
        }
      },
      "serviceUnavailableExample": {
        "value": {
          "title": "SERVICE_NOT_AVAILABLE",
          "details": "Service not available for sale. Contact the technical support."
        }
      },
      "simOfflineExample": {
        "value": {
          "title": "SIM_OFFLINE",
          "details": "Sim offline."
        }
      },
      "simTemporaryOfflineExample": {
        "value": {
          "title": "SIM_TEMPORARY_OFFLINE",
          "details": "Sim temporary offline. Try later."
        }
      },
      "maxHoursExceedExample": {
        "value": {
          "title": "MAX_HOURS_EXCEED",
          "details": "Requested extension duration exceeds the maximum allowed hours.",
          "info": {
            "max": 336
          }
        }
      },
      "activationNotAvailableExample": {
        "value": {
          "title": "ACTION_NOT_AVAILABLE",
          "details": "Action not available for this activation. Try '/reactivate' method."
        }
      },
      "freezePeriodNotReachedExample": {
        "value": {
          "title": "FREEZE_PERIOD_NOT_REACHED",
          "details": "Action not available while freeze period is active.",
          "info": {
            "retry_after_seconds": 3600,
            "readable_date": "2026-01-01T10:00:00+00:00"
          }
        }
      },
      "threadsReachedExample": {
        "value": {
          "title": "CHANNELS_LIMIT",
          "details": "You have reached the maximum number of concurrent threads (purchases) allowed for your account. Contact the technical support.",
          "info": {
            "current_threads": 0,
            "max_allowed": -1
          }
        }
      },
      "serviceRestrictedExample": {
        "value": {
          "title": "SERVICE_NOT_AVAILABLE",
          "details": "Service not available for sale. Contact the technical support."
        }
      },
      "inactiveAccountExample": {
        "value": {
          "title": "ACCOUNT_INACTIVE",
          "details": "Activate your account"
        }
      },
      "activationFinishedExample": {
        "value": {
          "title": "FINISHED",
          "details": "Activation finished."
        }
      },
      "activationRefundedExample": {
        "value": {
          "title": "REFUNDED",
          "details": "Activation blocked. Funds refunded."
        }
      },
      "activationCanceledExample": {
        "value": {
          "title": "CANCELED",
          "details": "Activation canceled."
        }
      },
      "freeCancellationExpiredExample": {
        "value": {
          "title": "FREE_CANCELLATION_EXPIRED",
          "details": "Cannot terminate activation - time limit exceeded (20 minutes)"
        }
      },
      "earlyCancellationExample": {
        "value": {
          "title": "EARLY_CANCEL_DENIED",
          "details": "Activation cannot be cancelled at this time. Minimum activation period must pass.",
          "info": {
            "minActivationTime": 120
          }
        }
      },
      "activationOtpReceivedExample": {
        "value": {
          "title": "OTP_RECEIVED",
          "details": "Cannot terminate activation - OTP has been received on this number"
        }
      },
      "paymentRequiredExample": {
        "value": {
          "title": "NO_BALANCE",
          "details": "Payment Required"
        }
      },
      "noNumbersExample": {
        "value": {
          "title": "NO_NUMBERS",
          "details": "Numbers Gone. Try Later"
        }
      },
      "activationNotActiveExample": {
        "value": {
          "title": "ACTIVATION_NOT_ACTIVE",
          "details": "Activation is terminated/refunded and Otp cannot be retrieved"
        }
      },
      "SAServerErrorExample": {
        "value": {
          "title": "SERVER_ERROR",
          "details": "Server Gone"
        }
      },
      "methodNotFoundExample": {
        "value": {
          "title": "BAD_ACTION",
          "details": "Method Not Found"
        }
      },
      "activationNotFoundExample": {
        "value": {
          "title": "NOT_FOUND",
          "details": "Activation Not Found"
        }
      },
      "unauthorizedExample": {
        "value": {
          "title": "BAD_KEY",
          "details": "Unauthorized"
        }
      },
      "activationNewOtpReceivedExample": {
        "value": {
          "title": "NEW_OTP_RECEIVED",
          "details": "Otp was received on this number. Please confirm termination.",
          "info": {
            "data": [
              {
                "id": "3416693217",
                "phoneFrom": "Telegram",
                "code": "123456",
                "text": "Telegram code 123456",
                "service": "tg",
                "date": "2026-02-16T12:36:59+03:00",
                "type": "sms"
              },
              {
                "id": "3416693218",
                "phoneFrom": "213421421431",
                "code": null,
                "text": null,
                "service": "tg",
                "date": "2026-02-16T12:36:59+03:00",
                "type": "call"
              }
            ]
          }
        }
      }
    },
    "requestBodies": {
      "BuyActivationRequestBody": {
        "content": {
          "application/json": {
            "schema": {
              "required": [
                "service",
                "country",
                "amount"
              ],
              "properties": {
                "service": {
                  "$ref": "#/components/schemas/ServiceId"
                },
                "country": {
                  "$ref": "#/components/schemas/CountryId"
                },
                "amount": {
                  "type": "integer",
                  "example": 1,
                  "maximum": 10,
                  "minimum": 1
                },
                "operator": {
                  "$ref": "#/components/schemas/OperatorId"
                },
                "phoneException": {
                  "$ref": "#/components/schemas/PhoneException"
                },
                "maxPrice": {
                  "$ref": "#/components/schemas/MaxPrice"
                },
                "fixedPrice": {
                  "$ref": "#/components/schemas/FixedPrice"
                },
                "duration": {
                  "$ref": "#/components/schemas/RentDuration"
                },
                "verificationType": {
                  "$ref": "#/components/schemas/VerificationType"
                },
                "resellerUserId": {
                  "$ref": "#/components/schemas/ResellerUserId"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "Response"
      },
      "ReactivateActivationRequestBody": {
        "content": {
          "application/json": {
            "schema": {
              "required": [],
              "properties": {
                "duration": {
                  "$ref": "#/components/schemas/RentDuration"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "Response"
      },
      "ProlongActivationRequestBody": {
        "content": {
          "application/json": {
            "schema": {
              "required": [
                "duration"
              ],
              "properties": {
                "duration": {
                  "$ref": "#/components/schemas/RentDuration"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "Response"
      }
    }
  },
  "security": [
    {
      "apiKeyQuery": []
    }
  ],
  "paths": {
    "/stubs/handler_api.php": {
      "get": {
        "tags": [
          "SMS activations"
        ],
        "summary": "SMSHub-compatible action endpoint",
        "description": "Action endpoint for SMS activation and rental operations. Choose one documented action below; parameters and responses match its /api/sms/{action} alias.",
        "parameters": [
          {
            "$ref": "#/components/parameters/action"
          },
          {
            "name": "service",
            "in": "query",
            "schema": {
              "type": "string",
              "example": "tg"
            },
            "description": "Service code, for example tg for Telegram."
          },
          {
            "name": "country",
            "in": "query",
            "schema": {
              "type": "string",
              "example": "0"
            },
            "description": "Country code."
          },
          {
            "name": "id",
            "in": "query",
            "schema": {
              "type": "string",
              "example": "123456"
            },
            "description": "Activation ID for getStatus or setStatus."
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "integer",
              "enum": [
                1,
                3,
                6,
                8
              ]
            },
            "description": "Status for setStatus: 1 ready, 3 retry, 6 complete, 8 cancel."
          },
          {
            "name": "maxPrice",
            "in": "query",
            "schema": {
              "type": "number",
              "example": 0.5
            },
            "description": "Maximum accepted client price."
          }
        ],
        "responses": {
          "200": {
            "description": "Expected SMSHub-compatible plain text or JSON response.",
            "content": {
              "text/plain": {
                "examples": {
                  "balance": {
                    "summary": "getBalance",
                    "value": "ACCESS_BALANCE:12.34"
                  },
                  "number": {
                    "summary": "getNumber",
                    "value": "ACCESS_NUMBER:123456:447700900123"
                  },
                  "wait": {
                    "summary": "getStatus waiting",
                    "value": "STATUS_WAIT_CODE"
                  },
                  "code": {
                    "summary": "getStatus success",
                    "value": "STATUS_OK:12345"
                  },
                  "cancel": {
                    "summary": "setStatus cancel",
                    "value": "ACCESS_CANCEL"
                  },
                  "error": {
                    "summary": "Error",
                    "value": "BAD_KEY"
                  }
                }
              },
              "application/json": {
                "examples": {
                  "numberV2": {
                    "summary": "getNumberV2",
                    "value": {
                      "activationId": "123456",
                      "phoneNumber": "447700900123",
                      "activationCost": 0.12,
                      "countryCode": "0",
                      "canGetAnotherSms": true
                    }
                  },
                  "prices": {
                    "summary": "getPrices",
                    "value": {
                      "0": {
                        "tg": {
                          "cost": 0.12,
                          "count": 42
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "SMS activations"
        ],
        "summary": "SMSHub-compatible action endpoint",
        "description": "POST action endpoint, including reactivation and prolongation. Accepts query or form parameters.",
        "parameters": [
          {
            "$ref": "#/components/parameters/action"
          },
          {
            "name": "service",
            "in": "query",
            "schema": {
              "type": "string",
              "example": "tg"
            },
            "description": "Service code, for example tg for Telegram."
          },
          {
            "name": "country",
            "in": "query",
            "schema": {
              "type": "string",
              "example": "0"
            },
            "description": "Country code."
          },
          {
            "name": "id",
            "in": "query",
            "schema": {
              "type": "string",
              "example": "123456"
            },
            "description": "Activation ID for getStatus or setStatus."
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "integer",
              "enum": [
                1,
                3,
                6,
                8
              ]
            },
            "description": "Status for setStatus: 1 ready, 3 retry, 6 complete, 8 cancel."
          },
          {
            "name": "maxPrice",
            "in": "query",
            "schema": {
              "type": "number",
              "example": 0.5
            },
            "description": "Maximum accepted client price."
          }
        ],
        "responses": {
          "200": {
            "description": "Expected SMSHub-compatible plain text or JSON response.",
            "content": {
              "text/plain": {
                "examples": {
                  "balance": {
                    "summary": "getBalance",
                    "value": "ACCESS_BALANCE:12.34"
                  },
                  "number": {
                    "summary": "getNumber",
                    "value": "ACCESS_NUMBER:123456:447700900123"
                  },
                  "wait": {
                    "summary": "getStatus waiting",
                    "value": "STATUS_WAIT_CODE"
                  },
                  "code": {
                    "summary": "getStatus success",
                    "value": "STATUS_OK:12345"
                  },
                  "cancel": {
                    "summary": "setStatus cancel",
                    "value": "ACCESS_CANCEL"
                  },
                  "error": {
                    "summary": "Error",
                    "value": "BAD_KEY"
                  }
                }
              },
              "application/json": {
                "examples": {
                  "numberV2": {
                    "summary": "getNumberV2",
                    "value": {
                      "activationId": "123456",
                      "phoneNumber": "447700900123",
                      "activationCost": 0.12,
                      "countryCode": "0",
                      "canGetAnotherSms": true
                    }
                  },
                  "prices": {
                    "summary": "getPrices",
                    "value": {
                      "0": {
                        "tg": {
                          "cost": 0.12,
                          "count": 42
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/mail/getActivation": {
      "get": {
        "tags": [
          "Mail activations"
        ],
        "summary": "Buy temporary mail activation",
        "parameters": [
          {
            "name": "service",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "example": "tg"
            }
          },
          {
            "name": "domain",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "example": "gmail.com"
            }
          },
          {
            "name": "alias",
            "in": "query",
            "schema": {
              "type": "integer",
              "enum": [
                0,
                1
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Mail activation result.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MailActivation"
                },
                "examples": {
                  "success": {
                    "value": {
                      "status": 1,
                      "mail": "user@gmail.com",
                      "mailId": 123456
                    }
                  },
                  "error": {
                    "value": {
                      "status": 0,
                      "error": "No mails yet"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": true,
        "description": "Deprecated SmsBower-only mail API. HeroSMS email IDs must use /api/v1/emails. New legacy purchases/catalogue are disabled by default."
      },
      "servers": [
        {
          "url": "https://simub.com",
          "description": "Legacy SmsBower mail API"
        }
      ]
    },
    "/api/mail/getCode": {
      "get": {
        "tags": [
          "Mail activations"
        ],
        "summary": "Get received mail code",
        "parameters": [
          {
            "name": "mailId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "example": 123456
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Mail code response.",
            "content": {
              "application/json": {
                "examples": {
                  "success": {
                    "value": {
                      "status": 1,
                      "code": "12345"
                    }
                  },
                  "wait": {
                    "value": {
                      "status": 0,
                      "error": "Code has not been received yet, please try again later"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": true,
        "description": "Deprecated SmsBower-only mail API. HeroSMS email IDs must use /api/v1/emails. New legacy purchases/catalogue are disabled by default."
      },
      "servers": [
        {
          "url": "https://simub.com",
          "description": "Legacy SmsBower mail API"
        }
      ]
    },
    "/api/mail/getPriceRests": {
      "get": {
        "tags": [
          "Mail activations"
        ],
        "summary": "Get temporary mail offers with prices and counts",
        "parameters": [
          {
            "name": "service",
            "in": "query",
            "schema": {
              "type": "string",
              "example": "tg"
            }
          },
          {
            "name": "domain",
            "in": "query",
            "schema": {
              "type": "string",
              "example": "gmail.com"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Available mail offers.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MailPriceRests"
                },
                "examples": {
                  "success": {
                    "value": {
                      "status": 1,
                      "data": {
                        "tg": {
                          "gmail.com": {
                            "price": 0.12,
                            "count": 42
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": true,
        "description": "Deprecated SmsBower-only mail API. HeroSMS email IDs must use /api/v1/emails. New legacy purchases/catalogue are disabled by default."
      },
      "servers": [
        {
          "url": "https://simub.com",
          "description": "Legacy SmsBower mail API"
        }
      ]
    },
    "/api/mail/getPrices": {
      "get": {
        "tags": [
          "Mail activations"
        ],
        "summary": "Get temporary mail prices",
        "parameters": [
          {
            "name": "service",
            "in": "query",
            "schema": {
              "type": "string",
              "example": "tg"
            }
          },
          {
            "name": "domain",
            "in": "query",
            "schema": {
              "type": "string",
              "example": "gmail.com"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Price list.",
            "content": {
              "application/json": {
                "examples": {
                  "success": {
                    "value": {
                      "status": 1,
                      "prices": [
                        {
                          "service": "tg",
                          "domain": "gmail.com",
                          "price": 0.12
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": true,
        "description": "Deprecated SmsBower-only mail API. HeroSMS email IDs must use /api/v1/emails. New legacy purchases/catalogue are disabled by default."
      },
      "servers": [
        {
          "url": "https://simub.com",
          "description": "Legacy SmsBower mail API"
        }
      ]
    },
    "/api/mail/getRests": {
      "get": {
        "tags": [
          "Mail activations"
        ],
        "summary": "Get temporary mail stock counts",
        "parameters": [
          {
            "name": "service",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "tg"
            },
            "description": "Optional service code."
          },
          {
            "name": "domain",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "gmail.com"
            },
            "description": "Optional mail domain."
          }
        ],
        "responses": {
          "200": {
            "description": "Available mail stock counts.",
            "content": {
              "application/json": {
                "examples": {
                  "success": {
                    "value": {
                      "status": 1,
                      "rests": {
                        "tg": {
                          "gmail.com": 42
                        }
                      }
                    }
                  },
                  "unavailable": {
                    "value": {
                      "status": 0,
                      "error": "Mail activations are temporarily unavailable",
                      "rests": []
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": true,
        "description": "Deprecated SmsBower-only mail API. HeroSMS email IDs must use /api/v1/emails. New legacy purchases/catalogue are disabled by default."
      },
      "servers": [
        {
          "url": "https://simub.com",
          "description": "Legacy SmsBower mail API"
        }
      ]
    },
    "/api/mail/getStatus": {
      "get": {
        "tags": [
          "Mail activations"
        ],
        "summary": "Get temporary mail activation status",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "example": 123456
            },
            "description": "Mail activation ID."
          }
        ],
        "responses": {
          "200": {
            "description": "Mail activation status.",
            "content": {
              "application/json": {
                "examples": {
                  "success": {
                    "value": {
                      "status": 1,
                      "data": {
                        "status": 1,
                        "status_description": "Waiting for code",
                        "available_to_get_next_code": true,
                        "last_code": null
                      }
                    }
                  },
                  "error": {
                    "value": {
                      "status": 0,
                      "error": "No activation found with such id"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": true,
        "description": "Deprecated SmsBower-only mail API. HeroSMS email IDs must use /api/v1/emails. New legacy purchases/catalogue are disabled by default."
      },
      "servers": [
        {
          "url": "https://simub.com",
          "description": "Legacy SmsBower mail API"
        }
      ]
    },
    "/api/mail/setStatus": {
      "get": {
        "tags": [
          "Mail activations"
        ],
        "summary": "Update temporary mail activation status",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "example": 123456
            },
            "description": "Mail activation ID."
          },
          {
            "name": "status",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "example": 3,
              "enum": [
                3,
                5
              ]
            },
            "description": "3 marks success; 5 requests the next code."
          }
        ],
        "responses": {
          "200": {
            "description": "Mail status update result.",
            "content": {
              "application/json": {
                "examples": {
                  "success": {
                    "value": {
                      "status": 1,
                      "message": "Activation updated"
                    }
                  },
                  "waitNext": {
                    "value": {
                      "status": 1,
                      "message": "Wait for next code"
                    }
                  },
                  "error": {
                    "value": {
                      "status": 0,
                      "error": "Bad status param"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": true,
        "description": "Deprecated SmsBower-only mail API. HeroSMS email IDs must use /api/v1/emails. New legacy purchases/catalogue are disabled by default."
      },
      "servers": [
        {
          "url": "https://simub.com",
          "description": "Legacy SmsBower mail API"
        }
      ]
    },
    "/api/mail/requestRefund": {
      "get": {
        "tags": [
          "Mail activations"
        ],
        "summary": "Cancel and refund a provider mail activation",
        "description": "Deprecated SmsBower-only mail API. HeroSMS email IDs must use /api/v1/emails. New legacy purchases/catalogue are disabled by default.",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "example": 123456
            },
            "description": "Mail activation ID."
          }
        ],
        "responses": {
          "200": {
            "description": "Refund response.",
            "content": {
              "text/plain": {
                "examples": {
                  "success": {
                    "value": "SUCCESS"
                  }
                }
              },
              "application/json": {
                "examples": {
                  "error": {
                    "value": {
                      "status": 0,
                      "error": "Bad activation status"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": true
      },
      "servers": [
        {
          "url": "https://simub.com",
          "description": "Legacy SmsBower mail API"
        }
      ]
    },
    "/api/sms/{action}": {
      "get": {
        "tags": [
          "SMS activations"
        ],
        "summary": "SMS action endpoint",
        "description": "Alternative REST-style URL for the same SMSHub-compatible actions handled by /stubs/handler_api.php. The path segment is copied to the action parameter internally.",
        "parameters": [
          {
            "name": "action",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "2faReturn",
                "cancelActivation",
                "finishActivation",
                "getActiveActivations",
                "getAllSms",
                "getBalance",
                "getCountries",
                "getFullOptPhonePrices",
                "getHistory",
                "getNumber",
                "getNumberV2",
                "getNumberV3",
                "getNumbersStats",
                "getOperators",
                "getPrices",
                "getPricesV2",
                "getPricesV3",
                "getPrimeNumber",
                "getRentNumber",
                "getRentServicesAndCountries",
                "getServices",
                "getServicesList",
                "getStatus",
                "getStatusV2",
                "getTopCountriesByService",
                "getTopCountriesByServiceRank",
                "prolong",
                "prolongHistory",
                "prolongOptions",
                "reactivate",
                "reactivateOptions",
                "reject",
                "returnMoneyActivation",
                "serviceCountRent",
                "setStatus"
              ]
            },
            "description": "SMS API action name."
          },
          {
            "name": "service",
            "in": "query",
            "schema": {
              "type": "string",
              "example": "tg"
            },
            "description": "Service code, for example tg for Telegram."
          },
          {
            "name": "country",
            "in": "query",
            "schema": {
              "type": "string",
              "example": "0"
            },
            "description": "Country code."
          },
          {
            "name": "id",
            "in": "query",
            "schema": {
              "type": "string",
              "example": "123456"
            },
            "description": "Activation ID for getStatus or setStatus."
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "integer",
              "enum": [
                1,
                3,
                6,
                8
              ]
            },
            "description": "Status for setStatus: 1 ready, 3 retry, 6 complete, 8 cancel."
          },
          {
            "name": "maxPrice",
            "in": "query",
            "schema": {
              "type": "number",
              "example": 0.5
            },
            "description": "Maximum accepted client price."
          }
        ],
        "responses": {
          "200": {
            "description": "Expected SMSHub-compatible plain text or JSON response.",
            "content": {
              "text/plain": {
                "examples": {
                  "balance": {
                    "summary": "getBalance",
                    "value": "ACCESS_BALANCE:12.34"
                  },
                  "number": {
                    "summary": "getNumber",
                    "value": "ACCESS_NUMBER:123456:447700900123"
                  },
                  "wait": {
                    "summary": "getStatus waiting",
                    "value": "STATUS_WAIT_CODE"
                  },
                  "code": {
                    "summary": "getStatus success",
                    "value": "STATUS_OK:12345"
                  },
                  "cancel": {
                    "summary": "setStatus cancel",
                    "value": "ACCESS_CANCEL"
                  },
                  "error": {
                    "summary": "Error",
                    "value": "BAD_KEY"
                  }
                }
              },
              "application/json": {
                "examples": {
                  "numberV2": {
                    "summary": "getNumberV2",
                    "value": {
                      "activationId": "123456",
                      "phoneNumber": "447700900123",
                      "activationCost": 0.12,
                      "countryCode": "0",
                      "canGetAnotherSms": true
                    }
                  },
                  "prices": {
                    "summary": "getPrices",
                    "value": {
                      "0": {
                        "tg": {
                          "cost": 0.12,
                          "count": 42
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "SMS activations"
        ],
        "summary": "SMS action endpoint",
        "description": "POST alias for /api/sms/{action}. Accepts the same query/form parameters as the GET endpoint.",
        "parameters": [
          {
            "name": "action",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "2faReturn",
                "cancelActivation",
                "finishActivation",
                "getActiveActivations",
                "getAllSms",
                "getBalance",
                "getCountries",
                "getFullOptPhonePrices",
                "getHistory",
                "getNumber",
                "getNumberV2",
                "getNumberV3",
                "getNumbersStats",
                "getOperators",
                "getPrices",
                "getPricesV2",
                "getPricesV3",
                "getPrimeNumber",
                "getRentNumber",
                "getRentServicesAndCountries",
                "getServices",
                "getServicesList",
                "getStatus",
                "getStatusV2",
                "getTopCountriesByService",
                "getTopCountriesByServiceRank",
                "prolong",
                "prolongHistory",
                "prolongOptions",
                "reactivate",
                "reactivateOptions",
                "reject",
                "returnMoneyActivation",
                "serviceCountRent",
                "setStatus"
              ]
            },
            "description": "SMS API action name."
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "service": {
                    "type": "string",
                    "example": "tg"
                  },
                  "country": {
                    "type": "string",
                    "example": "0"
                  },
                  "id": {
                    "type": "string",
                    "example": "123456"
                  },
                  "status": {
                    "type": "integer",
                    "enum": [
                      1,
                      3,
                      6,
                      8
                    ]
                  },
                  "maxPrice": {
                    "type": "number",
                    "example": 0.5
                  }
                }
              }
            },
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "service": {
                    "type": "string",
                    "example": "tg"
                  },
                  "country": {
                    "type": "string",
                    "example": "0"
                  },
                  "id": {
                    "type": "string",
                    "example": "123456"
                  },
                  "status": {
                    "type": "integer",
                    "enum": [
                      1,
                      3,
                      6,
                      8
                    ]
                  },
                  "maxPrice": {
                    "type": "number",
                    "example": 0.5
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Expected SMSHub-compatible plain text or JSON response.",
            "content": {
              "text/plain": {
                "examples": {
                  "balance": {
                    "summary": "getBalance",
                    "value": "ACCESS_BALANCE:12.34"
                  },
                  "number": {
                    "summary": "getNumber",
                    "value": "ACCESS_NUMBER:123456:447700900123"
                  },
                  "wait": {
                    "summary": "getStatus waiting",
                    "value": "STATUS_WAIT_CODE"
                  },
                  "code": {
                    "summary": "getStatus success",
                    "value": "STATUS_OK:12345"
                  },
                  "cancel": {
                    "summary": "setStatus cancel",
                    "value": "ACCESS_CANCEL"
                  },
                  "error": {
                    "summary": "Error",
                    "value": "BAD_KEY"
                  }
                }
              },
              "application/json": {
                "examples": {
                  "numberV2": {
                    "summary": "getNumberV2",
                    "value": {
                      "activationId": "123456",
                      "phoneNumber": "447700900123",
                      "activationCost": 0.12,
                      "countryCode": "0",
                      "canGetAnotherSms": true
                    }
                  },
                  "prices": {
                    "summary": "getPrices",
                    "value": {
                      "0": {
                        "tg": {
                          "cost": 0.12,
                          "count": 42
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/sms/getBalance": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getBalance",
        "responses": {
          "200": {
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "successfulBalanceExample": {
                    "$ref": "#/components/examples/successfulBalanceExample"
                  }
                }
              }
            },
            "description": "Response"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/methodNotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/unprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getBalance",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getBalancePost",
        "responses": {
          "200": {
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "successfulBalanceExample": {
                    "$ref": "#/components/examples/successfulBalanceExample"
                  }
                }
              }
            },
            "description": "Response"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/methodNotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/unprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getBalance",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/getNumber": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getNumber",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredService"
          },
          {
            "$ref": "#/components/parameters/qpSARequiredCountry"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalOperator"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalMaxPrice"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalFixedPrice"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalRef"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalPhoneException"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "successfulNumberExample": {
                    "$ref": "#/components/examples/successfulNumberExample"
                  },
                  "numbersNotFoundExample": {
                    "$ref": "#/components/examples/numbersNotFoundExample"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "notAvailable": {
                    "value": "NO_NUMBERS"
                  },
                  "missingActivation": {
                    "value": "NO_ACTIVATION"
                  }
                }
              }
            },
            "description": "Response"
          },
          "400": {
            "$ref": "#/components/responses/getNumberBadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "402": {
            "$ref": "#/components/responses/paymentRequiredResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/methodNotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/CallRentalUnavailableResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getNumber",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. Call rentals are disabled: verificationType=call with duration returns 422 CALL_RENTAL_UNAVAILABLE before allocation or charging."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getNumberPost",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredService"
          },
          {
            "$ref": "#/components/parameters/qpSARequiredCountry"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalOperator"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalMaxPrice"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalFixedPrice"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalRef"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalPhoneException"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "successfulNumberExample": {
                    "$ref": "#/components/examples/successfulNumberExample"
                  },
                  "numbersNotFoundExample": {
                    "$ref": "#/components/examples/numbersNotFoundExample"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "notAvailable": {
                    "value": "NO_NUMBERS"
                  },
                  "missingActivation": {
                    "value": "NO_ACTIVATION"
                  }
                }
              }
            },
            "description": "Response"
          },
          "400": {
            "$ref": "#/components/responses/getNumberBadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "402": {
            "$ref": "#/components/responses/paymentRequiredResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/methodNotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/CallRentalUnavailableResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getNumber",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. POST accepts the same query/form parameters. Call rentals are disabled: verificationType=call with duration returns 422 CALL_RENTAL_UNAVAILABLE before allocation or charging."
      }
    },
    "/api/sms/getPrimeNumber": {
      "get": {
        "tags": [
          "SMS activations"
        ],
        "summary": "Get prime phone number",
        "description": "REST-style alias for action=getPrimeNumber on /stubs/handler_api.php.",
        "parameters": [
          {
            "name": "service",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "example": "tg"
            },
            "description": "Service code, for example tg for Telegram."
          },
          {
            "name": "country",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "example": "0"
            },
            "description": "Country code."
          },
          {
            "name": "maxPrice",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number",
              "example": 0.5
            },
            "description": "Maximum accepted client price."
          },
          {
            "name": "phoneException",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "7918,7900111"
            },
            "description": "Optional blocked phone prefixes, comma-separated."
          }
        ],
        "responses": {
          "200": {
            "description": "Prime phone activation reservation result.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "notAvailable": {
                    "value": "NO_NUMBERS"
                  },
                  "missingActivation": {
                    "value": "NO_ACTIVATION"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "SMS activations"
        ],
        "summary": "Get prime phone number",
        "description": "POST alias for getPrimeNumber. Accepts the same query/form parameters as GET.",
        "parameters": [
          {
            "name": "service",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "example": "tg"
            },
            "description": "Service code, for example tg for Telegram."
          },
          {
            "name": "country",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "example": "0"
            },
            "description": "Country code."
          },
          {
            "name": "maxPrice",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number",
              "example": 0.5
            },
            "description": "Maximum accepted client price."
          },
          {
            "name": "phoneException",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "7918,7900111"
            },
            "description": "Optional blocked phone prefixes, comma-separated."
          }
        ],
        "responses": {
          "200": {
            "description": "Prime phone activation reservation result.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "notAvailable": {
                    "value": "NO_NUMBERS"
                  },
                  "missingActivation": {
                    "value": "NO_ACTIVATION"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        }
      }
    },
    "/api/sms/getNumberV2": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getNumberV2",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredService"
          },
          {
            "$ref": "#/components/parameters/qpSARequiredCountry"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalOperator"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalMaxPrice"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalFixedPrice"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalRef"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalPhoneException"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/successfulNumberv2Response"
                },
                "examples": {
                  "successfulNumberv2Example": {
                    "$ref": "#/components/examples/successfulNumberv2Example"
                  },
                  "numbersNotFoundExample": {
                    "$ref": "#/components/examples/numbersNotFoundExample"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "notAvailable": {
                    "value": "NO_NUMBERS"
                  },
                  "missingActivation": {
                    "value": "NO_ACTIVATION"
                  }
                }
              }
            },
            "description": "Response"
          },
          "400": {
            "$ref": "#/components/responses/getNumberBadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "402": {
            "$ref": "#/components/responses/paymentRequiredResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/methodNotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/CallRentalUnavailableResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getNumberV2",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. Call rentals are disabled: verificationType=call with duration returns 422 CALL_RENTAL_UNAVAILABLE before allocation or charging."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getNumberV2Post",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredService"
          },
          {
            "$ref": "#/components/parameters/qpSARequiredCountry"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalOperator"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalMaxPrice"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalFixedPrice"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalRef"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalPhoneException"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/successfulNumberv2Response"
                },
                "examples": {
                  "successfulNumberv2Example": {
                    "$ref": "#/components/examples/successfulNumberv2Example"
                  },
                  "numbersNotFoundExample": {
                    "$ref": "#/components/examples/numbersNotFoundExample"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "notAvailable": {
                    "value": "NO_NUMBERS"
                  },
                  "missingActivation": {
                    "value": "NO_ACTIVATION"
                  }
                }
              }
            },
            "description": "Response"
          },
          "400": {
            "$ref": "#/components/responses/getNumberBadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "402": {
            "$ref": "#/components/responses/paymentRequiredResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/methodNotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/CallRentalUnavailableResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getNumberV2",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. POST accepts the same query/form parameters. Call rentals are disabled: verificationType=call with duration returns 422 CALL_RENTAL_UNAVAILABLE before allocation or charging."
      }
    },
    "/api/sms/getNumberV3": {
      "get": {
        "tags": [
          "SMS activations"
        ],
        "summary": "Get phone number v3",
        "description": "REST-style alias for action=getNumberV3 on /stubs/handler_api.php.",
        "parameters": [
          {
            "name": "service",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "example": "tg"
            },
            "description": "Service code, for example tg for Telegram."
          },
          {
            "name": "country",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "example": "0"
            },
            "description": "Country code."
          },
          {
            "name": "maxPrice",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number",
              "example": 0.5
            },
            "description": "Maximum accepted client price."
          },
          {
            "name": "phoneException",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "7918,7900111"
            },
            "description": "Optional blocked phone prefixes, comma-separated."
          }
        ],
        "responses": {
          "200": {
            "description": "JSON phone activation reservation result.",
            "content": {
              "application/json": {
                "examples": {
                  "success": {
                    "value": {
                      "activationId": 123456,
                      "phoneNumber": "447700900123",
                      "activationCost": "0.28",
                      "countryCode": "0",
                      "serviceCode": "tg",
                      "canGetAnotherSms": "1"
                    }
                  },
                  "error": {
                    "value": {
                      "status": "ERROR",
                      "error": "NO_NUMBERS",
                      "activationId": 123456,
                      "activationCost": "0.28",
                      "canGetAnotherSms": "1"
                    }
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "noStock": {
                    "value": "NO_NUMBERS"
                  },
                  "badService": {
                    "value": "WRONG_SERVICE"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "SMS activations"
        ],
        "summary": "Get phone number v3",
        "description": "POST alias for getNumberV3. Accepts the same query/form parameters as GET.",
        "parameters": [
          {
            "name": "service",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "example": "tg"
            },
            "description": "Service code, for example tg for Telegram."
          },
          {
            "name": "country",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "example": "0"
            },
            "description": "Country code."
          },
          {
            "name": "maxPrice",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number",
              "example": 0.5
            },
            "description": "Maximum accepted client price."
          },
          {
            "name": "phoneException",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "7918,7900111"
            },
            "description": "Optional blocked phone prefixes, comma-separated."
          }
        ],
        "responses": {
          "200": {
            "description": "JSON phone activation reservation result.",
            "content": {
              "application/json": {
                "examples": {
                  "success": {
                    "value": {
                      "activationId": 123456,
                      "phoneNumber": "447700900123",
                      "activationCost": "0.28",
                      "countryCode": "0",
                      "serviceCode": "tg",
                      "canGetAnotherSms": "1"
                    }
                  },
                  "error": {
                    "value": {
                      "status": "ERROR",
                      "error": "NO_NUMBERS",
                      "activationId": 123456,
                      "activationCost": "0.28",
                      "canGetAnotherSms": "1"
                    }
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "noStock": {
                    "value": "NO_NUMBERS"
                  },
                  "badService": {
                    "value": "WRONG_SERVICE"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        }
      }
    },
    "/api/sms/getStatus": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getStatus",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredActivationID"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "successfulWaitCodeExample": {
                    "$ref": "#/components/examples/successfulWaitCodeExample"
                  },
                  "successfulWaitRetryExample": {
                    "$ref": "#/components/examples/successfulWaitRetryExample"
                  },
                  "successfulWaitResendExample": {
                    "$ref": "#/components/examples/successfulWaitResendExample"
                  },
                  "successfulCancelExample": {
                    "$ref": "#/components/examples/successfulCancelExample"
                  },
                  "successfulOKExample": {
                    "$ref": "#/components/examples/successfulOKExample"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "notAvailable": {
                    "value": "NO_NUMBERS"
                  },
                  "missingActivation": {
                    "value": "NO_ACTIVATION"
                  }
                }
              }
            },
            "description": "Response"
          },
          "400": {
            "$ref": "#/components/responses/badRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "402": {
            "$ref": "#/components/responses/paymentRequiredResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/activationNotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/unprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getStatus",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getStatusPost",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredActivationID"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "successfulWaitCodeExample": {
                    "$ref": "#/components/examples/successfulWaitCodeExample"
                  },
                  "successfulWaitRetryExample": {
                    "$ref": "#/components/examples/successfulWaitRetryExample"
                  },
                  "successfulWaitResendExample": {
                    "$ref": "#/components/examples/successfulWaitResendExample"
                  },
                  "successfulCancelExample": {
                    "$ref": "#/components/examples/successfulCancelExample"
                  },
                  "successfulOKExample": {
                    "$ref": "#/components/examples/successfulOKExample"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "notAvailable": {
                    "value": "NO_NUMBERS"
                  },
                  "missingActivation": {
                    "value": "NO_ACTIVATION"
                  }
                }
              }
            },
            "description": "Response"
          },
          "400": {
            "$ref": "#/components/responses/badRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "402": {
            "$ref": "#/components/responses/paymentRequiredResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/activationNotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/unprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getStatus",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/getStatusV2": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getStatusV2",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredActivationID"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActivationStatusV2"
                },
                "examples": {
                  "correctActivationStatusExample": {
                    "$ref": "#/components/examples/successfulActivationV2Example"
                  },
                  "successfulCancelExample": {
                    "value": "STATUS_CANCEL"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "notAvailable": {
                    "value": "NO_NUMBERS"
                  },
                  "missingActivation": {
                    "value": "NO_ACTIVATION"
                  }
                }
              }
            },
            "description": "Response"
          },
          "400": {
            "$ref": "#/components/responses/badRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "402": {
            "$ref": "#/components/responses/paymentRequiredResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/activationNotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/unprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getStatusV2",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getStatusV2Post",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredActivationID"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActivationStatusV2"
                },
                "examples": {
                  "correctActivationStatusExample": {
                    "$ref": "#/components/examples/successfulActivationV2Example"
                  },
                  "successfulCancelExample": {
                    "value": "STATUS_CANCEL"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "notAvailable": {
                    "value": "NO_NUMBERS"
                  },
                  "missingActivation": {
                    "value": "NO_ACTIVATION"
                  }
                }
              }
            },
            "description": "Response"
          },
          "400": {
            "$ref": "#/components/responses/badRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "402": {
            "$ref": "#/components/responses/paymentRequiredResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/activationNotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/unprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getStatusV2",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/setStatus": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "setStatus",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredActivationID"
          },
          {
            "$ref": "#/components/parameters/qpSARequiredActivationStatus"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "successfulRetryGetExample": {
                    "$ref": "#/components/examples/successfulRetryGetExample"
                  },
                  "successfulAccessActivationExample": {
                    "$ref": "#/components/examples/successfulAccessActivationExample"
                  },
                  "successfulAccessCancelExample": {
                    "$ref": "#/components/examples/successfulAccessCancelExample"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "notAvailable": {
                    "value": "NO_NUMBERS"
                  },
                  "missingActivation": {
                    "value": "NO_ACTIVATION"
                  }
                }
              }
            },
            "description": "Response"
          },
          "400": {
            "$ref": "#/components/responses/badRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/activationNotFoundResponse"
          },
          "409": {
            "$ref": "#/components/responses/activationCancelConflictResponse"
          },
          "422": {
            "$ref": "#/components/responses/unprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "setStatus",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "setStatusPost",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredActivationID"
          },
          {
            "$ref": "#/components/parameters/qpSARequiredActivationStatus"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "successfulRetryGetExample": {
                    "$ref": "#/components/examples/successfulRetryGetExample"
                  },
                  "successfulAccessActivationExample": {
                    "$ref": "#/components/examples/successfulAccessActivationExample"
                  },
                  "successfulAccessCancelExample": {
                    "$ref": "#/components/examples/successfulAccessCancelExample"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "notAvailable": {
                    "value": "NO_NUMBERS"
                  },
                  "missingActivation": {
                    "value": "NO_ACTIVATION"
                  }
                }
              }
            },
            "description": "Response"
          },
          "400": {
            "$ref": "#/components/responses/badRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/activationNotFoundResponse"
          },
          "409": {
            "$ref": "#/components/responses/activationCancelConflictResponse"
          },
          "422": {
            "$ref": "#/components/responses/unprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "setStatus",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/getPrices": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getPrices",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSAOptionalService"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalCountry"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PricesByCountry"
                },
                "examples": {
                  "successGetPrices": {
                    "$ref": "#/components/examples/successGetPrices"
                  },
                  "incorrectServiceExample": {
                    "$ref": "#/components/examples/incorrectServiceExample"
                  },
                  "incorrectCountryExample": {
                    "$ref": "#/components/examples/incorrectCountryExample"
                  },
                  "badActionExample": {
                    "$ref": "#/components/examples/badActionExample"
                  },
                  "missingKeyExample": {
                    "$ref": "#/components/examples/missingKeyExample"
                  },
                  "incorrectKeyExample": {
                    "$ref": "#/components/examples/incorrectKeyExample"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "badService": {
                    "value": "BAD_SERVICE"
                  },
                  "badCountry": {
                    "value": "BAD_COUNTRY"
                  }
                }
              }
            },
            "description": "Response"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "deprecated": true,
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getPrices",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getPricesPost",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSAOptionalService"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalCountry"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PricesByCountry"
                },
                "examples": {
                  "successGetPrices": {
                    "$ref": "#/components/examples/successGetPrices"
                  },
                  "incorrectServiceExample": {
                    "$ref": "#/components/examples/incorrectServiceExample"
                  },
                  "incorrectCountryExample": {
                    "$ref": "#/components/examples/incorrectCountryExample"
                  },
                  "badActionExample": {
                    "$ref": "#/components/examples/badActionExample"
                  },
                  "missingKeyExample": {
                    "$ref": "#/components/examples/missingKeyExample"
                  },
                  "incorrectKeyExample": {
                    "$ref": "#/components/examples/incorrectKeyExample"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "badService": {
                    "value": "BAD_SERVICE"
                  },
                  "badCountry": {
                    "value": "BAD_COUNTRY"
                  }
                }
              }
            },
            "description": "Response"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "deprecated": true,
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getPrices",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/getPricesV2": {
      "get": {
        "tags": [
          "SMS activations"
        ],
        "summary": "Get prices v2",
        "description": "REST-style alias for action=getPricesV2 on /stubs/handler_api.php.",
        "parameters": [
          {
            "name": "service",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "tg"
            },
            "description": "Optional service code."
          },
          {
            "name": "country",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "0"
            },
            "description": "Optional country code."
          }
        ],
        "responses": {
          "200": {
            "description": "Detailed prices by country and service.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "examples": {
                  "success": {
                    "value": {
                      "0": {
                        "tg": {
                          "0.28": 42
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "SMS activations"
        ],
        "summary": "Get prices v2",
        "description": "POST alias for getPricesV2. Accepts the same query/form parameters as GET.",
        "parameters": [
          {
            "name": "service",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "tg"
            },
            "description": "Optional service code."
          },
          {
            "name": "country",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "0"
            },
            "description": "Optional country code."
          }
        ],
        "responses": {
          "200": {
            "description": "Detailed prices by country and service.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "examples": {
                  "success": {
                    "value": {
                      "0": {
                        "tg": {
                          "0.28": 42
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        }
      }
    },
    "/api/sms/getPricesV3": {
      "get": {
        "tags": [
          "SMS activations"
        ],
        "summary": "Get prices v3",
        "description": "REST-style alias for action=getPricesV3 on /stubs/handler_api.php.",
        "parameters": [
          {
            "name": "service",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "tg"
            },
            "description": "Optional service code."
          },
          {
            "name": "country",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "0"
            },
            "description": "Optional country code."
          }
        ],
        "responses": {
          "200": {
            "description": "Optimized prices by country and service.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "examples": {
                  "success": {
                    "value": {
                      "0": {
                        "tg": {
                          "123": {
                            "price": 0.28,
                            "count": 42,
                            "provider_id": 45
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "SMS activations"
        ],
        "summary": "Get prices v3",
        "description": "POST alias for getPricesV3. Accepts the same query/form parameters as GET.",
        "parameters": [
          {
            "name": "service",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "tg"
            },
            "description": "Optional service code."
          },
          {
            "name": "country",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "0"
            },
            "description": "Optional country code."
          }
        ],
        "responses": {
          "200": {
            "description": "Optimized prices by country and service.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "examples": {
                  "success": {
                    "value": {
                      "0": {
                        "tg": {
                          "123": {
                            "price": 0.28,
                            "count": 42,
                            "provider_id": 45
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        }
      }
    },
    "/api/sms/getCountries": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getCountries",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Country"
                },
                "examples": {
                  "successGetCountriesExample": {
                    "$ref": "#/components/examples/successGetCountriesExample"
                  },
                  "missingKeyExample": {
                    "$ref": "#/components/examples/missingKeyExample"
                  },
                  "incorrectKeyExample": {
                    "$ref": "#/components/examples/incorrectKeyExample"
                  }
                }
              }
            },
            "description": "Response"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getCountries",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getCountriesPost",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Country"
                },
                "examples": {
                  "successGetCountriesExample": {
                    "$ref": "#/components/examples/successGetCountriesExample"
                  },
                  "missingKeyExample": {
                    "$ref": "#/components/examples/missingKeyExample"
                  },
                  "incorrectKeyExample": {
                    "$ref": "#/components/examples/incorrectKeyExample"
                  }
                }
              }
            },
            "description": "Response"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getCountries",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/getOperators": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getOperators",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSAOptionalCountry"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operators"
                },
                "examples": {
                  "successfulGetOperatorsExample": {
                    "$ref": "#/components/examples/successfulGetOperatorsExample"
                  },
                  "operatorsNotFoundExample": {
                    "$ref": "#/components/examples/operatorsNotFoundExample"
                  },
                  "sqlServerErrorExample": {
                    "$ref": "#/components/examples/sqlServerErrorExample"
                  },
                  "missingKeyExample": {
                    "$ref": "#/components/examples/missingKeyExample"
                  },
                  "incorrectKeyExample": {
                    "$ref": "#/components/examples/incorrectKeyExample"
                  }
                }
              }
            },
            "description": "Response"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getOperators",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getOperatorsPost",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSAOptionalCountry"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operators"
                },
                "examples": {
                  "successfulGetOperatorsExample": {
                    "$ref": "#/components/examples/successfulGetOperatorsExample"
                  },
                  "operatorsNotFoundExample": {
                    "$ref": "#/components/examples/operatorsNotFoundExample"
                  },
                  "sqlServerErrorExample": {
                    "$ref": "#/components/examples/sqlServerErrorExample"
                  },
                  "missingKeyExample": {
                    "$ref": "#/components/examples/missingKeyExample"
                  },
                  "incorrectKeyExample": {
                    "$ref": "#/components/examples/incorrectKeyExample"
                  }
                }
              }
            },
            "description": "Response"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getOperators",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/getServices": {
      "get": {
        "tags": [
          "Reference"
        ],
        "summary": "Get services",
        "description": "REST-style alias for action=getServices on /stubs/handler_api.php.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Supported services.",
            "content": {
              "application/json": {
                "examples": {
                  "success": {
                    "value": {
                      "tg": "Telegram",
                      "wa": "WhatsApp",
                      "go": "Google"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Reference"
        ],
        "summary": "Get services",
        "description": "POST alias for getServices. Accepts the same query/form parameters as GET.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Supported services.",
            "content": {
              "application/json": {
                "examples": {
                  "success": {
                    "value": {
                      "tg": "Telegram",
                      "wa": "WhatsApp",
                      "go": "Google"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        }
      }
    },
    "/api/sms/getServicesList": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getServicesList",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSAOptionalCountry"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalLang"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Service"
                },
                "examples": {
                  "successGetServicesListExample": {
                    "$ref": "#/components/examples/successGetServicesListExample"
                  },
                  "missingKeyExample": {
                    "$ref": "#/components/examples/missingKeyExample"
                  },
                  "incorrectKeyExample": {
                    "$ref": "#/components/examples/incorrectKeyExample"
                  }
                }
              }
            },
            "description": "Response"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getServicesList",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getServicesListPost",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSAOptionalCountry"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalLang"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Service"
                },
                "examples": {
                  "successGetServicesListExample": {
                    "$ref": "#/components/examples/successGetServicesListExample"
                  },
                  "missingKeyExample": {
                    "$ref": "#/components/examples/missingKeyExample"
                  },
                  "incorrectKeyExample": {
                    "$ref": "#/components/examples/incorrectKeyExample"
                  }
                }
              }
            },
            "description": "Response"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getServicesList",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/getFullOptPhonePrices": {
      "get": {
        "tags": [
          "Reference"
        ],
        "summary": "Get full wholesale phone prices",
        "description": "REST-style alias for action=getFullOptPhonePrices on /stubs/handler_api.php.",
        "parameters": [
          {
            "name": "service",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "tg"
            },
            "description": "Optional service code."
          },
          {
            "name": "country",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "0"
            },
            "description": "Optional country code."
          }
        ],
        "responses": {
          "200": {
            "description": "Full wholesale phone prices.",
            "content": {
              "application/json": {
                "examples": {
                  "success": {
                    "value": {
                      "tg": {
                        "0": {
                          "cost": 0.12,
                          "count": 42
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Reference"
        ],
        "summary": "Get full wholesale phone prices",
        "description": "POST alias for getFullOptPhonePrices. Accepts the same query/form parameters as GET.",
        "parameters": [
          {
            "name": "service",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "tg"
            },
            "description": "Optional service code."
          },
          {
            "name": "country",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "0"
            },
            "description": "Optional country code."
          }
        ],
        "responses": {
          "200": {
            "description": "Full wholesale phone prices.",
            "content": {
              "application/json": {
                "examples": {
                  "success": {
                    "value": {
                      "tg": {
                        "0": {
                          "cost": 0.12,
                          "count": 42
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        }
      }
    },
    "/api/sms/2faReturn": {
      "get": {
        "tags": [
          "SMS activations"
        ],
        "summary": "2FA return action",
        "description": "SIMUB administrative/partner extension with signature and role checks. Returns SUCCESS when accepted.",
        "parameters": [
          {
            "name": "phone",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sign",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Plain text outcome",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "success": {
                    "value": "SUCCESS"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "SMS activations"
        ],
        "summary": "2FA return action",
        "description": "SIMUB administrative/partner extension with signature and role checks. Returns SUCCESS when accepted.",
        "parameters": [
          {
            "name": "phone",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sign",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Plain text outcome",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "success": {
                    "value": "SUCCESS"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/sms/reject": {
      "get": {
        "tags": [
          "SMS activations"
        ],
        "summary": "Reject activation",
        "description": "SIMUB administrative/partner extension with signature and role checks. Returns SUCCESS when accepted.",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "sign",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Plain text outcome",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "success": {
                    "value": "SUCCESS"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "SMS activations"
        ],
        "summary": "Reject activation",
        "description": "SIMUB administrative/partner extension with signature and role checks. Returns SUCCESS when accepted.",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "sign",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Plain text outcome",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "success": {
                    "value": "SUCCESS"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/sms/returnMoneyActivation": {
      "get": {
        "tags": [
          "SMS activations"
        ],
        "summary": "Request activation refund",
        "description": "SIMUB administrative/partner extension with signature and role checks. Returns SUCCESS when accepted.",
        "parameters": [
          {
            "name": "activation",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "reason",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sign",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Plain text outcome",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "success": {
                    "value": "SUCCESS"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "SMS activations"
        ],
        "summary": "Request activation refund",
        "description": "SIMUB administrative/partner extension with signature and role checks. Returns SUCCESS when accepted.",
        "parameters": [
          {
            "name": "activation",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "reason",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sign",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Plain text outcome",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "success": {
                    "value": "SUCCESS"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/rent/getOffers": {
      "get": {
        "tags": [
          "Phone rentals"
        ],
        "summary": "Get phone rental offers",
        "description": "Returns SIMUB retail prices and availability without exposing the upstream Provider. Optional filters: country, duration and max_price. SMS rentals only; requests with verificationType=call or verification_type=call are rejected with 422 CALL_RENTAL_UNAVAILABLE.",
        "parameters": [
          {
            "$ref": "#/components/parameters/rentalService"
          },
          {
            "name": "country",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "0"
            }
          },
          {
            "name": "duration",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "example": 24
            }
          },
          {
            "name": "max_price",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number",
              "format": "float",
              "example": 2.5
            },
            "description": "Maximum accepted SIMUB retail price. maxPrice is accepted as an alias."
          }
        ],
        "responses": {
          "200": {
            "description": "Available rental offers.",
            "content": {
              "application/json": {
                "example": {
                  "status": 1,
                  "service": "tg",
                  "offers": [
                    {
                      "country": "0",
                      "country_id": 1,
                      "country_name": "Russia",
                      "country_iso": "RU",
                      "duration": 24,
                      "count": 12,
                      "price": 1.37
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key."
          },
          "422": {
            "description": "Call rentals are disabled. Purchases may also be rejected for insufficient balance or invalid offers.",
            "content": {
              "application/json": {
                "example": {
                  "status": 0,
                  "error_code": "CALL_RENTAL_UNAVAILABLE",
                  "message": "Call rentals are disabled."
                }
              }
            }
          }
        }
      }
    },
    "/api/rent/getNumber": {
      "get": {
        "tags": [
          "Phone rentals"
        ],
        "summary": "Rent a phone number",
        "description": "Purchases the cheapest matching Provider offer at or below max_price. GET and POST are accepted. The user balance is reserved before the Provider call and automatically refunded if the purchase fails. SMS rentals only; requests with verificationType=call or verification_type=call are rejected with 422 CALL_RENTAL_UNAVAILABLE.",
        "parameters": [
          {
            "$ref": "#/components/parameters/rentalService"
          },
          {
            "$ref": "#/components/parameters/rentalCountry"
          },
          {
            "$ref": "#/components/parameters/rentalDuration"
          },
          {
            "name": "max_price",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number",
              "format": "float",
              "example": 2.5
            },
            "description": "Maximum accepted SIMUB price. maxPrice is accepted as an alias."
          }
        ],
        "responses": {
          "201": {
            "description": "Rental created.",
            "content": {
              "application/json": {
                "example": {
                  "status": 1,
                  "request_id": 12540,
                  "number": "15551234567",
                  "service": "tg",
                  "country": "0",
                  "duration": 24,
                  "price": 1.37,
                  "available_to": "2026-08-23T20:00:00+00:00"
                }
              }
            }
          },
          "409": {
            "description": "No matching rental is available."
          },
          "422": {
            "description": "Call rentals are disabled. Purchases may also be rejected for insufficient balance or invalid offers.",
            "content": {
              "application/json": {
                "example": {
                  "status": 0,
                  "error_code": "CALL_RENTAL_UNAVAILABLE",
                  "message": "Call rentals are disabled."
                }
              }
            }
          },
          "503": {
            "description": "Provider temporarily unavailable."
          }
        }
      }
    },
    "/api/rent/getStatus": {
      "get": {
        "tags": [
          "Phone rentals"
        ],
        "summary": "Get rental status and SMS",
        "description": "Synchronizes the rental with its Provider and returns all received messages. getSms and getAllSms are aliases.",
        "parameters": [
          {
            "$ref": "#/components/parameters/rentalId"
          }
        ],
        "responses": {
          "200": {
            "description": "Rental status and messages.",
            "content": {
              "application/json": {
                "example": {
                  "status": 1,
                  "data": {
                    "request_id": 12540,
                    "number": "15551234567",
                    "status": "active",
                    "service": "tg",
                    "country": "0",
                    "country_name": "Russia",
                    "duration": 24,
                    "price": 1.37,
                    "available_to": "2026-08-23T20:00:00+00:00",
                    "sms": [
                      {
                        "sender": "Telegram",
                        "code": "12345",
                        "message": "Your Telegram code is 12345",
                        "time": "2026-08-22T20:10:00+00:00"
                      }
                    ]
                  }
                }
              }
            }
          },
          "404": {
            "description": "Rental not found or owned by another user."
          },
          "503": {
            "description": "Provider messages temporarily unavailable."
          }
        }
      }
    },
    "/api/rent/getSms": {
      "$ref": "#/paths/~1api~1rent~1getStatus"
    },
    "/api/rent/getAllSms": {
      "$ref": "#/paths/~1api~1rent~1getStatus"
    },
    "/api/rent/getAllRequests": {
      "get": {
        "tags": [
          "Phone rentals"
        ],
        "summary": "List phone rentals",
        "description": "Returns the authenticated API user's latest 100 rentals. Upstream Provider data is never exposed.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Rental list.",
            "content": {
              "application/json": {
                "example": {
                  "status": 1,
                  "data": [
                    {
                      "request_id": 12540,
                      "number": "15551234567",
                      "status": "active",
                      "service": "tg",
                      "country": "0",
                      "duration": 24,
                      "price": 1.37,
                      "sms": []
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/rent/setStatus": {
      "get": {
        "tags": [
          "Phone rentals"
        ],
        "summary": "Cancel or finish a rental",
        "description": "Use cancel during the first 20 minutes while no SMS has been received, or finish/close to terminate an active rental. GET and POST are accepted.",
        "parameters": [
          {
            "$ref": "#/components/parameters/rentalId"
          },
          {
            "name": "status",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "cancel",
                "finish",
                "close"
              ],
              "example": "finish"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Status updated.",
            "content": {
              "application/json": {
                "example": {
                  "status": 1,
                  "request_id": 12540,
                  "rental_status": "finished"
                }
              }
            }
          },
          "422": {
            "description": "The requested transition is not allowed."
          },
          "503": {
            "description": "Provider temporarily unavailable."
          }
        }
      }
    },
    "/api/v1/emails": {
      "get": {
        "tags": [
          "Emails"
        ],
        "operationId": "7f17119e77aad0c154d2f5e600ef092a",
        "parameters": [
          {
            "$ref": "#/components/parameters/search"
          },
          {
            "$ref": "#/components/parameters/size"
          },
          {
            "$ref": "#/components/parameters/page"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/emailStatusesQuery"
          },
          {
            "$ref": "#/components/parameters/from"
          },
          {
            "$ref": "#/components/parameters/to"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/EmailActivation"
                      }
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Response"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/ServerErrorResponse"
          },
          "429": {
            "description": "Rate limit exceeded"
          },
          "402": {
            "description": "Insufficient SIMUB balance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "409": {
            "description": "Conflicting or unresolved operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "502": {
            "description": "Provider rejected or returned an invalid response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "503": {
            "description": "Provider temporarily unavailable or outcome unknown",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "x-sort-columns": [
          "id",
          "status",
          "cost",
          "date"
        ],
        "summary": "Emails"
      },
      "post": {
        "tags": [
          "Emails"
        ],
        "operationId": "22164e5067a27560b8fbf28b2ac1f019",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "required": [
                  "site",
                  "domain"
                ],
                "properties": {
                  "site": {
                    "$ref": "#/components/schemas/EmailSite"
                  },
                  "domain": {
                    "$ref": "#/components/schemas/EmailDomain"
                  },
                  "maxPrice": {
                    "$ref": "#/components/schemas/EmailMaxPrice"
                  }
                },
                "type": "object"
              }
            }
          },
          "description": "Response"
        },
        "responses": {
          "201": {
            "$ref": "#/components/responses/EmailActivationSuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/ServerErrorResponse"
          },
          "429": {
            "description": "Rate limit exceeded"
          },
          "402": {
            "description": "Insufficient SIMUB balance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "409": {
            "description": "Conflicting or unresolved operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "502": {
            "description": "Provider rejected or returned an invalid response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "503": {
            "description": "Provider temporarily unavailable or outcome unknown",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "summary": "Emails"
      }
    },
    "/api/v1/emails/batch": {
      "post": {
        "tags": [
          "Emails"
        ],
        "operationId": "7892a59d83e6e38d154854fe1f1b065f",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "required": [
                  "site",
                  "domain",
                  "count"
                ],
                "properties": {
                  "site": {
                    "$ref": "#/components/schemas/EmailSite"
                  },
                  "domain": {
                    "$ref": "#/components/schemas/EmailDomain"
                  },
                  "count": {
                    "type": "integer",
                    "example": 5,
                    "maximum": 10,
                    "minimum": 1
                  },
                  "maxPrice": {
                    "$ref": "#/components/schemas/EmailMaxPrice"
                  }
                },
                "type": "object"
              }
            }
          },
          "description": "Response"
        },
        "responses": {
          "201": {
            "$ref": "#/components/responses/EmailActivationBatchSuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/ServerErrorResponse"
          },
          "429": {
            "description": "Rate limit exceeded"
          },
          "402": {
            "description": "Insufficient SIMUB balance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "409": {
            "description": "Conflicting or unresolved operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "502": {
            "description": "Provider rejected or returned an invalid response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "503": {
            "description": "Provider temporarily unavailable or outcome unknown",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "summary": "Emails batch"
      }
    },
    "/api/v1/emails/domains": {
      "get": {
        "tags": [
          "Emails"
        ],
        "operationId": "59f271906bdbc81b6b2cdd4213b01775",
        "parameters": [
          {
            "name": "site",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "example": "telegram.com"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "cost": {
                            "$ref": "#/components/schemas/Price"
                          },
                          "count": {
                            "type": "integer"
                          }
                        },
                        "type": "object"
                      }
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Response"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/ServerErrorResponse"
          },
          "429": {
            "description": "Rate limit exceeded"
          },
          "402": {
            "description": "Insufficient SIMUB balance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "409": {
            "description": "Conflicting or unresolved operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "502": {
            "description": "Provider rejected or returned an invalid response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "503": {
            "description": "Provider temporarily unavailable or outcome unknown",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          }
        },
        "deprecated": true,
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "summary": "Emails domains"
      }
    },
    "/api/v1/emails/{emailId}": {
      "get": {
        "tags": [
          "Emails"
        ],
        "operationId": "c57ebd15edbfa8625b8a60984b76e3c6",
        "parameters": [
          {
            "$ref": "#/components/parameters/emailId"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/EmailActivationSuccessResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          },
          "409": {
            "description": "Conflicting or unresolved operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/ServerErrorResponse"
          },
          "429": {
            "description": "Rate limit exceeded"
          },
          "402": {
            "description": "Insufficient SIMUB balance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "502": {
            "description": "Provider rejected or returned an invalid response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "503": {
            "description": "Provider temporarily unavailable or outcome unknown",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "summary": "Emails {emailid}"
      },
      "delete": {
        "tags": [
          "Emails"
        ],
        "operationId": "20dae8daa691db1282f0d1d268dbac44",
        "parameters": [
          {
            "$ref": "#/components/parameters/emailId"
          }
        ],
        "responses": {
          "204": {
            "description": "No content"
          },
          "400": {
            "$ref": "#/components/responses/EmailCancelBadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          },
          "409": {
            "description": "Conflicting or unresolved operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "500": {
            "$ref": "#/components/responses/ServerErrorResponse"
          },
          "429": {
            "description": "Rate limit exceeded"
          },
          "402": {
            "description": "Insufficient SIMUB balance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "502": {
            "description": "Provider rejected or returned an invalid response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "503": {
            "description": "Provider temporarily unavailable or outcome unknown",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "summary": "Emails {emailid}"
      }
    },
    "/api/v1/emails/{emailId}/reorder": {
      "post": {
        "tags": [
          "Emails"
        ],
        "operationId": "bb0d53e0557982f130c1540ed663e831",
        "parameters": [
          {
            "$ref": "#/components/parameters/emailId"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/EmailActivationSuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/EmailReorderBadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/ServerErrorResponse"
          },
          "429": {
            "description": "Rate limit exceeded"
          },
          "402": {
            "description": "Insufficient SIMUB balance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "409": {
            "description": "Conflicting or unresolved operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "502": {
            "description": "Provider rejected or returned an invalid response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "503": {
            "description": "Provider temporarily unavailable or outcome unknown",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "summary": "Emails {emailid} reorder"
      }
    },
    "/api/v1/activations": {
      "get": {
        "tags": [
          "Activations"
        ],
        "operationId": "getActiveActivations",
        "parameters": [
          {
            "$ref": "#/components/parameters/size"
          },
          {
            "$ref": "#/components/parameters/page"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/search"
          },
          {
            "$ref": "#/components/parameters/verificationTypeQuery"
          },
          {
            "$ref": "#/components/parameters/from"
          },
          {
            "$ref": "#/components/parameters/to"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ActivationsSuccessResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/ServerErrorResponse"
          },
          "429": {
            "description": "Rate limit exceeded"
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "x-sort-columns": [
          "id"
        ],
        "summary": "Get active activations"
      },
      "post": {
        "tags": [
          "Activations"
        ],
        "operationId": "buyActivationBatch",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "required": [
                  "service",
                  "country",
                  "amount"
                ],
                "properties": {
                  "service": {
                    "type": "string",
                    "pattern": "^[a-zA-Z]{2,4}$",
                    "example": "tg",
                    "maxLength": 4,
                    "minLength": 2
                  },
                  "country": {
                    "type": "integer",
                    "example": 2,
                    "maximum": 9999,
                    "minimum": 0
                  },
                  "amount": {
                    "type": "integer",
                    "example": 1,
                    "maximum": 10,
                    "minimum": 1
                  },
                  "operator": {
                    "type": "string",
                    "pattern": "^([a-zA-Z0-9!_]{2,},)*[_a-zA-Z0-9!]{2,}$",
                    "example": "axis",
                    "default": "any"
                  },
                  "phoneException": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "pattern": "^[0-9]{4,7}(,[0-9]{4,7}){0,19}$",
                    "example": "7900,7901234"
                  },
                  "maxPrice": {
                    "type": "number",
                    "format": "float",
                    "example": 0.4321,
                    "minimum": 0.0067
                  },
                  "fixedPrice": {
                    "type": "boolean",
                    "example": true
                  },
                  "duration": {
                    "type": "integer",
                    "example": 24,
                    "enum": [
                      24,
                      72,
                      168,
                      336,
                      720,
                      1440,
                      2160,
                      4320
                    ]
                  },
                  "verificationType": {
                    "type": "string",
                    "example": "sms",
                    "enum": [
                      "sms",
                      "call"
                    ]
                  },
                  "resellerUserId": {
                    "type": "string",
                    "pattern": "^[a-zA-Z0-9_.@-]{1,36}$",
                    "example": "12345",
                    "maxLength": 36,
                    "minLength": 1
                  },
                  "providerIds": {
                    "type": "array",
                    "minItems": 1,
                    "maxItems": 10,
                    "items": {
                      "type": "integer",
                      "minimum": 1
                    },
                    "description": "Optional SIMUB provider IDs."
                  }
                },
                "type": "object"
              }
            }
          },
          "description": "Response"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/ActivationsSuccessResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ActivationBannedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/ServerErrorResponse"
          },
          "429": {
            "description": "Rate limit exceeded"
          },
          "402": {
            "description": "Insufficient SIMUB balance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "409": {
            "description": "Conflicting or unresolved operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "502": {
            "description": "Provider rejected or returned an invalid response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "503": {
            "description": "Provider temporarily unavailable or outcome unknown",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "summary": "Buy activation batch",
        "description": "Purchases SMS or short call activations, or SMS rentals. Call rentals are disabled: verificationType=call with duration returns 422 CALL_RENTAL_UNAVAILABLE before allocation or charging."
      }
    },
    "/api/v1/activations/history": {
      "get": {
        "tags": [
          "Activations"
        ],
        "operationId": "82eacb597b010298c78dacd1f0bdd3ff",
        "parameters": [
          {
            "$ref": "#/components/parameters/fromRequired"
          },
          {
            "$ref": "#/components/parameters/toRequired"
          },
          {
            "$ref": "#/components/parameters/servicesQuery"
          },
          {
            "$ref": "#/components/parameters/countriesQuery"
          },
          {
            "$ref": "#/components/parameters/activationStatusesQuery"
          },
          {
            "$ref": "#/components/parameters/size"
          },
          {
            "$ref": "#/components/parameters/page"
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "style": "deepObject",
            "explode": true,
            "schema": {
              "properties": {
                "id": {
                  "type": "string",
                  "enum": [
                    "asc",
                    "desc"
                  ]
                },
                "cost": {
                  "type": "string",
                  "enum": [
                    "asc",
                    "desc"
                  ]
                },
                "createDate": {
                  "type": "string",
                  "enum": [
                    "asc",
                    "desc"
                  ]
                }
              },
              "type": "object"
            }
          },
          {
            "$ref": "#/components/parameters/search"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "properties": {
                          "id": {
                            "type": "integer"
                          },
                          "createDate": {
                            "type": "string",
                            "example": "2025-03-18 10:40:37"
                          },
                          "service": {
                            "$ref": "#/components/schemas/ServiceId"
                          },
                          "country": {
                            "$ref": "#/components/schemas/CountryId"
                          },
                          "phone": {
                            "$ref": "#/components/schemas/ActivationPhone"
                          },
                          "moreCodes": {
                            "type": "string",
                            "example": "637881 is your verification code"
                          },
                          "cost": {
                            "$ref": "#/components/schemas/Price"
                          },
                          "status": {
                            "$ref": "#/components/schemas/ActivationStatusTypes"
                          },
                          "phoneCode": {
                            "type": "string",
                            "example": "+55"
                          },
                          "currency": {
                            "$ref": "#/components/schemas/Currency"
                          }
                        },
                        "type": "object"
                      }
                    },
                    "totals": {
                      "properties": {
                        "sum": {
                          "type": "number",
                          "format": "float",
                          "example": 0.6
                        },
                        "successCount": {
                          "type": "integer",
                          "example": 1
                        }
                      },
                      "type": "object"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/PaginationMetaData"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Response"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/ServerErrorResponse"
          },
          "429": {
            "description": "Rate limit exceeded"
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "x-sort-columns": [
          "id",
          "cost",
          "createDate"
        ],
        "summary": "Activations history"
      }
    },
    "/api/v1/activations/offers/{verificationType}": {
      "get": {
        "tags": [
          "Activations"
        ],
        "operationId": "getActivationOffers",
        "parameters": [
          {
            "$ref": "#/components/parameters/verificationTypePath"
          },
          {
            "$ref": "#/components/parameters/servicesPath"
          },
          {
            "$ref": "#/components/parameters/countriesPath"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ActivationsOffersSuccessResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/OfferNotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntityResponse"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          },
          "500": {
            "$ref": "#/components/responses/ServerErrorResponse"
          },
          "402": {
            "description": "Insufficient SIMUB balance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "409": {
            "description": "Conflicting or unresolved operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "502": {
            "description": "Provider rejected or returned an invalid response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "503": {
            "description": "Provider temporarily unavailable or outcome unknown",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "summary": "Get activation offers"
      }
    },
    "/api/v1/activations/stats": {
      "get": {
        "tags": [
          "Activations"
        ],
        "operationId": "getActivationStats",
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "properties": {
                        "country": {
                          "properties": {
                            "service": {
                              "properties": {
                                "count": {
                                  "type": "integer",
                                  "example": 10
                                },
                                "success": {
                                  "type": "integer",
                                  "example": 5
                                },
                                "percent": {
                                  "$ref": "#/components/schemas/Percent"
                                }
                              },
                              "type": "object"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Response"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/ServerErrorResponse"
          },
          "429": {
            "description": "Rate limit exceeded"
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "summary": "Get activation stats"
      }
    },
    "/api/v1/activations/{activationId}": {
      "delete": {
        "tags": [
          "Activations"
        ],
        "operationId": "cancelActivation",
        "parameters": [
          {
            "$ref": "#/components/parameters/activationPath"
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/ServerErrorResponse"
          },
          "429": {
            "description": "Rate limit exceeded"
          },
          "402": {
            "description": "Insufficient SIMUB balance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "409": {
            "description": "Conflicting or unresolved operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "502": {
            "description": "Provider rejected or returned an invalid response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "503": {
            "description": "Provider temporarily unavailable or outcome unknown",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "summary": "Cancel activation"
      }
    },
    "/api/v1/activations/{activationId}/finish": {
      "post": {
        "tags": [
          "Activations"
        ],
        "operationId": "finishActivation",
        "parameters": [
          {
            "$ref": "#/components/parameters/activationPath"
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/ServerErrorResponse"
          },
          "429": {
            "description": "Rate limit exceeded"
          },
          "402": {
            "description": "Insufficient SIMUB balance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "409": {
            "description": "Conflicting or unresolved operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "502": {
            "description": "Provider rejected or returned an invalid response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "503": {
            "description": "Provider temporarily unavailable or outcome unknown",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "summary": "Finish activation"
      }
    },
    "/api/v1/activations/{activationId}/replace": {
      "post": {
        "tags": [
          "Activations"
        ],
        "operationId": "replaceActivation",
        "parameters": [
          {
            "$ref": "#/components/parameters/activationPath"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ActivationsSuccessResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ActivationBannedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/ServerErrorResponse"
          },
          "429": {
            "description": "Rate limit exceeded"
          },
          "402": {
            "description": "Insufficient SIMUB balance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "409": {
            "description": "Conflicting or unresolved operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "502": {
            "description": "Provider rejected or returned an invalid response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "503": {
            "description": "Provider temporarily unavailable or outcome unknown",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "summary": "Replace activation",
        "description": "Replaces an eligible activation. Existing call rentals (subtype=2) are disabled and return 422 CALL_RENTAL_UNAVAILABLE; short call activations remain eligible."
      }
    },
    "/api/v1/activations/{activationId}/reactivate/options": {
      "get": {
        "tags": [
          "Activations"
        ],
        "operationId": "reactivateOptions",
        "parameters": [
          {
            "$ref": "#/components/parameters/activationPath"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ActivationExtendOptionsSuccessResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/ServerErrorResponse"
          },
          "429": {
            "description": "Rate limit exceeded"
          },
          "402": {
            "description": "Insufficient SIMUB balance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "409": {
            "description": "Conflicting or unresolved operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "502": {
            "description": "Provider rejected or returned an invalid response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "503": {
            "description": "Provider temporarily unavailable or outcome unknown",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "summary": "Reactivate options",
        "description": "Call activations cannot use rental lifecycle operations and return 422 CALL_RENTAL_UNAVAILABLE before provider requests or charging."
      }
    },
    "/api/v1/activations/{activationId}/reactivate": {
      "post": {
        "tags": [
          "Activations"
        ],
        "operationId": "reactivateActivation",
        "parameters": [
          {
            "$ref": "#/components/parameters/activationPath"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "required": [],
                "properties": {
                  "duration": {
                    "type": "integer",
                    "example": 24,
                    "minimum": 1,
                    "maximum": 8760,
                    "description": "Whole hours, selected from the options endpoint. SIMUB also accepts quoted durations outside the initial-rental enum."
                  }
                },
                "type": "object"
              }
            }
          },
          "description": "Response"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/ActivationsSuccessResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/ServerErrorResponse"
          },
          "429": {
            "description": "Rate limit exceeded"
          },
          "402": {
            "description": "Insufficient SIMUB balance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "409": {
            "description": "Conflicting or unresolved operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "502": {
            "description": "Provider rejected or returned an invalid response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "503": {
            "description": "Provider temporarily unavailable or outcome unknown",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "summary": "Reactivate activation",
        "description": "Call activations cannot use rental lifecycle operations and return 422 CALL_RENTAL_UNAVAILABLE before provider requests or charging."
      }
    },
    "/api/v1/activations/{activationId}/prolong/options": {
      "get": {
        "tags": [
          "Activations"
        ],
        "operationId": "prolongOptions",
        "parameters": [
          {
            "$ref": "#/components/parameters/activationPath"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ActivationExtendOptionsSuccessResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntityResponse"
          },
          "425": {
            "$ref": "#/components/responses/TooEarlyRequestResponse"
          },
          "500": {
            "$ref": "#/components/responses/ServerErrorResponse"
          },
          "429": {
            "description": "Rate limit exceeded"
          },
          "402": {
            "description": "Insufficient SIMUB balance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "409": {
            "description": "Conflicting or unresolved operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "502": {
            "description": "Provider rejected or returned an invalid response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "503": {
            "description": "Provider temporarily unavailable or outcome unknown",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "summary": "Prolong options",
        "description": "Call activations cannot use rental lifecycle operations and return 422 CALL_RENTAL_UNAVAILABLE before provider requests or charging."
      }
    },
    "/api/v1/activations/{activationId}/prolong": {
      "post": {
        "tags": [
          "Activations"
        ],
        "operationId": "prolongActivation",
        "parameters": [
          {
            "$ref": "#/components/parameters/activationPath"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "required": [
                  "duration"
                ],
                "properties": {
                  "duration": {
                    "type": "integer",
                    "example": 24,
                    "minimum": 1,
                    "maximum": 8760,
                    "description": "Whole hours, selected from the options endpoint. SIMUB also accepts quoted durations outside the initial-rental enum."
                  }
                },
                "type": "object"
              }
            }
          },
          "description": "Response"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/ActivationsSuccessResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntityResponse"
          },
          "425": {
            "$ref": "#/components/responses/TooEarlyRequestResponse"
          },
          "500": {
            "$ref": "#/components/responses/ServerErrorResponse"
          },
          "429": {
            "description": "Rate limit exceeded"
          },
          "402": {
            "description": "Insufficient SIMUB balance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "409": {
            "description": "Conflicting or unresolved operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "502": {
            "description": "Provider rejected or returned an invalid response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "503": {
            "description": "Provider temporarily unavailable or outcome unknown",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "summary": "Prolong activation",
        "description": "Call activations cannot use rental lifecycle operations and return 422 CALL_RENTAL_UNAVAILABLE before provider requests or charging."
      }
    },
    "/api/v1/activations/{activationId}/prolong/history": {
      "get": {
        "tags": [
          "Activations"
        ],
        "operationId": "prolongActivationHistory",
        "parameters": [
          {
            "$ref": "#/components/parameters/activationPath"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ProlongHistorySuccessResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/ServerErrorResponse"
          },
          "429": {
            "description": "Rate limit exceeded"
          },
          "402": {
            "description": "Insufficient SIMUB balance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "409": {
            "description": "Conflicting or unresolved operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "502": {
            "description": "Provider rejected or returned an invalid response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "503": {
            "description": "Provider temporarily unavailable or outcome unknown",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "summary": "Prolong activation history"
      }
    },
    "/api/v1/activations/favorites/services/{service}/countries/{country}": {
      "put": {
        "tags": [
          "Activation Favorites v1"
        ],
        "summary": "Add or edit a favorite",
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "parameters": [
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "example": "tg"
            }
          },
          {
            "name": "country",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "example": 0
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "operator"
                ],
                "properties": {
                  "operator": {
                    "type": "string",
                    "default": "any"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Saved favorite."
          },
          "404": {
            "description": "Service or country not found."
          },
          "422": {
            "description": "Invalid favorite or the 30-favorite limit was reached."
          }
        }
      },
      "delete": {
        "tags": [
          "Activation Favorites v1"
        ],
        "summary": "Remove a favorite",
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "parameters": [
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "country",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Favorite removed or already absent."
          },
          "422": {
            "description": "Invalid service or country identifier."
          }
        }
      }
    },
    "/api/v1/activations/{activationId}/otp": {
      "get": {
        "tags": [
          "Activation OTP"
        ],
        "operationId": "getActivationOtpList",
        "parameters": [
          {
            "$ref": "#/components/parameters/activationPath"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ActivationOtpListSuccessResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/ServerErrorResponse"
          },
          "429": {
            "description": "Rate limit exceeded"
          },
          "402": {
            "description": "Insufficient SIMUB balance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "409": {
            "description": "Conflicting or unresolved operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "502": {
            "description": "Provider rejected or returned an invalid response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "503": {
            "description": "Provider temporarily unavailable or outcome unknown",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "summary": "Get activation otp list"
      }
    },
    "/api/v1/activations/{activationId}/otp/last": {
      "get": {
        "tags": [
          "Activation OTP"
        ],
        "operationId": "getActivationOtpLast",
        "parameters": [
          {
            "$ref": "#/components/parameters/activationPath"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ActivationOtpSuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/ServerErrorResponse"
          },
          "429": {
            "description": "Rate limit exceeded"
          },
          "402": {
            "description": "Insufficient SIMUB balance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "409": {
            "description": "Conflicting or unresolved operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "502": {
            "description": "Provider rejected or returned an invalid response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "503": {
            "description": "Provider temporarily unavailable or outcome unknown",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "summary": "Get activation otp last"
      }
    },
    "/api/v1/classifiers/operators": {
      "get": {
        "tags": [
          "Classifiers v1"
        ],
        "summary": "Get operators available for a country",
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "parameters": [
          {
            "name": "country",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9999
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Sorted operator codes."
          },
          "401": {
            "description": "Invalid API key."
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntityResponse"
          }
        }
      }
    },
    "/api/v1/classifiers/activations/custom-durations": {
      "get": {
        "tags": [
          "Classifiers"
        ],
        "operationId": "customDurations",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "required": [
                    "data"
                  ],
                  "properties": {
                    "data": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "integer",
                          "example": 60
                        }
                      }
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Response"
          },
          "500": {
            "$ref": "#/components/responses/ServerErrorResponse"
          },
          "429": {
            "description": "Rate limit exceeded"
          },
          "402": {
            "description": "Insufficient SIMUB balance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "409": {
            "description": "Conflicting or unresolved operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "502": {
            "description": "Provider rejected or returned an invalid response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "503": {
            "description": "Provider temporarily unavailable or outcome unknown",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          }
        },
        "summary": "Custom durations",
        "security": []
      }
    },
    "/api/v1/emails/offers": {
      "get": {
        "tags": [
          "Emails"
        ],
        "operationId": "f8e545c04e941382450fcc88b14c4e89",
        "parameters": [
          {
            "name": "site",
            "in": "query",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/EmailSite"
            }
          },
          {
            "name": "domain",
            "in": "query",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/EmailDomain"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/EmailOfferDomain"
                      }
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Response"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/ServerErrorResponse"
          },
          "429": {
            "description": "Rate limit exceeded"
          },
          "402": {
            "description": "Insufficient SIMUB balance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "409": {
            "description": "Conflicting or unresolved operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "502": {
            "description": "Provider rejected or returned an invalid response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          },
          "503": {
            "description": "Provider temporarily unavailable or outcome unknown",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "summary": "Emails offers"
      }
    },
    "/api/v1/stats/deliverability": {
      "get": {
        "tags": [
          "Statistics"
        ],
        "operationId": "60679e939ef779f9063f3a035599e820",
        "parameters": [
          {
            "$ref": "#/components/parameters/servicesQueryRequired"
          },
          {
            "$ref": "#/components/parameters/countriesQuery"
          },
          {
            "$ref": "#/components/parameters/intervalQuery"
          },
          {
            "$ref": "#/components/parameters/successCountQuery"
          },
          {
            "$ref": "#/components/parameters/size"
          },
          {
            "$ref": "#/components/parameters/withOperatorsQuery"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "array",
                        "items": {
                          "required": [
                            "country",
                            "successRate"
                          ],
                          "properties": {
                            "country": {
                              "$ref": "#/components/schemas/CountryId"
                            },
                            "successRate": {
                              "$ref": "#/components/schemas/SuccessRate"
                            },
                            "operators": {
                              "type": [
                                "array",
                                "null"
                              ],
                              "items": {
                                "properties": {
                                  "code": {
                                    "$ref": "#/components/schemas/OperatorCode"
                                  },
                                  "successRate": {
                                    "$ref": "#/components/schemas/SuccessRate"
                                  },
                                  "share": {
                                    "type": "number",
                                    "format": "float",
                                    "minimum": 1
                                  }
                                },
                                "type": "object"
                              }
                            }
                          },
                          "type": "object"
                        }
                      }
                    },
                    "meta": {
                      "properties": {
                        "filters": {
                          "properties": {
                            "services": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "countries": {
                              "type": "array",
                              "items": {
                                "type": "integer"
                              }
                            },
                            "interval": {
                              "type": "integer"
                            },
                            "successCount": {
                              "type": "string",
                              "enum": [
                                "very_high",
                                "high",
                                "medium",
                                "low"
                              ]
                            },
                            "withOperators": {
                              "type": "boolean"
                            }
                          },
                          "type": "object"
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Response"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/ServerErrorResponse"
          },
          "429": {
            "description": "Rate limit exceeded"
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "summary": "Stats deliverability"
      }
    },
    "/api/sms/getActiveActivations": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "saGetActiveActivations",
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActiveActivations"
                },
                "examples": {
                  "activationsSuccessfulExample": {
                    "$ref": "#/components/examples/activationsSuccessfulExample"
                  }
                }
              }
            },
            "description": "Response"
          },
          "400": {
            "$ref": "#/components/responses/badRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "402": {
            "$ref": "#/components/responses/paymentRequiredResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/methodNotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/unprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getActiveActivations",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getActiveActivationsPost",
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActiveActivations"
                },
                "examples": {
                  "activationsSuccessfulExample": {
                    "$ref": "#/components/examples/activationsSuccessfulExample"
                  }
                }
              }
            },
            "description": "Response"
          },
          "400": {
            "$ref": "#/components/responses/badRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "402": {
            "$ref": "#/components/responses/paymentRequiredResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/methodNotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/unprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getActiveActivations",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/getHistory": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getHistory",
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "end",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "size",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActivationsHistory"
                },
                "examples": {
                  "successfulActivationsHistoryExample": {
                    "$ref": "#/components/examples/successfulActivationsHistoryExample"
                  }
                }
              }
            },
            "description": "Response"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/methodNotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/unprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getHistory",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getHistoryPost",
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "end",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "size",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActivationsHistory"
                },
                "examples": {
                  "successfulActivationsHistoryExample": {
                    "$ref": "#/components/examples/successfulActivationsHistoryExample"
                  }
                }
              }
            },
            "description": "Response"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/methodNotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/unprocessableEntityResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getHistory",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/reactivate": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "reactivate",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredActivationID"
          },
          {
            "$ref": "#/components/parameters/qpSADuration"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/successfulNumberv2Response"
                }
              }
            },
            "description": "Response"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "402": {
            "$ref": "#/components/responses/paymentRequiredResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/activationNotFoundResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          },
          "422": {
            "$ref": "#/components/responses/CallRentalUnavailableResponse"
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "reactivate",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. Call activations cannot use rental lifecycle operations and return 422 CALL_RENTAL_UNAVAILABLE before provider requests or charging."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "reactivatePost",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredActivationID"
          },
          {
            "$ref": "#/components/parameters/qpSADuration"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/successfulNumberv2Response"
                }
              }
            },
            "description": "Response"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "402": {
            "$ref": "#/components/responses/paymentRequiredResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/activationNotFoundResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          },
          "422": {
            "$ref": "#/components/responses/CallRentalUnavailableResponse"
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "reactivate",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. POST accepts the same query/form parameters. Call activations cannot use rental lifecycle operations and return 422 CALL_RENTAL_UNAVAILABLE before provider requests or charging."
      }
    },
    "/api/sms/reactivateOptions": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "saReactivateOptions",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredActivationID"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/SaActivationExtendOptionsSuccessResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/activationNotFoundResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          },
          "422": {
            "$ref": "#/components/responses/CallRentalUnavailableResponse"
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "reactivateOptions",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. Call activations cannot use rental lifecycle operations and return 422 CALL_RENTAL_UNAVAILABLE before provider requests or charging."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "reactivateOptionsPost",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredActivationID"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/SaActivationExtendOptionsSuccessResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/activationNotFoundResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          },
          "422": {
            "$ref": "#/components/responses/CallRentalUnavailableResponse"
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "reactivateOptions",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. POST accepts the same query/form parameters. Call activations cannot use rental lifecycle operations and return 422 CALL_RENTAL_UNAVAILABLE before provider requests or charging."
      }
    },
    "/api/sms/prolong": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "prolong",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredActivationID"
          },
          {
            "$ref": "#/components/parameters/qpSARequiredDuration"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/successfulNumberv2Response"
                }
              }
            },
            "description": "Response"
          },
          "400": {
            "$ref": "#/components/responses/prolongationBadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "402": {
            "$ref": "#/components/responses/paymentRequiredResponse"
          },
          "404": {
            "$ref": "#/components/responses/activationNotFoundResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          },
          "422": {
            "$ref": "#/components/responses/CallRentalUnavailableResponse"
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "prolong",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. Call activations cannot use rental lifecycle operations and return 422 CALL_RENTAL_UNAVAILABLE before provider requests or charging."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "prolongPost",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredActivationID"
          },
          {
            "$ref": "#/components/parameters/qpSARequiredDuration"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/successfulNumberv2Response"
                }
              }
            },
            "description": "Response"
          },
          "400": {
            "$ref": "#/components/responses/prolongationBadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "402": {
            "$ref": "#/components/responses/paymentRequiredResponse"
          },
          "404": {
            "$ref": "#/components/responses/activationNotFoundResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          },
          "422": {
            "$ref": "#/components/responses/CallRentalUnavailableResponse"
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "prolong",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. POST accepts the same query/form parameters. Call activations cannot use rental lifecycle operations and return 422 CALL_RENTAL_UNAVAILABLE before provider requests or charging."
      }
    },
    "/api/sms/prolongOptions": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "saProlongOptions",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredActivationID"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/SaActivationExtendOptionsSuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/prolongationInfoBadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/activationNotFoundResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          },
          "422": {
            "$ref": "#/components/responses/CallRentalUnavailableResponse"
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "prolongOptions",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. Call activations cannot use rental lifecycle operations and return 422 CALL_RENTAL_UNAVAILABLE before provider requests or charging."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "prolongOptionsPost",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredActivationID"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/SaActivationExtendOptionsSuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/prolongationInfoBadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/activationNotFoundResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          },
          "422": {
            "$ref": "#/components/responses/CallRentalUnavailableResponse"
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "prolongOptions",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. POST accepts the same query/form parameters. Call activations cannot use rental lifecycle operations and return 422 CALL_RENTAL_UNAVAILABLE before provider requests or charging."
      }
    },
    "/api/sms/prolongHistory": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "prolongHistory",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredActivationID"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/prolongationHistoryListResponse"
                }
              }
            },
            "description": "Response"
          },
          "400": {
            "$ref": "#/components/responses/prolongationInfoBadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/activationNotFoundResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "prolongHistory",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "prolongHistoryPost",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredActivationID"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/prolongationHistoryListResponse"
                }
              }
            },
            "description": "Response"
          },
          "400": {
            "$ref": "#/components/responses/prolongationInfoBadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/activationNotFoundResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "prolongHistory",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/getTopCountriesByService": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getTopCountriesByService",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSAOptionalService"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalFreePrice"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "type": "array",
                      "items": {
                        "properties": {
                          "physicalTotalCount": {
                            "type": "integer",
                            "example": 9405
                          },
                          "physicalCountForDefaultPrice": {
                            "type": "integer",
                            "example": 4066
                          },
                          "physicalPriceMap": {
                            "type": "object",
                            "additionalProperties": {
                              "type": "number",
                              "example": 0.018
                            }
                          },
                          "retail_price": {
                            "type": "number",
                            "example": 0.2
                          },
                          "country": {
                            "type": "integer",
                            "example": 6
                          },
                          "price": {
                            "type": "number",
                            "example": 0.045
                          },
                          "count": {
                            "type": "integer",
                            "example": 4528
                          }
                        },
                        "type": "object"
                      }
                    },
                    {
                      "type": "object",
                      "additionalProperties": {
                        "type": "array",
                        "items": {
                          "properties": {
                            "physicalTotalCount": {
                              "type": "integer",
                              "example": 9405
                            },
                            "physicalCountForDefaultPrice": {
                              "type": "integer",
                              "example": 4066
                            },
                            "physicalPriceMap": {
                              "type": "object",
                              "additionalProperties": {
                                "type": "number",
                                "example": 0.018
                              }
                            },
                            "retail_price": {
                              "type": "number",
                              "example": 0.2
                            },
                            "country": {
                              "type": "integer",
                              "example": 6
                            },
                            "price": {
                              "type": "number",
                              "example": 0.045
                            },
                            "count": {
                              "type": "integer",
                              "example": 4528
                            }
                          },
                          "type": "object"
                        }
                      }
                    }
                  ]
                },
                "examples": {
                  "topCountriesAllServicesExample": {
                    "value": [
                      {
                        "ig": [
                          {
                            "physicalTotalCount": 7933,
                            "physicalCountForDefaultPrice": 5198,
                            "physicalPriceMap": {
                              "0.04": 24,
                              "0.0415": 439,
                              "0.0419": 3229
                            },
                            "retail_price": 0.2,
                            "country": 6,
                            "price": 0.045,
                            "count": 5477
                          }
                        ]
                      }
                    ]
                  },
                  "topCountriesOneServiceExample": {
                    "value": [
                      {
                        "physicalTotalCount": 7933,
                        "physicalCountForDefaultPrice": 5198,
                        "physicalPriceMap": {
                          "0.04": 24,
                          "0.0415": 439,
                          "0.0419": 3229
                        },
                        "retail_price": 0.2,
                        "country": 6,
                        "price": 0.045,
                        "count": 5477
                      }
                    ]
                  },
                  "missingKeyExample": {
                    "value": "NO_KEY"
                  },
                  "incorrectKeyExample": {
                    "value": "BAD_KEY"
                  }
                }
              }
            },
            "description": "Response"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "deprecated": true,
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getTopCountriesByService",
        "description": "Countries ordered by available stock, or by this SIMUB account's 30-day delivery rate for the Rank action. freePrice=false counts stock at the minimum returned price; freePrice=true includes all current price tiers. Physical stock fields are zero because physical SIM partner stock is archived."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getTopCountriesByServicePost",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSAOptionalService"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalFreePrice"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "type": "array",
                      "items": {
                        "properties": {
                          "physicalTotalCount": {
                            "type": "integer",
                            "example": 9405
                          },
                          "physicalCountForDefaultPrice": {
                            "type": "integer",
                            "example": 4066
                          },
                          "physicalPriceMap": {
                            "type": "object",
                            "additionalProperties": {
                              "type": "number",
                              "example": 0.018
                            }
                          },
                          "retail_price": {
                            "type": "number",
                            "example": 0.2
                          },
                          "country": {
                            "type": "integer",
                            "example": 6
                          },
                          "price": {
                            "type": "number",
                            "example": 0.045
                          },
                          "count": {
                            "type": "integer",
                            "example": 4528
                          }
                        },
                        "type": "object"
                      }
                    },
                    {
                      "type": "object",
                      "additionalProperties": {
                        "type": "array",
                        "items": {
                          "properties": {
                            "physicalTotalCount": {
                              "type": "integer",
                              "example": 9405
                            },
                            "physicalCountForDefaultPrice": {
                              "type": "integer",
                              "example": 4066
                            },
                            "physicalPriceMap": {
                              "type": "object",
                              "additionalProperties": {
                                "type": "number",
                                "example": 0.018
                              }
                            },
                            "retail_price": {
                              "type": "number",
                              "example": 0.2
                            },
                            "country": {
                              "type": "integer",
                              "example": 6
                            },
                            "price": {
                              "type": "number",
                              "example": 0.045
                            },
                            "count": {
                              "type": "integer",
                              "example": 4528
                            }
                          },
                          "type": "object"
                        }
                      }
                    }
                  ]
                },
                "examples": {
                  "topCountriesAllServicesExample": {
                    "value": [
                      {
                        "ig": [
                          {
                            "physicalTotalCount": 7933,
                            "physicalCountForDefaultPrice": 5198,
                            "physicalPriceMap": {
                              "0.04": 24,
                              "0.0415": 439,
                              "0.0419": 3229
                            },
                            "retail_price": 0.2,
                            "country": 6,
                            "price": 0.045,
                            "count": 5477
                          }
                        ]
                      }
                    ]
                  },
                  "topCountriesOneServiceExample": {
                    "value": [
                      {
                        "physicalTotalCount": 7933,
                        "physicalCountForDefaultPrice": 5198,
                        "physicalPriceMap": {
                          "0.04": 24,
                          "0.0415": 439,
                          "0.0419": 3229
                        },
                        "retail_price": 0.2,
                        "country": 6,
                        "price": 0.045,
                        "count": 5477
                      }
                    ]
                  },
                  "missingKeyExample": {
                    "value": "NO_KEY"
                  },
                  "incorrectKeyExample": {
                    "value": "BAD_KEY"
                  }
                }
              }
            },
            "description": "Response"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "deprecated": true,
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getTopCountriesByService",
        "description": "Countries ordered by available stock, or by this SIMUB account's 30-day delivery rate for the Rank action. freePrice=false counts stock at the minimum returned price; freePrice=true includes all current price tiers. Physical stock fields are zero because physical SIM partner stock is archived."
      }
    },
    "/api/sms/getTopCountriesByServiceRank": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getTopCountriesByServiceRank",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSAOptionalService"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalFreePrice"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "type": "array",
                      "items": {
                        "properties": {
                          "physicalTotalCount": {
                            "type": "integer",
                            "example": 9405
                          },
                          "physicalCountForDefaultPrice": {
                            "type": "integer",
                            "example": 4066
                          },
                          "physicalPriceMap": {
                            "type": "object",
                            "additionalProperties": {
                              "type": "number",
                              "example": 0.018
                            }
                          },
                          "retail_price": {
                            "type": "number",
                            "example": 0.2
                          },
                          "country": {
                            "type": "integer",
                            "example": 6
                          },
                          "price": {
                            "type": "number",
                            "example": 0.045
                          },
                          "count": {
                            "type": "integer",
                            "example": 4528
                          }
                        },
                        "type": "object"
                      }
                    },
                    {
                      "type": "object",
                      "additionalProperties": {
                        "type": "array",
                        "items": {
                          "properties": {
                            "physicalTotalCount": {
                              "type": "integer",
                              "example": 9405
                            },
                            "physicalCountForDefaultPrice": {
                              "type": "integer",
                              "example": 4066
                            },
                            "physicalPriceMap": {
                              "type": "object",
                              "additionalProperties": {
                                "type": "number",
                                "example": 0.018
                              }
                            },
                            "retail_price": {
                              "type": "number",
                              "example": 0.2
                            },
                            "country": {
                              "type": "integer",
                              "example": 6
                            },
                            "price": {
                              "type": "number",
                              "example": 0.045
                            },
                            "count": {
                              "type": "integer",
                              "example": 4528
                            }
                          },
                          "type": "object"
                        }
                      }
                    }
                  ]
                },
                "examples": {
                  "topCountriesAllServicesExample": {
                    "value": [
                      {
                        "ig": [
                          {
                            "physicalTotalCount": 7933,
                            "physicalCountForDefaultPrice": 5198,
                            "physicalPriceMap": {
                              "0.04": 24,
                              "0.0415": 439,
                              "0.0419": 3229
                            },
                            "retail_price": 0.2,
                            "country": 6,
                            "price": 0.045,
                            "count": 5477
                          }
                        ]
                      }
                    ]
                  },
                  "topCountriesOneServiceExample": {
                    "value": [
                      {
                        "physicalTotalCount": 7933,
                        "physicalCountForDefaultPrice": 5198,
                        "physicalPriceMap": {
                          "0.04": 24,
                          "0.0415": 439,
                          "0.0419": 3229
                        },
                        "retail_price": 0.2,
                        "country": 6,
                        "price": 0.045,
                        "count": 5477
                      }
                    ]
                  },
                  "missingKeyExample": {
                    "value": "NO_KEY"
                  },
                  "incorrectKeyExample": {
                    "value": "BAD_KEY"
                  }
                }
              }
            },
            "description": "Response"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "deprecated": true,
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getTopCountriesByServiceRank",
        "description": "Countries ordered by available stock, or by this SIMUB account's 30-day delivery rate for the Rank action. freePrice=false counts stock at the minimum returned price; freePrice=true includes all current price tiers. Physical stock fields are zero because physical SIM partner stock is archived."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getTopCountriesByServiceRankPost",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSAOptionalService"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalFreePrice"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "type": "array",
                      "items": {
                        "properties": {
                          "physicalTotalCount": {
                            "type": "integer",
                            "example": 9405
                          },
                          "physicalCountForDefaultPrice": {
                            "type": "integer",
                            "example": 4066
                          },
                          "physicalPriceMap": {
                            "type": "object",
                            "additionalProperties": {
                              "type": "number",
                              "example": 0.018
                            }
                          },
                          "retail_price": {
                            "type": "number",
                            "example": 0.2
                          },
                          "country": {
                            "type": "integer",
                            "example": 6
                          },
                          "price": {
                            "type": "number",
                            "example": 0.045
                          },
                          "count": {
                            "type": "integer",
                            "example": 4528
                          }
                        },
                        "type": "object"
                      }
                    },
                    {
                      "type": "object",
                      "additionalProperties": {
                        "type": "array",
                        "items": {
                          "properties": {
                            "physicalTotalCount": {
                              "type": "integer",
                              "example": 9405
                            },
                            "physicalCountForDefaultPrice": {
                              "type": "integer",
                              "example": 4066
                            },
                            "physicalPriceMap": {
                              "type": "object",
                              "additionalProperties": {
                                "type": "number",
                                "example": 0.018
                              }
                            },
                            "retail_price": {
                              "type": "number",
                              "example": 0.2
                            },
                            "country": {
                              "type": "integer",
                              "example": 6
                            },
                            "price": {
                              "type": "number",
                              "example": 0.045
                            },
                            "count": {
                              "type": "integer",
                              "example": 4528
                            }
                          },
                          "type": "object"
                        }
                      }
                    }
                  ]
                },
                "examples": {
                  "topCountriesAllServicesExample": {
                    "value": [
                      {
                        "ig": [
                          {
                            "physicalTotalCount": 7933,
                            "physicalCountForDefaultPrice": 5198,
                            "physicalPriceMap": {
                              "0.04": 24,
                              "0.0415": 439,
                              "0.0419": 3229
                            },
                            "retail_price": 0.2,
                            "country": 6,
                            "price": 0.045,
                            "count": 5477
                          }
                        ]
                      }
                    ]
                  },
                  "topCountriesOneServiceExample": {
                    "value": [
                      {
                        "physicalTotalCount": 7933,
                        "physicalCountForDefaultPrice": 5198,
                        "physicalPriceMap": {
                          "0.04": 24,
                          "0.0415": 439,
                          "0.0419": 3229
                        },
                        "retail_price": 0.2,
                        "country": 6,
                        "price": 0.045,
                        "count": 5477
                      }
                    ]
                  },
                  "missingKeyExample": {
                    "value": "NO_KEY"
                  },
                  "incorrectKeyExample": {
                    "value": "BAD_KEY"
                  }
                }
              }
            },
            "description": "Response"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "deprecated": true,
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getTopCountriesByServiceRank",
        "description": "Countries ordered by available stock, or by this SIMUB account's 30-day delivery rate for the Rank action. freePrice=false counts stock at the minimum returned price; freePrice=true includes all current price tiers. Physical stock fields are zero because physical SIM partner stock is archived."
      }
    },
    "/api/sms/serviceCountRent": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "serviceCountRent",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredService"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalCountry"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalOperator"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalCurrency"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RentCountByService"
                },
                "examples": {
                  "Données reçues avec succès": {
                    "$ref": "#/components/examples/successServiceCountRent"
                  },
                  "Aucune donnée disponible": {
                    "$ref": "#/components/examples/emptyServiceCountRent"
                  }
                }
              }
            },
            "description": "Response"
          },
          "400": {
            "$ref": "#/components/responses/rentParamsBadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          },
          "422": {
            "$ref": "#/components/responses/CallRentalUnavailableResponse"
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "serviceCountRent",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. SMS rentals only. verificationType=call returns 422 CALL_RENTAL_UNAVAILABLE before catalog access or allocation."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "serviceCountRentPost",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredService"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalCountry"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalOperator"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalCurrency"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RentCountByService"
                },
                "examples": {
                  "Données reçues avec succès": {
                    "$ref": "#/components/examples/successServiceCountRent"
                  },
                  "Aucune donnée disponible": {
                    "$ref": "#/components/examples/emptyServiceCountRent"
                  }
                }
              }
            },
            "description": "Response"
          },
          "400": {
            "$ref": "#/components/responses/rentParamsBadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          },
          "422": {
            "$ref": "#/components/responses/CallRentalUnavailableResponse"
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "serviceCountRent",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. POST accepts the same query/form parameters. SMS rentals only. verificationType=call returns 422 CALL_RENTAL_UNAVAILABLE before catalog access or allocation."
      }
    },
    "/api/sms/getRentServicesAndCountries": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getRentServicesAndCountries",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredCountry"
          },
          {
            "$ref": "#/components/parameters/qpSARequiredDuration"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/getRentServicesAndCountries"
                },
                "examples": {
                  "successGetRentServicesAndCountriesExample": {
                    "$ref": "#/components/examples/successGetRentServicesAndCountriesExample"
                  }
                }
              }
            },
            "description": "Response"
          },
          "400": {
            "$ref": "#/components/responses/rentParamsBadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "422": {
            "$ref": "#/components/responses/CallRentalUnavailableResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getRentServicesAndCountries",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. SMS rentals only. verificationType=call returns 422 CALL_RENTAL_UNAVAILABLE before catalog access or allocation."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getRentServicesAndCountriesPost",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredCountry"
          },
          {
            "$ref": "#/components/parameters/qpSARequiredDuration"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/getRentServicesAndCountries"
                },
                "examples": {
                  "successGetRentServicesAndCountriesExample": {
                    "$ref": "#/components/examples/successGetRentServicesAndCountriesExample"
                  }
                }
              }
            },
            "description": "Response"
          },
          "400": {
            "$ref": "#/components/responses/rentParamsBadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "422": {
            "$ref": "#/components/responses/CallRentalUnavailableResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getRentServicesAndCountries",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. POST accepts the same query/form parameters. SMS rentals only. verificationType=call returns 422 CALL_RENTAL_UNAVAILABLE before catalog access or allocation."
      }
    },
    "/api/sms/getRentNumber": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getRentNumber",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredService"
          },
          {
            "$ref": "#/components/parameters/qpSARequiredCountry"
          },
          {
            "$ref": "#/components/parameters/qpSARequiredDuration"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalOperator"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalCurrency"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalRef"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/successfulNumberv2Response"
                }
              }
            },
            "description": "Response"
          },
          "400": {
            "$ref": "#/components/responses/rentParamsBadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "402": {
            "$ref": "#/components/responses/paymentRequiredResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/noNumbersResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          },
          "422": {
            "$ref": "#/components/responses/CallRentalUnavailableResponse"
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getRentNumber",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. SMS rentals only. verificationType=call returns 422 CALL_RENTAL_UNAVAILABLE before catalog access or allocation."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getRentNumberPost",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredService"
          },
          {
            "$ref": "#/components/parameters/qpSARequiredCountry"
          },
          {
            "$ref": "#/components/parameters/qpSARequiredDuration"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalOperator"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalCurrency"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalRef"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/successfulNumberv2Response"
                }
              }
            },
            "description": "Response"
          },
          "400": {
            "$ref": "#/components/responses/rentParamsBadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "402": {
            "$ref": "#/components/responses/paymentRequiredResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/noNumbersResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          },
          "422": {
            "$ref": "#/components/responses/CallRentalUnavailableResponse"
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getRentNumber",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. POST accepts the same query/form parameters. SMS rentals only. verificationType=call returns 422 CALL_RENTAL_UNAVAILABLE before catalog access or allocation."
      }
    },
    "/api/sms/getAllSms": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getAllSms",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredActivationID"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalSize"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalPage"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/OtpListResponse"
                    },
                    "meta": {
                      "properties": {
                        "total": {
                          "type": "integer",
                          "example": 42
                        },
                        "service": {
                          "type": "string",
                          "example": "full"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Response"
          },
          "400": {
            "$ref": "#/components/responses/badRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/activationNotFoundResponse"
          },
          "409": {
            "$ref": "#/components/responses/activationNotActiveResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getAllSms",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getAllSmsPost",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredActivationID"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalSize"
          },
          {
            "$ref": "#/components/parameters/qpSAOptionalPage"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/OtpListResponse"
                    },
                    "meta": {
                      "properties": {
                        "total": {
                          "type": "integer",
                          "example": 42
                        },
                        "service": {
                          "type": "string",
                          "example": "full"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Response"
          },
          "400": {
            "$ref": "#/components/responses/badRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/activationNotFoundResponse"
          },
          "409": {
            "$ref": "#/components/responses/activationNotActiveResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getAllSms",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/finishActivation": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "saFinishActivation",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredActivationID"
          }
        ],
        "responses": {
          "204": {
            "description": "No content"
          },
          "400": {
            "$ref": "#/components/responses/badRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/activationNotFoundResponse"
          },
          "409": {
            "$ref": "#/components/responses/activationFinishConflictResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "finishActivation",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "finishActivationPost",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredActivationID"
          }
        ],
        "responses": {
          "204": {
            "description": "No content"
          },
          "400": {
            "$ref": "#/components/responses/badRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/activationNotFoundResponse"
          },
          "409": {
            "$ref": "#/components/responses/activationFinishConflictResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "finishActivation",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/cancelActivation": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "saCancelActivation",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredActivationID"
          }
        ],
        "responses": {
          "204": {
            "description": "No content"
          },
          "400": {
            "$ref": "#/components/responses/badRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/activationNotFoundResponse"
          },
          "409": {
            "$ref": "#/components/responses/activationCancelConflictResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "cancelActivation",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "cancelActivationPost",
        "parameters": [
          {
            "$ref": "#/components/parameters/qpSARequiredActivationID"
          }
        ],
        "responses": {
          "204": {
            "description": "No content"
          },
          "400": {
            "$ref": "#/components/responses/badRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/unauthorizedResponse"
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/activationNotFoundResponse"
          },
          "409": {
            "$ref": "#/components/responses/activationCancelConflictResponse"
          },
          "500": {
            "$ref": "#/components/responses/SAServerErrorResponse"
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "cancelActivation",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/getNumbersStats": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getNumbersStats",
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Statistics grouped by country and service",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getNumbersStats",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getNumbersStatsPost",
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Statistics grouped by country and service",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getNumbersStats",
        "description": "SMS-Activate compatible action. All identifiers, prices and balances are SIMUB values. POST accepts the same query/form parameters."
      }
    },
    "/api/v1/webhooks": {
      "get": {
        "tags": [
          "Webhooks"
        ],
        "operationId": "getSmsWebhookSettings",
        "summary": "Get SMS webhook URLs",
        "description": "Returns the configured URLs of the authenticated account only. This SIMUB extension configures the sms-incoming webhook without buying an activation.",
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "The current webhook URLs for the authenticated SIMUB account.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SmsWebhookSettings"
                },
                "examples": {
                  "enabled": {
                    "value": {
                      "urls": [
                        "https://receiver.example/webhooks/sms/RANDOM_RECEIVER_SECRET"
                      ]
                    }
                  },
                  "disabled": {
                    "value": {
                      "urls": []
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntityResponse"
          },
          "429": {
            "description": "Rate limit exceeded"
          }
        }
      },
      "put": {
        "tags": [
          "Webhooks"
        ],
        "operationId": "updateSmsWebhookSettings",
        "summary": "Configure SMS webhook URLs",
        "description": "Replaces all webhook URLs for the authenticated account. Supply up to three distinct public HTTPS URLs on port 443. Empty urls disables delivery. Pending delivery to a removed URL is stopped; an in-flight request may still arrive. Invalid or private destinations are rejected. Each new SMS is sent independently to every configured URL.",
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SmsWebhookSettings"
              },
              "example": {
                "urls": [
                  "https://receiver.example/webhooks/sms/RANDOM_RECEIVER_SECRET"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The current webhook URLs for the authenticated SIMUB account.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SmsWebhookSettings"
                },
                "examples": {
                  "enabled": {
                    "value": {
                      "urls": [
                        "https://receiver.example/webhooks/sms/RANDOM_RECEIVER_SECRET"
                      ]
                    }
                  },
                  "disabled": {
                    "value": {
                      "urls": []
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntityResponse"
          },
          "429": {
            "description": "Rate limit exceeded"
          }
        }
      }
    },
    "/api/sms/getBalanceAndCashBack": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getBalanceAndCashBack",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Balance (cashback included)",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "ACCESS_BALANCE:100.50"
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getBalanceAndCashBack",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). Same balance as getBalance: SIMUB has no separate cashback account."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getBalanceAndCashBackPost",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Balance (cashback included)",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "ACCESS_BALANCE:100.50"
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getBalanceAndCashBack",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). Same balance as getBalance: SIMUB has no separate cashback account. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/getNumbersStatus": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getNumbersStatus",
        "parameters": [
          {
            "name": "country",
            "in": "query",
            "required": false,
            "description": "Country code",
            "schema": {
              "type": "string",
              "example": "0"
            }
          },
          {
            "name": "operator",
            "in": "query",
            "required": false,
            "description": "Operator (ignored, any operator)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Available numbers per service",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": {
                  "tg_0": 1200,
                  "wa_0": 800
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getNumbersStatus",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). Count of available numbers per service for a country. Key: {service}_0 (forwarding is not offered)."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getNumbersStatusPost",
        "parameters": [
          {
            "name": "country",
            "in": "query",
            "required": false,
            "description": "Country code",
            "schema": {
              "type": "string",
              "example": "0"
            }
          },
          {
            "name": "operator",
            "in": "query",
            "required": false,
            "description": "Operator (ignored, any operator)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Available numbers per service",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": {
                  "tg_0": 1200,
                  "wa_0": 800
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getNumbersStatus",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). Count of available numbers per service for a country. Key: {service}_0 (forwarding is not offered). POST accepts the same query/form parameters."
      }
    },
    "/api/sms/getPricesVerification": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getPricesVerification",
        "parameters": [
          {
            "name": "service",
            "in": "query",
            "required": false,
            "description": "Service code",
            "schema": {
              "type": "string",
              "example": "tg"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Prices grouped by service",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": {
                  "tg": {
                    "0": {
                      "count": 1200,
                      "price": "0.28"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getPricesVerification",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). getPrices grouped as {service: {country: {count, price}}}."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getPricesVerificationPost",
        "parameters": [
          {
            "name": "service",
            "in": "query",
            "required": false,
            "description": "Service code",
            "schema": {
              "type": "string",
              "example": "tg"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Prices grouped by service",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": {
                  "tg": {
                    "0": {
                      "count": 1200,
                      "price": "0.28"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getPricesVerification",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). getPrices grouped as {service: {country: {count, price}}}. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/getListOfTopCountriesByService": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getListOfTopCountriesByService",
        "parameters": [
          {
            "name": "service",
            "in": "query",
            "required": true,
            "description": "Service code",
            "schema": {
              "type": "string",
              "example": "tg"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Top 10 countries for a service",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": [
                  {
                    "country": 6,
                    "share": 40.5,
                    "rate": 61.2
                  }
                ]
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getListOfTopCountriesByService",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). Share of SIMUB purchases and delivery rate per country over 90 days."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getListOfTopCountriesByServicePost",
        "parameters": [
          {
            "name": "service",
            "in": "query",
            "required": true,
            "description": "Service code",
            "schema": {
              "type": "string",
              "example": "tg"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Top 10 countries for a service",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": [
                  {
                    "country": 6,
                    "share": 40.5,
                    "rate": 61.2
                  }
                ]
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getListOfTopCountriesByService",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). Share of SIMUB purchases and delivery rate per country over 90 days. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/getMultiServiceNumber": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getMultiServiceNumber",
        "parameters": [
          {
            "name": "multiService",
            "in": "query",
            "required": true,
            "description": "One service code",
            "schema": {
              "type": "string",
              "example": "tg"
            }
          },
          {
            "name": "country",
            "in": "query",
            "required": false,
            "description": "Country code",
            "schema": {
              "type": "string",
              "example": "0"
            }
          },
          {
            "name": "operator",
            "in": "query",
            "required": false,
            "description": "Operator",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "maxPrice",
            "in": "query",
            "required": false,
            "description": "Price ceiling",
            "schema": {
              "type": "number"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Order a number (one service)",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": [
                  {
                    "phone": 123456,
                    "activation": "79161234567",
                    "service": "tg"
                  }
                ]
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getMultiServiceNumber",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). Exactly one service in multiService: a regular getNumber. Several services on one number and forwarding answer BAD_SERVICE."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getMultiServiceNumberPost",
        "parameters": [
          {
            "name": "multiService",
            "in": "query",
            "required": true,
            "description": "One service code",
            "schema": {
              "type": "string",
              "example": "tg"
            }
          },
          {
            "name": "country",
            "in": "query",
            "required": false,
            "description": "Country code",
            "schema": {
              "type": "string",
              "example": "0"
            }
          },
          {
            "name": "operator",
            "in": "query",
            "required": false,
            "description": "Operator",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "maxPrice",
            "in": "query",
            "required": false,
            "description": "Price ceiling",
            "schema": {
              "type": "number"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Order a number (one service)",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": [
                  {
                    "phone": 123456,
                    "activation": "79161234567",
                    "service": "tg"
                  }
                ]
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getMultiServiceNumber",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). Exactly one service in multiService: a regular getNumber. Several services on one number and forwarding answer BAD_SERVICE. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/getExtraActivation": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getExtraActivation",
        "parameters": [
          {
            "name": "activationId",
            "in": "query",
            "required": true,
            "description": "Parent activation id",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "New activation on a previous number",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "ACCESS_NUMBER:123457:79161234567"
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getExtraActivation",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). Reactivation: a new activation on the number of a finished one. Answers ACCESS_NUMBER:$id:$phone, WRONG_ACTIVATION_ID, NO_BALANCE or RENEW_ACTIVATION_NOT_AVAILABLE."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getExtraActivationPost",
        "parameters": [
          {
            "name": "activationId",
            "in": "query",
            "required": true,
            "description": "Parent activation id",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "New activation on a previous number",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "ACCESS_NUMBER:123457:79161234567"
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getExtraActivation",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). Reactivation: a new activation on the number of a finished one. Answers ACCESS_NUMBER:$id:$phone, WRONG_ACTIVATION_ID, NO_BALANCE or RENEW_ACTIVATION_NOT_AVAILABLE. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/checkExtraActivation": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "checkExtraActivation",
        "parameters": [
          {
            "name": "activationId",
            "in": "query",
            "required": true,
            "description": "Parent activation id",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Reactivation price",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": {
                  "status": "success",
                  "cost": 0.35,
                  "service": "tg",
                  "phone": 79161234567,
                  "country": 0
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "checkExtraActivation",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). Availability and price of getExtraActivation."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "checkExtraActivationPost",
        "parameters": [
          {
            "name": "activationId",
            "in": "query",
            "required": true,
            "description": "Parent activation id",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Reactivation price",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": {
                  "status": "success",
                  "cost": 0.35,
                  "service": "tg",
                  "phone": 79161234567,
                  "country": 0
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "checkExtraActivation",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). Availability and price of getExtraActivation. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/getAdditionalService": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getAdditionalService",
        "parameters": [
          {
            "name": "service",
            "in": "query",
            "required": false,
            "description": "Service code",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "query",
            "required": false,
            "description": "Parent activation id",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Additional forwarding service",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "WRONG_ADDITIONAL_SERVICE"
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getAdditionalService",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). Forwarded numbers are not offered: always WRONG_ADDITIONAL_SERVICE."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getAdditionalServicePost",
        "parameters": [
          {
            "name": "service",
            "in": "query",
            "required": false,
            "description": "Service code",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "query",
            "required": false,
            "description": "Parent activation id",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Additional forwarding service",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "WRONG_ADDITIONAL_SERVICE"
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getAdditionalService",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). Forwarded numbers are not offered: always WRONG_ADDITIONAL_SERVICE. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/getIncomingCallStatus": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getIncomingCallStatus",
        "parameters": [
          {
            "name": "activationId",
            "in": "query",
            "required": true,
            "description": "Activation id",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Incoming call status",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": {
                  "status": "2",
                  "phone": false
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getIncomingCallStatus",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). status: 2 waiting, 3 finished, 4 cancelled, 5 refunded; phone: received code or false."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getIncomingCallStatusPost",
        "parameters": [
          {
            "name": "activationId",
            "in": "query",
            "required": true,
            "description": "Activation id",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Incoming call status",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": {
                  "status": "2",
                  "phone": false
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getIncomingCallStatus",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). status: 2 waiting, 3 finished, 4 cancelled, 5 refunded; phone: received code or false. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/parseCall": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "parseCall",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "description": "Activation id",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "newLang",
            "in": "query",
            "required": false,
            "description": "Language",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Repeated voice parsing",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "PARSE_COUNT_EXCEED"
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "parseCall",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). Calls are transcribed once: NO_CALL, STATUS_CANCEL or PARSE_COUNT_EXCEED."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "parseCallPost",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "description": "Activation id",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "newLang",
            "in": "query",
            "required": false,
            "description": "Language",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Repeated voice parsing",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "PARSE_COUNT_EXCEED"
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "parseCall",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). Calls are transcribed once: NO_CALL, STATUS_CANCEL or PARSE_COUNT_EXCEED. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/getRentList": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getRentList",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Active rentals",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": {
                  "status": "success",
                  "values": {
                    "0": {
                      "id": "12345",
                      "phone": "15551234567"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getRentList",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). The last 10 active rentals."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getRentListPost",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Active rentals",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": {
                  "status": "success",
                  "values": {
                    "0": {
                      "id": "12345",
                      "phone": "15551234567"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getRentList",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). The last 10 active rentals. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/getRentStatus": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getRentStatus",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "description": "Rental id",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Page from 0",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "size",
            "in": "query",
            "required": false,
            "description": "Page size",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Rental messages",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": {
                  "status": "success",
                  "quantity": "1",
                  "values": {
                    "0": {
                      "phoneFrom": "Telegram",
                      "text": "Code 12345",
                      "service": "tg",
                      "date": "2026-10-18 12:00:00"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getRentStatus",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). Messages of an owned rental (paged). Errors in {\"status\":\"error\",\"message\":…}: NO_ID_RENT, INVALID_PHONE, STATUS_WAIT_CODE, STATUS_FINISH, STATUS_CANCEL, STATUS_REVOKE."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getRentStatusPost",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "description": "Rental id",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Page from 0",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "size",
            "in": "query",
            "required": false,
            "description": "Page size",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Rental messages",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": {
                  "status": "success",
                  "quantity": "1",
                  "values": {
                    "0": {
                      "phoneFrom": "Telegram",
                      "text": "Code 12345",
                      "service": "tg",
                      "date": "2026-10-18 12:00:00"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getRentStatus",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). Messages of an owned rental (paged). Errors in {\"status\":\"error\",\"message\":…}: NO_ID_RENT, INVALID_PHONE, STATUS_WAIT_CODE, STATUS_FINISH, STATUS_CANCEL, STATUS_REVOKE. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/setRentStatus": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "setRentStatus",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "description": "Rental id",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": true,
            "description": "1 finish, 2 cancel",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Finish or cancel a rental",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": {
                  "status": "success"
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "setRentStatus",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). status 1 finishes, 2 cancels. Errors: NO_ID_RENT, INCORECT_STATUS, CANT_CANCEL, INVALID_PHONE, ALREADY_FINISH, ALREADY_CANCEL, SERVER_ERROR."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "setRentStatusPost",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "description": "Rental id",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": true,
            "description": "1 finish, 2 cancel",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Finish or cancel a rental",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": {
                  "status": "success"
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "setRentStatus",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). status 1 finishes, 2 cancels. Errors: NO_ID_RENT, INCORECT_STATUS, CANT_CANCEL, INVALID_PHONE, ALREADY_FINISH, ALREADY_CANCEL, SERVER_ERROR. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/getContinueRentPriceNumber": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getContinueRentPriceNumber",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "description": "Rental id",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "rent_time",
            "in": "query",
            "required": false,
            "description": "Hours",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Rental extension price",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": {
                  "status": "error",
                  "message": "MAX_HOURS_EXCEED",
                  "info": {
                    "max": 0
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getContinueRentPriceNumber",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). Rentals cannot be extended: {\"status\":\"error\",\"message\":\"MAX_HOURS_EXCEED\",\"info\":{\"max\":0}}."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getContinueRentPriceNumberPost",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "description": "Rental id",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "rent_time",
            "in": "query",
            "required": false,
            "description": "Hours",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Rental extension price",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": {
                  "status": "error",
                  "message": "MAX_HOURS_EXCEED",
                  "info": {
                    "max": 0
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getContinueRentPriceNumber",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). Rentals cannot be extended: {\"status\":\"error\",\"message\":\"MAX_HOURS_EXCEED\",\"info\":{\"max\":0}}. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/continueRentNumber": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "continueRentNumber",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "description": "Rental id",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "rent_time",
            "in": "query",
            "required": false,
            "description": "Hours",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Extend a rental",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": {
                  "status": "error",
                  "message": "MAX_HOURS_EXCEED",
                  "info": {
                    "max": 0
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "continueRentNumber",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). Rentals cannot be extended: MAX_HOURS_EXCEED."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "continueRentNumberPost",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "description": "Rental id",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "rent_time",
            "in": "query",
            "required": false,
            "description": "Hours",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Extend a rental",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": {
                  "status": "error",
                  "message": "MAX_HOURS_EXCEED",
                  "info": {
                    "max": 0
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "continueRentNumber",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). Rentals cannot be extended: MAX_HOURS_EXCEED. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/getDomains": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getDomains",
        "parameters": [
          {
            "name": "site",
            "in": "query",
            "required": true,
            "description": "Target site",
            "schema": {
              "type": "string",
              "example": "telegram.com"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Email domains for a site",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": {
                  "status": "OK",
                  "response": {
                    "zones": [],
                    "popular": [
                      {
                        "name": "gmail.com",
                        "cost": 0.07,
                        "count": 15
                      }
                    ]
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getDomains",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). Popular domains with their lowest price and stock; zones are not sold."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getDomainsPost",
        "parameters": [
          {
            "name": "site",
            "in": "query",
            "required": true,
            "description": "Target site",
            "schema": {
              "type": "string",
              "example": "telegram.com"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Email domains for a site",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": {
                  "status": "OK",
                  "response": {
                    "zones": [],
                    "popular": [
                      {
                        "name": "gmail.com",
                        "cost": 0.07,
                        "count": 15
                      }
                    ]
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getDomains",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). Popular domains with their lowest price and stock; zones are not sold. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/buyMailActivation": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "buyMailActivation",
        "parameters": [
          {
            "name": "site",
            "in": "query",
            "required": true,
            "description": "Target site",
            "schema": {
              "type": "string",
              "example": "telegram.com"
            }
          },
          {
            "name": "mail_type",
            "in": "query",
            "required": true,
            "description": "2 (popular domain)",
            "schema": {
              "type": "integer",
              "example": 2
            }
          },
          {
            "name": "mail_domain",
            "in": "query",
            "required": true,
            "description": "Domain",
            "schema": {
              "type": "string",
              "example": "gmail.com"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Buy an email",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": {
                  "status": "OK",
                  "response": {
                    "email": "box@gmail.com",
                    "id": 241
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "buyMailActivation",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). mail_type=2 with a popular domain (mail_type=1 zones answers MAIL_TYPE_ERROR)."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "buyMailActivationPost",
        "parameters": [
          {
            "name": "site",
            "in": "query",
            "required": true,
            "description": "Target site",
            "schema": {
              "type": "string",
              "example": "telegram.com"
            }
          },
          {
            "name": "mail_type",
            "in": "query",
            "required": true,
            "description": "2 (popular domain)",
            "schema": {
              "type": "integer",
              "example": 2
            }
          },
          {
            "name": "mail_domain",
            "in": "query",
            "required": true,
            "description": "Domain",
            "schema": {
              "type": "string",
              "example": "gmail.com"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Buy an email",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": {
                  "status": "OK",
                  "response": {
                    "email": "box@gmail.com",
                    "id": 241
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "buyMailActivation",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). mail_type=2 with a popular domain (mail_type=1 zones answers MAIL_TYPE_ERROR). POST accepts the same query/form parameters."
      }
    },
    "/api/sms/checkMailActivation": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "checkMailActivation",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "description": "Email id",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Received letter",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": {
                  "status": "OK",
                  "response": {
                    "value": "4321"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "checkMailActivation",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). value is null until a letter arrives."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "checkMailActivationPost",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "description": "Email id",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Received letter",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": {
                  "status": "OK",
                  "response": {
                    "value": "4321"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "checkMailActivation",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). value is null until a letter arrives. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/cancelMailActivation": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "cancelMailActivation",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "description": "Email id",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Cancel an email",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": {
                  "status": "OK",
                  "response": true
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "cancelMailActivation",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). Refunds an email without letter."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "cancelMailActivationPost",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "description": "Email id",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Cancel an email",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": {
                  "status": "OK",
                  "response": true
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "cancelMailActivation",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). Refunds an email without letter. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/reorderMailActivation": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "reorderMailActivation",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "description": "Email id",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Reuse an email",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": {
                  "status": "OK",
                  "response": {
                    "email": "box@gmail.com",
                    "id": 242
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "reorderMailActivation",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). Buys the same address again."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "reorderMailActivationPost",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "description": "Email id",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Reuse an email",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": {
                  "status": "OK",
                  "response": {
                    "email": "box@gmail.com",
                    "id": 242
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "reorderMailActivation",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). Buys the same address again. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/getMailHistory": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getMailHistory",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Page from 1",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "required": false,
            "description": "Up to 25",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "search",
            "in": "query",
            "required": false,
            "description": "Search",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "asc or desc",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Email purchases",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": {
                  "status": "OK",
                  "response": {
                    "list": [
                      {
                        "id": "241",
                        "site": "telegram.com",
                        "email": "box@gmail.com",
                        "status": "3",
                        "value": "4321",
                        "cost": "0.07",
                        "date": "2026-10-18 12:00:00",
                        "full_message": ""
                      }
                    ],
                    "pages": 1,
                    "count": 1
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getMailHistory",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). status: 2 waiting, 3 letter received, 4 cancelled."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "getMailHistoryPost",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Page from 1",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "required": false,
            "description": "Up to 25",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "search",
            "in": "query",
            "required": false,
            "description": "Search",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "asc or desc",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Email purchases",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                },
                "example": {
                  "status": "OK",
                  "response": {
                    "list": [
                      {
                        "id": "241",
                        "site": "telegram.com",
                        "email": "box@gmail.com",
                        "status": "3",
                        "value": "4321",
                        "cost": "0.07",
                        "date": "2026-10-18 12:00:00",
                        "full_message": ""
                      }
                    ],
                    "pages": 1,
                    "count": 1
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "getMailHistory",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). status: 2 waiting, 3 letter received, 4 cancelled. POST accepts the same query/form parameters."
      }
    },
    "/api/sms/buyPartnerProduct": {
      "get": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "buyPartnerProduct",
        "parameters": [
          {
            "name": "productId",
            "in": "query",
            "required": false,
            "description": "Product id",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Partner software",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_DATA"
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "buyPartnerProduct",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). No partner software is sold: BAD_DATA."
      },
      "post": {
        "tags": [
          "SMS-Activate"
        ],
        "operationId": "buyPartnerProductPost",
        "parameters": [
          {
            "name": "productId",
            "in": "query",
            "required": false,
            "description": "Product id",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Partner software",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_DATA"
              }
            }
          },
          "403": {
            "description": "Invalid API key or access denied",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "BAD_KEY"
              }
            }
          }
        },
        "security": [
          {
            "apiKeyQuery": []
          }
        ],
        "summary": "buyPartnerProduct",
        "description": "SMS-Activate compatible action (sms-activate.tel/api2). No partner software is sold: BAD_DATA. POST accepts the same query/form parameters."
      }
    }
  },
  "webhooks": {
    "sms-incoming": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "operationId": "smsIncoming",
        "summary": "Webhook: incoming SMS",
        "description": "SIMUB sends an application/json POST to each configured customer URL after a new SMS is received for an account activation. Only HTTP 200 acknowledges receipt. There are 8 total delivery attempts per URL, with a 30-second delay after failure and a 3-second HTTP timeout; the retry window spans at least 3 minutes. Destinations are independent. Process messages asynchronously and return HTTP 200 for duplicates. Deduplicate by id (SMS identifier), not activationId. Delivery order is not guaranteed. Use a secret receiver URL path and keep it confidential. No SIMUB API key or signing header is sent. Configure URLs through your SIMUB profile or GET/PUT /api/v1/webhooks.",
        "security": [],
        "requestBody": {
          "description": "Incoming SMS notification sent to your server.",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SmsIncomingWebhook"
              },
              "example": {
                "activationId": "123456",
                "id": "804321",
                "phoneFrom": "89854",
                "service": "tg",
                "text": "Your code is 12345",
                "code": "12345",
                "country": 0,
                "receivedAt": "2026-10-06T10:30:00.000000Z"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The receiver accepted or already processed this SMS. No more retries for this URL."
          },
          "default": {
            "description": "Any other status, connection failure or timeout causes a retry, up to 8 total attempts for this URL."
          }
        }
      }
    }
  }
}
