All integrations

Twilio

Channel

Put your agent on a phone number: SMS and speech-transcribed calls.

Read the full channel docs

Install

Add this channel from eve's registry. This writes agent/channels/twilio.ts:

bash
eve add channel/twilio

Quick start

Create agent/channels/twilio.ts. allowFrom is required and gates who can reach the inbound hooks:

ts
// agent/channels/twilio.tsimport { twilioChannel } from "eve/channels/twilio";
export default twilioChannel({  allowFrom: "+15551234567",  messaging: { from: "+15557654321" },});
bash
TWILIO_ACCOUNT_SID=AC...   # required for default outbound SMSTWILIO_AUTH_TOKEN=...      # required for inbound signature verification

Configure

In the Twilio console, point your number's Messaging webhook at /eve/v1/twilio/messages and its Voice webhook at /eve/v1/twilio/voice. Inbound calls are answered with speech gathering, and the transcript feeds the same session SMS uses. See the Twilio channel docs for dispatch, streaming, and voice specifics.