Update SMS Agent
AI Agents
Update SMS Agent
Update SMS conversation agent settings including messages, prompts, and drip schedules
PATCH
Update SMS Agent
Overview
Update an existing SMS agent’s configuration. Modify the agent name, starting message, AI prompt, and automated drip message sequences.This endpoint is for SMS agents only. For voice agents, see Update Voice Agent.
Authentication
Your Teli API key
Path Parameters
The unique identifier of the SMS agent to update
Request Body
All fields are optional. Only include the fields you want to update.Basic Settings
Display name for the agent
First message sent to leads. Supports variables:
{{first_name}}, {{last_name}}, {{company}}AI behavior instructions defining personality, goals, and conversation guidelines
Data Extraction
Fields to extract from conversations using AI.Example:
["credit_score", "loan_amount", "interested", "timeline"]Drip Schedule
Automated follow-up message sequence. Each message is sent after a delay if the lead hasn’t responded.
Drip Schedule Object
| Field | Type | Description |
|---|---|---|
delay_hours | number | Hours to wait before sending |
type | string | "ai" for AI-generated or "custom" for fixed message |
message | string | The follow-up message (required if type is "custom") |
Request Examples
Update Basic Settings
Update Extraction Fields
Update Drip Schedule
Disable Drip Messages
Send an empty array to disable automated follow-ups:Response
Success Response
Indicates successful update
The updated agent’s unique identifier
Success confirmation message
Error Responses
Dynamic Variables
Personalize messages with lead data:| Variable | Description |
|---|---|
{{first_name}} | Lead’s first name |
{{last_name}} | Lead’s last name |
{{phone_number}} | Lead’s phone number |
{{email}} | Lead’s email address |
{{company}} | Lead’s company name |
Best Practices
Test first: Update a test agent before modifying production agents
Use personalization: Include
{{first_name}} for better engagementKeep drips concise: 2-4 follow-up messages work best
Space out drips: Give leads time to respond between messages
Clear prompts: Specific AI instructions produce better conversations
Notes
Related Endpoints
- Create SMS Agent - Create a new SMS agent
- Get Agent - Retrieve agent details
- List Agents - List all agents
- Delete Agent - Delete an agent
- Get SMS Extraction - Get extracted data from conversations

