Gets information about the phone number and text of the SMS message.
Request
GET https://api.bytehand.com/v2/sms/messages/probe
Parameters
Query Parameters | |
---|---|
phone | string Optional parameter. Phone number. |
text | string Optional parameter. Text |
transliterate | boolean Optional parameter. If true then translate text to Latin alphabet. Default false< /span>. |
Authorization
Does not require authorization and any specific access rights.
Response
Upon successful completion of the request, an object of type SmsProbe is returned.
Example
Request
GET https://api.bytehand.com/v2/sms/messages/probe?phone=89167654321
Response
Status Code: 200 Content-Type: application/json;charset=UTF-8 Cache-Control: no-cache, no-store, max-age=0, must-revalidate Pragma: no-cache { "phone_is_valid": true, "phone_e164": "+79167654321", "phone_country": "RU" }