twilio
由 codedao12 提供
Coding Agents & IDEs简介
OpenClaw skill for Twilio APIs: Messaging, WhatsApp, Voice, Conversations, Verify, plus Studio, Lookup, Proxy.
描述
该技能的功能
Covers Twilio's communication APIs including SMS, MMS, WhatsApp, Voice, Verify, and Conversations. Works through direct HTTPS requests rather than SDK wrappers. Also includes Studio, Lookup, Proxy, Sync, TaskRouter, and Segment/Engage surfaces.
Direct HTTP request patterns give you full control over request/response handling without SDK abstraction layers that hide rate limits, error codes, or webhook validation logic.
何时使用
- Send OTP codes for login verification
- Automate appointment reminder SMS campaigns
- Build IVR phone trees for customer support
- Mask phone numbers between buyers and sellers
- Route inbound calls to available agents
示例工作流
User asks: send an OTP to a user's phone number and verify the code they enter
- 1
Look up the Twilio Verify reference to get the correct endpoint and parameters
- 2
Construct a POST request to /v2/Services/{ServiceSid}/Verifications with the phone number and channel=sms
- 3
Send the request using the Account SID and Auth Token for basic auth
- 4
Construct a POST request to /v2/Services/{ServiceSid}/VerificationCheck with the entered code
- 5
Return the verification status from the response body
Verification status confirming whether the user-entered code matched
前置要求
- Twilio account (twilio.com)
- Account SID and Auth Token (or API Key and Secret)
- Twilio phone number or Messaging Service SID
- Webhook endpoint URL accessible from the public internet
安装
clawhub install codedao12/twilio运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。