OTP verification API
Postcoder OTP verification provides a user-friendly way to add an extra layer of protection to your services using SMS.
- Delivers UK SMS one-time passcodes
- No authenticator apps required
- Ideal for users with UK mobile phones
POST /pcw/PCW45-12345-12345-1234X/otp/send{ "to": "07500%20123456", "from": "Example.com" "message": "Your code is [otp]. It expires in 5 mins." "otplength": 6 "expiry": 5 }----{ "id": "OTP45-12345-12345-1234X" }POST /pcw/PCW45-12345-12345-1234X/otp/verify{ "id": "OTP45-12345-12345-1234X", "otp": "532132" }----{ "valid": true }
Your code is 532132.
It expires in 5 mins.




