DOCS
Send OTP
Send an OTP to a user's phone number.
Use this endpoint to send a one-time password (OTP) to a user's phone number.
Phone numbers must be in **E.164 format**.
**Request fields**
- `phone` *(required)* — User phone number in E.164 format
- `channel` — sms (default)
bash
curl -X POST https://sandbox.api.trustdigits.io/v1/otp/send
-H "Authorization: Bearer YOUR_API_KEY"
-H "Content-Type: application/json"
-d '{"phone": "+6591234567"}'