---
title: "Twilio"
description: "Scoped Twilio credentials for AI agents"
url: "https://gazebohq.com/services/twilio"
---

Twilio powers SMS notifications, voice calls, and messaging workflows for AI agents — from appointment reminders to two-factor authentication to outbound sales sequences. Every agent that sends a message or initiates a call needs Twilio credentials. Gazebo scopes that access per agent and logs every retrieval.

## Why should AI agents use scoped Twilio credentials?

A shared Twilio account SID and auth token across agents means any agent can send messages to any number, make calls, or — with enough permissions — modify your phone number configuration. Gazebo gives each agent its own named identity and enforces per-agent scope on every Twilio credential request.

## How it works

1. Connect your Twilio account to Gazebo using your Account SID and Auth Token. Credentials are stored encrypted with AES-256-GCM.
2. Create an access profile for each agent — scoped to the messaging services, phone numbers, or call flows it actually uses.
3. Each agent calls get_credential via MCP. Gazebo checks the policy and returns the scoped credential.
4. Every access is logged: which agent, which timestamp, approved or denied.
5. Revoke future Twilio credential retrieval per agent. Revoke or rotate provider credentials if retrieved values may have leaked.

## Use cases

**SMS notification agents without full account access:** Give a notification agent access to send SMS via a specific messaging service — without exposing the credentials that control your phone number configuration or outbound call flows.

**Audit trail for every message sent:** Every time an agent retrieves Twilio credentials, Gazebo logs it — agent identity, timestamp, approved or denied. Know exactly which agent triggered which sends.

**Revoke outreach agents instantly:** If an outreach agent starts sending at unexpected volume or to numbers outside its expected list, revoke its Twilio access in one click without affecting your other messaging workflows.
