Artigos de Verification API & Security

Verification API & Security 1,458 Sending one-time codes (OTP) by SMS safely: expiry, attempt limits and logs The short answer (for developers): a code sent by SMS is only as safe as the code around it. The rules: generate it...
Verification API & Security 711 SMS verification API: we generate, send and check the code, and your system keeps only the id The short answer: with our verification API, your system does not have to create, store or compare codes. It sends...
Verification API & Security 937 Code length, validity and attempts: choosing length, expires_in and max_attempts The short answer: three fields decide how each code behaves: length (4 to 8 digits, 6 by default), expires_in (1 to...
Verification API & Security 693 Verification code statuses: pending, verified, expired, failed and cancelled The short answer: every code has a status, returned in the status field of every response: pending (waiting),...
Verification API & Security 703 Resending, cancelling and replacing a verification code: what happens to the old one The short answer: to send the customer another code, use POST /v1/sms/otp/{id}/resend: a new code goes out under the...
Verification API & Security 600 Limits against abuse: codes per number per hour and the wait between resends The short answer: your account has two rules for verification codes, and by default both are off (value 0):...
Verification API & Security 662 SMS fraud through your code form: how credits get burnt and how to stop it The short answer: to an abuser, a form that sends SMS codes is a button that spends your credits. Bots type numbers...
Verification API & Security 674 Testing SMS verification in the Sandbox: the code comes back in the response The short answer: with a sandbox_ key, the verification API does everything except send: it checks the data, creates...
Verification API & Security 1,036 Adding SMS verification to your site: PHP, Node.js and Python examples The short answer: it takes two POST requests with JSON and the key in the Authorization: Bearer header: one to...
Verification API & Security 832 Reading the verification API's answers: valid false, 409, 422 and 429 The short answer: in the verification API, a wrong code is not an error: the check answers 200 with valid: false....