twilio-whatsapp-send-message

Explains WhatsApp messaging rules, sandbox setup, and template workflows for the Twilio API.

5.3k|765|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/openai/plugins --skill twilio-whatsapp-send-message
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: twilio-whatsapp-send-message
Source: https://github.com/openai/plugins/tree/main/plugins/twilio-developer-kit/skills/twilio-whatsapp-send-message
Command: npx skills add https://github.com/openai/plugins --skill twilio-whatsapp-send-message

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires twilio.

What problem does it solve?

WhatsApp messaging through Twilio has unique rules — the 24-hour service window, template approval requirements, and sandbox limitations — that cause silent delivery failures when misunderstood. This Skill provides the reference knowledge needed to set up WhatsApp correctly and debug delivery issues.

Core Features & Use Cases

  • 24-Hour Window Rules: Explains when free-form messages are allowed versus when approved templates with contentSid are required.
  • Sandbox and Production Setup: Covers sandbox join codes for testing and the requirements for registering a production WhatsApp Business sender.
  • Error Diagnosis: Maps common WhatsApp error codes like 63003, 63018, and 63020 to their causes and fixes.
  • Use Case: You are integrating WhatsApp notifications into an order system and your free-form messages silently fail outside the service window. Use this Skill to understand the window rules and switch to an approved template message.

Quick Start

Explain why my Twilio WhatsApp message is not being delivered and whether I need to use a template instead of free-form text.

Frequently Asked Questions about twilio-whatsapp-send-message

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I send a WhatsApp message with the Twilio API?

Use client.messages.create with from and to numbers prefixed with whatsapp:+E.164 and a body parameter. For messages outside the 24-hour window, pass contentSid and contentVariables referencing an approved template instead of body.

What is the WhatsApp 24-hour service window in Twilio?

The 24-hour window allows free-form messages only within 24 hours of the user's last inbound message. Outside that window you must send an approved template message, otherwise the free-form message fails silently.

How do I test WhatsApp messages in the Twilio sandbox?

Join the sandbox by texting join <your-code> to +14155238886, then send messages from the sandbox sender. Sandbox participants must re-join every 3 days, and trial accounts are limited to 50 messages per day.

Why is my Twilio WhatsApp message not being delivered?

Common causes include sending free-form outside the 24-hour window, an invalid destination number (error 63003), exceeding the 80 messages-per-second rate limit (63018), or the business not accepting Twilio's Meta invitation (63020).

Can I send media files through Twilio WhatsApp?

Yes, media attachments up to 16 MB are supported in free-form mode by passing mediaUrl with a publicly accessible URL. Template messages do not support ad-hoc mediaUrl attachments in the same way.

What are the rate limits for Twilio WhatsApp messaging?

The default limit is 80 messages per second per sender, which can be raised to 400 MPS for text-only traffic on request. Undelivered queued messages fail after 4 hours, and the sandbox throttles to 1 message per 3 seconds.