{"openapi":"3.1.0","info":{"title":"beast-sms.com API","version":"1.0.0","description":"Use the beast-sms.com API to automate number purchases and SMS retrieval. All requests go to api.beast-sms.com over HTTPS and are authenticated with an api_key.\n\nA new beast-sms.com account has no API access yet: calls are answered with BAD_KEY until the first top-up is credited. After that the key starts working at once, and refunds do not switch it off. Support can open access earlier on request.\n\nBANNED means the account may not buy numbers until a given time. The time is UTC, in quotes after the colon in text replies and in info.until, as ISO 8601, in JSON replies with HTTP 403. You can still read statuses, cancel and check the balance meanwhile.\n\nA running activation reads STATUS_WAIT_CODE or STATUS_WAIT_RETRY, a successful one STATUS_OK:<code>, and a cancelled or refunded one STATUS_CANCEL. Stop polling after STATUS_OK or STATUS_CANCEL."},"servers":[{"url":"https://api.beast-sms.com"}],"paths":{"/stubs/handler_api.php?action=getNumber":{"get":{"operationId":"getNumber","summary":"getNumber","description":"Buys a number for a service and a country. The reply is a single line with the activation id and the phone number.","parameters":[{"name":"api_key","in":"query","required":true,"schema":{"type":"string"},"description":"Your API key."},{"name":"action","in":"query","required":true,"schema":{"type":"string","enum":["getNumber"]}},{"name":"service","in":"query","required":true,"schema":{"type":"string"},"description":"Service code, lowercase latin letters, for example tg."},{"name":"country","in":"query","required":true,"schema":{"type":"string"},"description":"Numeric country code."},{"name":"multiple","in":"query","required":false,"schema":{"type":"string"},"description":"Ask for a number that can receive several SMS: 1, 0, true or false."},{"name":"maxPrice","in":"query","required":false,"schema":{"type":"string"},"description":"Highest price you accept, in USD with up to four decimals."},{"name":"providerIds","in":"query","required":false,"schema":{"type":"string"},"description":"Comma-separated provider ids to buy from, up to 50."},{"name":"exceptProviderIds","in":"query","required":false,"schema":{"type":"string"},"description":"Comma-separated provider ids to avoid, up to 50."},{"name":"activationType","in":"query","required":false,"schema":{"type":"string"},"description":"Activation type, 0 for SMS."},{"name":"fixedPrice","in":"query","required":false,"schema":{"type":"string"},"description":"Set to 1 to buy only at exactly maxPrice."},{"name":"ref","in":"query","required":false,"schema":{"type":"string"},"description":"Free text label of your own that is stored with the purchase."}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Plain text reply","content":{"text/plain":{"schema":{"type":"string"},"example":"ACCESS_NUMBER:1767935837:75555061241"}}}},"tags":["Activations"]}},"/stubs/handler_api.php?action=getNumberV2":{"get":{"operationId":"getNumberV2","summary":"getNumberV2","description":"Orders a number and answers with JSON: activation id, phone number, price, timers and country.","parameters":[{"name":"api_key","in":"query","required":true,"schema":{"type":"string"},"description":"Your API key."},{"name":"action","in":"query","required":true,"schema":{"type":"string","enum":["getNumberV2"]}},{"name":"service","in":"query","required":true,"schema":{"type":"string"},"description":"Service code, lowercase latin letters, for example tg."},{"name":"country","in":"query","required":true,"schema":{"type":"string"},"description":"Numeric country code."},{"name":"multiple","in":"query","required":false,"schema":{"type":"string"},"description":"Ask for a number that can receive several SMS: 1, 0, true or false."},{"name":"maxPrice","in":"query","required":false,"schema":{"type":"string"},"description":"Highest price you accept, in USD with up to four decimals."},{"name":"providerIds","in":"query","required":false,"schema":{"type":"string"},"description":"Comma-separated provider ids to buy from, up to 50."},{"name":"exceptProviderIds","in":"query","required":false,"schema":{"type":"string"},"description":"Comma-separated provider ids to avoid, up to 50."},{"name":"activationType","in":"query","required":false,"schema":{"type":"string"},"description":"Activation type, 0 for SMS."},{"name":"fixedPrice","in":"query","required":false,"schema":{"type":"string"},"description":"Set to 1 to buy only at exactly maxPrice."},{"name":"ref","in":"query","required":false,"schema":{"type":"string"},"description":"Free text label of your own that is stored with the purchase."},{"name":"requestId","in":"query","required":false,"schema":{"type":"string"},"description":"Idempotency key, 8-64 characters. A repeat with the same value returns the same activation."}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"JSON reply","content":{"application/json":{"schema":{"type":"object"}}}}},"tags":["Activations"]}},"/stubs/handler_api.php?action=getStatus":{"get":{"operationId":"getStatus","summary":"getStatus","description":"Reads the state of an activation by id. A cancelled or refunded activation answers STATUS_CANCEL. Safe to call repeatedly within your rate limit.","parameters":[{"name":"api_key","in":"query","required":true,"schema":{"type":"string"},"description":"Your API key."},{"name":"action","in":"query","required":true,"schema":{"type":"string","enum":["getStatus"]}},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Activation id returned by the purchase call."},{"name":"full_text","in":"query","required":false,"schema":{"type":"string"},"description":"Set to 1 to receive the whole SMS text instead of the code."}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Plain text reply","content":{"text/plain":{"schema":{"type":"string"},"example":"STATUS_OK:843494"}}}},"tags":["Activations"]}},"/stubs/handler_api.php?action=getStatusV2":{"get":{"operationId":"getStatusV2","summary":"getStatusV2","description":"Returns the state of an activation as JSON, including the SMS code and the full SMS text when available.","parameters":[{"name":"api_key","in":"query","required":true,"schema":{"type":"string"},"description":"Your API key."},{"name":"action","in":"query","required":true,"schema":{"type":"string","enum":["getStatusV2"]}},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Activation id returned by the purchase call."}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"JSON reply","content":{"application/json":{"schema":{"type":"object"}}}}},"tags":["Activations"]}},"/stubs/handler_api.php?action=getFullSms":{"get":{"operationId":"getFullSms","summary":"getFullSms","description":"Gives the complete message text for an activation as plain text, or STATUS_WAIT_CODE and STATUS_CANCEL when there is no text.","parameters":[{"name":"api_key","in":"query","required":true,"schema":{"type":"string"},"description":"Your API key."},{"name":"action","in":"query","required":true,"schema":{"type":"string","enum":["getFullSms"]}},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Activation id returned by the purchase call."}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Plain text reply","content":{"text/plain":{"schema":{"type":"string"}}}}},"tags":["Activations"]}},"/stubs/handler_api.php?action=setStatus":{"get":{"operationId":"setStatus","summary":"setStatus","description":"Sends a command for an activation. Cancelling before the cancellation window opens is refused.","parameters":[{"name":"api_key","in":"query","required":true,"schema":{"type":"string"},"description":"Your API key."},{"name":"action","in":"query","required":true,"schema":{"type":"string","enum":["setStatus"]}},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Activation id returned by the purchase call."},{"name":"status","in":"query","required":true,"schema":{"type":"string"},"description":"Command: 1 number is ready, 3 request another SMS, 6 finish, 8 cancel."}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Plain text reply","content":{"text/plain":{"schema":{"type":"string"},"example":"ACCESS_CANCEL"}}}},"tags":["Activations"]}},"/stubs/handler_api.php?action=setStatusV2":{"get":{"operationId":"setStatusV2","summary":"setStatusV2","description":"JSON variant of setStatus: ready, another SMS, finish or cancel.","parameters":[{"name":"api_key","in":"query","required":true,"schema":{"type":"string"},"description":"Your API key."},{"name":"action","in":"query","required":true,"schema":{"type":"string","enum":["setStatusV2"]}},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Activation id returned by the purchase call."},{"name":"status","in":"query","required":true,"schema":{"type":"string"},"description":"Command: 1 number is ready, 3 request another SMS, 6 finish, 8 cancel."}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"JSON reply","content":{"application/json":{"schema":{"type":"object"}}}}},"tags":["Activations"]}},"/stubs/handler_api.php?action=getActiveActivations":{"get":{"operationId":"getActiveActivations","summary":"getActiveActivations","description":"Returns your activations that are still running, newest first.","parameters":[{"name":"api_key","in":"query","required":true,"schema":{"type":"string"},"description":"Your API key."},{"name":"action","in":"query","required":true,"schema":{"type":"string","enum":["getActiveActivations"]}},{"name":"start","in":"query","required":false,"schema":{"type":"string"},"description":"Number of rows to skip."},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"Page size, 1-100."}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"JSON reply","content":{"application/json":{"schema":{"type":"object"}}}}},"tags":["Activations"]}},"/stubs/handler_api.php?action=getHistory":{"get":{"operationId":"getHistory","summary":"getHistory","description":"Activation history in JSON for up to 31 days, filtered by status if you need it.","parameters":[{"name":"api_key","in":"query","required":true,"schema":{"type":"string"},"description":"Your API key."},{"name":"action","in":"query","required":true,"schema":{"type":"string","enum":["getHistory"]}},{"name":"from","in":"query","required":false,"schema":{"type":"string"},"description":"Start of the window: unix seconds or ISO 8601. Default is 24 hours before to."},{"name":"to","in":"query","required":false,"schema":{"type":"string"},"description":"End of the window: unix seconds or ISO 8601. Default is now. The window is at most 31 days."},{"name":"status","in":"query","required":false,"schema":{"type":"string"},"description":"Comma-separated activation statuses to keep: 1 waiting, 2 code received, 3 waiting next SMS, 6 completed, 7 refunded, 8 cancelled."},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"Page size, 1-100."},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"The nextCursor value of the previous page."}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"JSON reply","content":{"application/json":{"schema":{"type":"object"}}}}},"tags":["Activations"]}},"/stubs/handler_api.php?action=getPrices":{"get":{"operationId":"getPrices","summary":"getPrices","description":"Lists the current price and the number of available numbers for each country and service pair.","parameters":[{"name":"api_key","in":"query","required":true,"schema":{"type":"string"},"description":"Your API key."},{"name":"action","in":"query","required":true,"schema":{"type":"string","enum":["getPrices"]}},{"name":"service","in":"query","required":false,"schema":{"type":"string"},"description":"Service code, lowercase latin letters, for example tg."},{"name":"country","in":"query","required":false,"schema":{"type":"string"},"description":"Numeric country code."}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Plain text reply","content":{"text/plain":{"schema":{"type":"string"},"example":"{\"6\":{\"tg\":{\"cost\":\"0.1600\",\"count\":120}}}"}}}},"tags":["Prices and stock"]}},"/stubs/handler_api.php?action=getFreePrices":{"get":{"operationId":"getFreePrices","summary":"getFreePrices","description":"Returns price tiers with cumulative stock for each country and service pair.","parameters":[{"name":"api_key","in":"query","required":true,"schema":{"type":"string"},"description":"Your API key."},{"name":"action","in":"query","required":true,"schema":{"type":"string","enum":["getFreePrices"]}},{"name":"service","in":"query","required":false,"schema":{"type":"string"},"description":"Service code, lowercase latin letters, for example tg."},{"name":"country","in":"query","required":false,"schema":{"type":"string"},"description":"Numeric country code."}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Plain text reply","content":{"text/plain":{"schema":{"type":"string"}}}}},"tags":["Prices and stock"]}},"/stubs/handler_api.php?action=getPricesV3":{"get":{"operationId":"getPricesV3","summary":"getPricesV3","description":"Returns prices with the providers that sell each pair, so you can pin or exclude providers.","parameters":[{"name":"api_key","in":"query","required":true,"schema":{"type":"string"},"description":"Your API key."},{"name":"action","in":"query","required":true,"schema":{"type":"string","enum":["getPricesV3"]}},{"name":"service","in":"query","required":true,"schema":{"type":"string"},"description":"Service code, lowercase latin letters, for example tg."},{"name":"country","in":"query","required":true,"schema":{"type":"string"},"description":"Numeric country code."}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"JSON reply","content":{"application/json":{"schema":{"type":"object"}}}}},"tags":["Prices and stock"]}},"/stubs/handler_api.php?action=getOffers":{"get":{"operationId":"getOffers","summary":"getOffers","description":"A compact offers table for the requested services and countries, in JSON.","parameters":[{"name":"api_key","in":"query","required":true,"schema":{"type":"string"},"description":"Your API key."},{"name":"action","in":"query","required":true,"schema":{"type":"string","enum":["getOffers"]}},{"name":"services","in":"query","required":false,"schema":{"type":"string"},"description":"Comma-separated service codes."},{"name":"countries","in":"query","required":false,"schema":{"type":"string"},"description":"Comma-separated numeric country codes."}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"JSON reply","content":{"application/json":{"schema":{"type":"object"}}}}},"tags":["Prices and stock"]}},"/stubs/handler_api.php?action=getTopCountriesByService":{"get":{"operationId":"getTopCountriesByService","summary":"getTopCountriesByService","description":"Shows where a service has the best stock and what it costs there.","parameters":[{"name":"api_key","in":"query","required":true,"schema":{"type":"string"},"description":"Your API key."},{"name":"action","in":"query","required":true,"schema":{"type":"string","enum":["getTopCountriesByService"]}},{"name":"service","in":"query","required":true,"schema":{"type":"string"},"description":"Service code, lowercase latin letters, for example tg."},{"name":"freePrice","in":"query","required":false,"schema":{"type":"string"},"description":"Set to true to include price tiers in every row."}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Plain text reply","content":{"text/plain":{"schema":{"type":"string"}}}}},"tags":["Prices and stock"]}},"/stubs/handler_api.php?action=getNumbersStatus":{"get":{"operationId":"getNumbersStatus","summary":"getNumbersStatus","description":"A flat map of service codes to available quantities for a country.","parameters":[{"name":"api_key","in":"query","required":true,"schema":{"type":"string"},"description":"Your API key."},{"name":"action","in":"query","required":true,"schema":{"type":"string","enum":["getNumbersStatus"]}},{"name":"country","in":"query","required":true,"schema":{"type":"string"},"description":"Numeric country code."}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Plain text reply","content":{"text/plain":{"schema":{"type":"string"}}}}},"tags":["Prices and stock"]}},"/stubs/handler_api.php?action=getServiceNumbersCount":{"get":{"operationId":"getServiceNumbersCount","summary":"getServiceNumbersCount","description":"Returns, for one service, the quantity of numbers available in each country.","parameters":[{"name":"api_key","in":"query","required":true,"schema":{"type":"string"},"description":"Your API key."},{"name":"action","in":"query","required":true,"schema":{"type":"string","enum":["getServiceNumbersCount"]}},{"name":"service","in":"query","required":true,"schema":{"type":"string"},"description":"Service code, lowercase latin letters, for example tg."}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Plain text reply","content":{"text/plain":{"schema":{"type":"string"}}}}},"tags":["Prices and stock"]}},"/stubs/handler_api.php?action=getBalance":{"get":{"operationId":"getBalance","summary":"getBalance","description":"Returns the account balance in USD with four decimal places.","parameters":[{"name":"api_key","in":"query","required":true,"schema":{"type":"string"},"description":"Your API key."},{"name":"action","in":"query","required":true,"schema":{"type":"string","enum":["getBalance"]}},{"name":"format","in":"query","required":false,"schema":{"type":"string"},"description":"Set to json to receive a JSON reply where the method supports it."}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Plain text reply","content":{"text/plain":{"schema":{"type":"string"},"example":"ACCESS_BALANCE:12.3400"}}}},"tags":["Reference and account"]}},"/stubs/handler_api.php?action=getServicesList":{"get":{"operationId":"getServicesList","summary":"getServicesList","description":"Service catalogue in JSON: codes to use in purchase calls and display names.","parameters":[{"name":"api_key","in":"query","required":true,"schema":{"type":"string"},"description":"Your API key."},{"name":"action","in":"query","required":true,"schema":{"type":"string","enum":["getServicesList"]}},{"name":"country","in":"query","required":false,"schema":{"type":"string"},"description":"Numeric country code."},{"name":"lang","in":"query","required":false,"schema":{"type":"string"},"description":"Language of names: en or ru."}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"JSON reply","content":{"application/json":{"schema":{"type":"object"}}}}},"tags":["Reference and account"]}},"/stubs/handler_api.php?action=getCountries":{"get":{"operationId":"getCountries","summary":"getCountries","description":"Country catalogue in JSON: numeric codes to use in purchase calls and display names.","parameters":[{"name":"api_key","in":"query","required":true,"schema":{"type":"string"},"description":"Your API key."},{"name":"action","in":"query","required":true,"schema":{"type":"string","enum":["getCountries"]}}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"JSON reply","content":{"application/json":{"schema":{"type":"object"}}}}},"tags":["Reference and account"]}},"/stubs/handler_api.php?action=getProviders":{"get":{"operationId":"getProviders","summary":"getProviders","description":"Lists provider ids you can pin or exclude when buying, with simple quality indicators.","parameters":[{"name":"api_key","in":"query","required":true,"schema":{"type":"string"},"description":"Your API key."},{"name":"action","in":"query","required":true,"schema":{"type":"string","enum":["getProviders"]}},{"name":"service","in":"query","required":false,"schema":{"type":"string"},"description":"Service code, lowercase latin letters, for example tg."},{"name":"country","in":"query","required":false,"schema":{"type":"string"},"description":"Numeric country code."}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Plain text reply","content":{"text/plain":{"schema":{"type":"string"}}}}},"tags":["Reference and account"]}}},"components":{"securitySchemes":{"apiKey":{"type":"apiKey","in":"query","name":"api_key"}},"x-errors":[{"codes":["BAD_ACTION"],"textToken":"BAD_ACTION","textForm":"BAD_ACTION","textHttp":200,"jsonTitles":["BAD_ACTION"],"jsonHttp":200,"details":"The method is not supported"},{"codes":["BAD_COUNTRY"],"textToken":"BAD_COUNTRY","textForm":"BAD_COUNTRY","textHttp":200,"jsonTitles":["BAD_COUNTRY"],"jsonHttp":200,"details":"This country cannot be ordered"},{"codes":["BAD_KEY","API_DISABLED","USER_BLOCKED"],"textToken":"BAD_KEY","textForm":"BAD_KEY","textHttp":401,"jsonTitles":["BAD_KEY"],"jsonHttp":401,"details":"The supplied api_key was not accepted"},{"codes":["BAD_SERVICE","MIN_TOPUP_REQUIRED"],"textToken":"BAD_SERVICE","textForm":"BAD_SERVICE","textHttp":200,"jsonTitles":["BAD_SERVICE"],"jsonHttp":200,"details":"This service cannot be ordered"},{"codes":["BAD_STATUS"],"textToken":"BAD_STATUS","textForm":"BAD_STATUS","textHttp":200,"jsonTitles":["BAD_STATUS"],"jsonHttp":200,"details":"Status change is not applicable"},{"codes":["ACCOUNT_RESTRICTED"],"textToken":"BANNED","textForm":"BANNED:'<until, UTC>'","textHttp":200,"jsonTitles":["BANNED"],"jsonHttp":403,"details":"The account is temporarily limited from buying numbers"},{"codes":["EARLY_CANCEL_DENIED"],"textToken":"EARLY_CANCEL_DENIED","textForm":"EARLY_CANCEL_DENIED","textHttp":200,"jsonTitles":["EARLY_CANCEL_DENIED"],"jsonHttp":409,"details":"Cancellation is not allowed yet"},{"codes":["OVERLOADED"],"textToken":"ERROR_SQL","textForm":"ERROR_SQL","textHttp":503,"jsonTitles":["INTERNAL_ERROR"],"jsonHttp":503,"details":"Internal problem, repeat the request later"},{"codes":["INTERNAL_ERROR","TRY_LATER"],"textToken":"ERROR_SQL","textForm":"ERROR_SQL","textHttp":200,"jsonTitles":["INTERNAL_ERROR","TRY_LATER"],"jsonHttp":503,"details":"Internal problem, repeat the request later / The result is not confirmed yet, please try again"},{"codes":["NO_BALANCE"],"textToken":"NO_BALANCE","textForm":"NO_BALANCE","textHttp":200,"jsonTitles":["NO_BALANCE"],"jsonHttp":402,"details":"Top up the balance to place this order"},{"codes":["SALES_PAUSED","GEO_RESTRICTED","NO_NUMBERS","NO_STOCK","EXCLUSIVE_ONLY","PRICE_BELOW_COST"],"textToken":"NO_NUMBERS","textForm":"NO_NUMBERS","textHttp":200,"jsonTitles":["NO_NUMBERS"],"jsonHttp":200,"details":"No numbers are available right now"},{"codes":["NO_PROVIDERS"],"textToken":"NO_PROVIDERS","textForm":"NO_PROVIDERS","textHttp":200,"jsonTitles":["NO_PROVIDERS"],"jsonHttp":200,"details":"None of the chosen providers can serve the request"},{"codes":["NO_ACTIVATION"],"textToken":"NO_ACTIVATION","textForm":"NO_ACTIVATION","textHttp":200,"jsonTitles":["NOT_FOUND"],"jsonHttp":404,"details":"Activation was not found for this account"},{"codes":["PURCHASE_IN_PROGRESS"],"textToken":null,"textForm":null,"textHttp":null,"jsonTitles":["PURCHASE_IN_PROGRESS"],"jsonHttp":409,"details":"A purchase with this requestId is still being processed"},{"codes":["SMS_RECEIVED"],"textToken":"STATUS_OK","textForm":"STATUS_OK:<code>","textHttp":200,"jsonTitles":["SMS_RECEIVED"],"jsonHttp":409,"details":"Code received, cancelling is no longer possible"},{"codes":["RATE_LIMITED"],"textToken":"TOO_MANY_REQUESTS","textForm":"TOO_MANY_REQUESTS","textHttp":429,"jsonTitles":["TOO_MANY_REQUESTS"],"jsonHttp":429,"details":"Request rate limit exceeded, slow down"},{"codes":["BAD_PARAMS"],"textToken":"BAD_ACTION","textForm":"BAD_<FIELD>","textHttp":200,"jsonTitles":["UNPROCESSABLE_ENTITY"],"jsonHttp":422,"details":null},{"codes":["WRONG_MAX_PRICE"],"textToken":"WRONG_MAX_PRICE","textForm":"WRONG_MAX_PRICE:<min>","textHttp":200,"jsonTitles":["WRONG_MAX_PRICE"],"jsonHttp":400,"details":"maxPrice is lower than the minimum sale price"}]},"webhooks":{"incomingSms":{"post":{"summary":"Incoming SMS","description":"Sign the raw body bytes with HMAC-SHA256 and your secret and compare the hex digest with X-Signature without short-circuiting. Accept X-Signature-Previous too during the 24 hour rotation window. Drop deliveries whose sentAt is more than 5 minutes old.","parameters":[{"name":"X-Signature","in":"header","required":true,"schema":{"type":"string"}},{"name":"X-Signature-Previous","in":"header","required":false,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["activationId","service","text","code","country","receivedAt","smsId","deliveryId","sentAt"],"properties":{"activationId":{"type":"string","examples":["1767935837"]},"service":{"type":"string","examples":["tg"]},"text":{"type":"string"},"code":{"type":"string","examples":["843494"]},"country":{"type":"integer"},"receivedAt":{"type":"string","format":"date-time"},"smsId":{"type":"string","examples":["1767935837-1"]},"deliveryId":{"type":"string"},"sentAt":{"type":"string","format":"date-time"},"test":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Any 2xx status confirms the delivery."}}}}}}