Use phoneNumber for a single Twilio number, or messagingServiceSid when sending through a Twilio Messaging Service.
Typing indicators
WhatsApp and RCS conversations can show a typing indicator via thread.startTyping(). Twilio's v3 Indicators API uses one URL with channel-specific JSON:
On WhatsApp, Twilio also marks the referenced message as read. Phone-number threads are SMS and never send typing. Messaging Service (MG…) threads send RCS typing only when rcsSenderId is set and the thread has an inbound message; rcs: threads always do. If Twilio rejects the request, the adapter logs a warning instead of throwing. Set messagingApiUrl (or apiUrl) to point typing requests at a proxy or emulator.
Media
Inbound MMS media is exposed as attachments. Twilio media URLs are private, so attachments include fetchData() for authenticated downloads.
Outbound MMS supports attachments with public url values. Chat SDK cannot upload binary files to Twilio because Twilio's Messages API requires media URLs that Twilio can fetch.
Templates
Cards create Content API templates on demand for RCS senders only. To send a template on any channel, such as an approved WhatsApp template, pass its ContentSid to sendTemplate:
WhatsApp templates need a whatsapp: sender or a Messaging Service with a WhatsApp sender. Quick-reply taps on templates sent this way are not decoded as Chat SDK actions: taps that carry a message body arrive as regular messages, and taps without one reach onAction with the raw ButtonPayload as actionId.
Low-level helpers
Runtime-light api, format, voice, and webhook subpaths are available for apps that only need Twilio primitives. These subpaths do not import the full Chat SDK adapter or the twilio npm package.
Voice
Voice calls are exposed as low-level helpers, not routed through the SMS/MMS adapter. Use @chat-adapter/twilio/voice with @chat-adapter/twilio/webhook when your app owns the voice route and wants reusable TwiML or call-update helpers.
Custom voice routes should verify the Twilio signature and apply your own caller allow-list before returning TwiML.
AI Coding Agents
If you use an AI coding agent such as OpenAI Codex, Claude Code, or Cursor, install the Chat SDK skill so it knows the SDK APIs, adapter patterns, and project conventions before writing code.
npx skills add vercel/chat
The skill references bundled documentation in node_modules/chat/docs, plus adapter guides and starter templates in the published package.
You can also install the Vercel Plugin for a broader agent toolkit — it includes the Chat SDK skill alongside specialist agents, agent slash commands, and more:
npx plugins add vercel/vercel-plugin
The plugin is optional; the skill alone is enough to build with Chat SDK.