Send OTP
Issue one-time passcodes to end users.
POST
/api/send/otp
Send an OTP
POST /api/send/otp creates a time-limited OTP and sends it.
Request
POST
/api/send/otp
curl -X POST https://textpro.co.uk/api/send/otp \
-H "X-API-KEY: tp_live_xxx" \
-H "Content-Type: application/json" \
-d '{"to":"+447000000000"}'
Response
200
OK
{
"success": true
}