Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

twilio-verify-send-otp

Skill by twilio

Sends and verifies one-time passcodes through Twilio Verify over SMS, voice, email or WhatsApp. Built for developers adding phone or email verification or two-factor authentication to an application.

  • Score 64
  • 44 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install twilio-verify-send-otp

Built from the published package, never by AI.

git clone --depth 1 https://github.com/twilio/ai /tmp/ai && mkdir -p ~/.claude/skills && cp -r /tmp/ai/skills/twilio/twilio-verify-send-otp ~/.claude/skills/twilio-verify-send-otp

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install twilio-verify-send-otp in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill teaches an assistant how to send and verify one-time passcodes with Twilio Verify. It covers creating a Verify Service, sending verification tokens over SMS, voice, email or WhatsApp, and checking submitted codes. It also covers automatic WhatsApp-to-SMS fallback and service configuration such as code length.

Verify handles code generation, expiry, rate limiting and Fraud Guard, so developers do not need to build those parts. The source says TOTP authenticator apps are supported through the separate Factors API. The skill also compares Verify with the Programmable Messaging API and lists common error codes and Console debugging steps. It is intended for adding phone or email verification or two-factor authentication to any application.

Written from the project's SKILL.md and checked against it.

What it can do

  • Create a Verify ServiceCreates a Verify Service with the Twilio SDK and stores its SID for reuse.
  • Send verification tokensSends a code over sms, call, email or whatsapp using the channel parameter.
  • Check submitted codesChecks a code against a verification and returns an approved or pending status.
  • WhatsApp with SMS fallbackEnables channel_configuration so an undelivered WhatsApp code falls back to SMS.
  • Service configurationSets options such as code_length, with 4 to 10 digits and a default of 6.
  • Debugging guidancePoints to Console > Verify > Logs and lists common error codes with fixes.

What you need

  • Twilio account
  • TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN environment variables
  • VERIFY_SERVICE_SID environment variable
  • Python with the twilio package or Node.js with the twilio package
  • Registered production WhatsApp sender for the WhatsApp channel

Try asking

  • Send a Verify SMS code to +15558675310 for my signup flow
  • Check whether the code 123456 is approved for this phone number
  • Set up a WhatsApp verification with SMS fallback enabled

Good to know

  • No built-in channel fallback, so retry logic such as SMS to voice must be written manually.
  • No webhook on verification completion, so the code must poll verification checks.
  • The code sent is never returned in any API response.
  • As of March 2024, Verify has no shared WhatsApp sender, and the WhatsApp OTP template cannot be customized.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/twilio/twilio-verify-send-otp/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to twilio-verify-send-otp

All alternatives →

Compare with setup-zoom-webhooks, baoyu-post-to-weibo or add-dial-number

twilio-verify-send-otp: common questions

Can Twilio Verify send one-time passcodes by WhatsApp?

Yes. Set the channel to whatsapp, but the source says a registered production WhatsApp sender is required because Twilio no longer provides a shared sender for Verify.

Does this skill support authenticator app TOTP codes?

The source says TOTP is supported through the Verify Factors API, which is a separate implementation from channel-based OTP.

How long is a Verify code valid?

The default time to live is 10 minutes. The source says it cannot be extended per verification and that changing the default requires contacting Twilio Support.

How do I install twilio-verify-send-otp?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is twilio-verify-send-otp free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is twilio-verify-send-otp safe to use?

It scores 64 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to twilio-verify-send-otp?

Similar skills: setup-zoom-webhooks, baoyu-post-to-weibo, add-dial-number, setup-zoom-websockets.

twilio-verify-send-otp Install

Add to stack

Loading.