AI Agents
Create SMS Agent
Create a reusable SMS conversation agent
POST
Create an SMS agent for text-based AI conversations. SMS agents are simple to set up and support automated drip campaigns.
SMS agents have no additional charges beyond standard SMS costs per message.
Authorizations
Authentication header containing your API key.
Required Fields
Must be
"sms" for SMS agents.Display name for the agent.Example:
"Sales Follow-up Agent"First message sent to contacts. Supports variables:
{{first_name}}, {{last_name}}Example: "Hi {{first_name}}, interested in our services?"AI behavior instructions. Tells the agent how to respond.Example:
"You are a sales agent for Acme Corp. Ask users about their needs, budget, and timeline. Be friendly and helpful."Organization unique_id.Example:
"1763070568417x631086913669115287"User unique_id (agent creator).Example:
"1763072368418x263803518630956376"Optional Fields
Fields to extract from conversations using AI. The AI will analyze conversations and extract these data points.Example:
Automated follow-up messages if the contact doesn’t respond.Each item:
{ "delay_hours": number, "type": "ai"|"custom", "message": string }delay_hours: Hours to wait before sendingtype:"ai"for AI-generated follow-up,"custom"for your specific messagemessage: Required if type is"custom"
Response Fields
Agent identifier. Use this when creating SMS campaigns.
Always
"sms" for SMS agents.Whether automated follow-ups are configured.
Whether data extraction is configured.
List of fields that will be extracted from conversations.
Extraction Fields Best Practices
- Use descriptive names:
credit_scoreinstead ofcs - Keep fields focused: Extract specific data points like
loan_amount,timeline - Common fields:
interested,budget,timeline,email,best_time_to_call - The AI will extract these values as contacts provide them in conversation
Drip Schedule Best Practices
- 24 hours: Quick check-in, shows attentiveness
- 72 hours: Provide value or new information
- 168 hours (1 week): Final gentle follow-up
- Use
type: "ai"for dynamic AI-generated messages - Use
type: "custom"for specific messaging you control - Use
{{first_name}}for personalization
Next Steps
- Create Contact List - Upload leads
- Create SMS Campaign - Launch your campaign
- Get SMS Extractions - Retrieve extracted data

