POST https://api.authy.com/protected/json/phones/verification/start
When... | Example... | Error code | Response is... |
---|---|---|---|
all is well | { "country_code": "84", "phone_number": "0866742932", "via" : "sms" } |
{ "carrier": "Viettel Mobile", "is_cellphone": true, "message": "Text message sent to +84 86-674-2932.", "seconds_to_expire": 599, "uuid": "b07107c0-47be-0137-910b-0a4259707972", "success": true } |
|
parameter missing | { "phone_number": "0866742932", "via" : "sms"} | 60004 | { "error_code": "60004", "message": "Invalid parameter: country_code - Parameter is required", "errors": { "message": "Invalid parameter: country_code - Parameter is required" }, "success": false} |