🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Twilio

by @byungkyu

Twilio API integration with managed OAuth. SMS, voice calls, phone numbers, and communications. Use this skill when users want to send SMS messages, make voi...

πŸ’‘ Examples

# List all accounts
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/twilio/2010-04-01/Accounts.json')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

πŸ“‹ Tips & Best Practices

  • All endpoints require the /2010-04-01/ API version prefix
  • Most endpoints require your Account SID in the path
  • Request bodies use application/x-www-form-urlencoded format (not JSON)
  • Phone numbers must be in E.164 format (+15551234567)
  • SIDs are unique identifiers:
  • - Account SIDs start with AC - Message SIDs start with SM (SMS) or MM (MMS) - Call SIDs start with CA - Phone Number SIDs start with PN - Application SIDs start with AP - Queue SIDs start with QU
  • POST is used for both creating and updating resources
  • DELETE returns 204 No Content on success
  • IMPORTANT: When piping curl output to jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments
  • View on ClawHub
    TERMINAL
    clawhub install twilio-api

    πŸ§ͺ Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    πŸ” Can't find the right skill?

    Search 60,000+ AI agent skills β€” free, no login needed.

    Search Skills β†’