All integrations

Twilio

Channel

Reach users over SMS and WhatsApp through Twilio.

Read the full channel docs

Install

Install the framework:

bash
npm install eve@latest

Quick start

Create agent/channels/twilio.ts:

ts
// agent/channels/twilio.tsimport { twilioChannel } from "eve/channels/twilio";
export default twilioChannel({  accountSid: () => process.env.TWILIO_ACCOUNT_SID!,  authToken: () => process.env.TWILIO_AUTH_TOKEN!,});

Configure

In the Twilio console, point your messaging service or phone number webhook at eve's route (/eve/v1/twilio). Provide the account SID and auth token via environment variables. See the for SMS vs. WhatsApp specifics.