Planning skill that interrogates your use case before any code is written, then recommends the right Twilio Conversations stack — ConversationRelay, Memory, Intelligence, Orchestrator, TaskRouter — and the implementation skills to follow.
Twilio Verify OTP Delivery
Summary
Add phone or email verification with Twilio Verify — send and check one-time passcodes over SMS, voice, email or WhatsApp, with built-in expiry, rate limiting and Fraud Guard rather than hand-rolled OTP plumbing.
Features
- Verify vs Programmable Messaging decision table with cost and compliance trade-offs
- Create a Verify Service, send tokens and check submitted codes across SMS, voice, email and WhatsApp
- Automatic WhatsApp-to-SMS fallback and RCS upgrade behaviour explained
- Fraud Guard, rate limiting and a debugging checklist for undelivered codes
Install This Skill
Add this skill to your favorite AI agent in a few steps.
Skill Content
Usage Instructions
Learn how to use this skill with different AI agents.
Description
One-time passcodes look trivial and are not: you need code generation, expiry, per-phone and per-service rate limits, fraud protection, delivery confirmation and a fallback when a channel fails. This skill covers the full lifecycle on Twilio Verify and — importantly — tells the agent when Verify is the wrong tool.
It opens with a side-by-side comparison of Twilio Verify against the raw Programmable Messaging API. Verify gives you code generation with a configurable ten-minute default expiry, built-in rate limiting, Fraud Guard with geo-permissions and rate-anomaly detection, exemption from A2P 10DLC registration, and one API across SMS, voice, email and WhatsApp — you change only the channel parameter. Programmable Messaging means building all of that yourself, and is justified only when you need full control of message content, custom delivery logic, or SMS Pumping Protection.
Two details the skill is careful about: RCS is not a channel value — Verify silently upgrades an sms verification to RCS where the device supports it and falls back to SMS — and TOTP for authenticator apps lives in the Verify Factors API, a separate family from channel-based OTP. It also covers automatic WhatsApp-to-SMS fallback, service configuration, and a debugging section for when codes do not arrive.
Part of Twilio's official Skills set, MIT-licensed in the twilio/ai repository. Twilio Skills are a Public Beta product and not covered by Twilio's support terms or SLA.
Related Skills
Foundational fal.ai skill that drives the genmedia CLI across 1200+ hosted generative model endpoints — smart routing, schema inspection, async queues and agent-parseable JSON.
Official AWS skill for authoring, deploying and debugging CDK stacks — construct patterns, bootstrap, drift, resource import and the CloudFormation errors that trap people.
The official Genkit skill for Node.js and TypeScript — flows, Dotprompt files, tools and the beta agent API with sessions, interrupts and branching.