| You make the code (recommended) | We make the code | |
|---|---|---|
| Calls | Send SMS | Send a verification code, then Check a verification code |
| The SMS text | Any text you write | The 4-digit code alone |
| Who checks the code | You do | We do |
| Best for | Your own wording, your brand in the text, your own code length and rules | A quick first test |
sms_type set to T, which is the price plan for one-time codes:{"message_id": 1284417, "status": "S", "remarks": "Message submitted successfully", "uid": "login-8841",
"client_costs": [{"phonenumber": "+37491234567", "cost": 0.021}]}status is F, nothing was sent and remarks says why: see Refusal reasons.{"verification_id": 7731, "status": "S", "remarks": "Verification code sent successfully"}verification_id in the person's session. If status is F, nothing was sent and remarks says why.verfication_id and verfication_code in this call, and the code is sent as a{"verfication_id": 7731, "status": "V", "remarks": "Verification Code is Verified"}V means the code is right. F means the check failed. If a person is sure the code is right and the checkF, send them a new code.Retry-After and send again. See Limits.