Your first OTP
Wavi picks the channel for you. Today that always means SMS; when WhatsApp goes live, high-reachability users will get it automatically — no code changes.
Send
curl https://api.waviafrica.com/v1/otp \ -H "Authorization: Bearer wavi_live_..." \ -d '{"to": "+256700000000", "purpose": "login"}'Verify
curl https://api.waviafrica.com/v1/otp/verify \ -H "Authorization: Bearer wavi_live_..." \ -d '{"to": "+256700000000", "code": "123456", "purpose": "login"}'