curl -X POST https://api.teli.ai/v1/agents \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "agent_type": "sms", "agent_name": "Sales Follow-up Agent", "starting_message": "Hi {{first_name}}, interested in our services?", "prompt": "You are a helpful sales agent. Ask about their budget and timeline. Be friendly and professional.", "organization_id": "1763070568417x631086913669115287", "user_id": "1763072368418x263803518630956376", "drip_schedule": [ {"day": 1, "message": "Just checking in from yesterday!"}, {"day": 3, "message": "Happy to help when you are ready!"} ] }'
curl -X POST https://api.teli.ai/v1/agents \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "agent_type": "sms", "agent_name": "Sales Follow-up Agent", "starting_message": "Hi {{first_name}}, interested in our services?", "prompt": "You are a helpful sales agent. Ask about their budget and timeline. Be friendly and professional.", "organization_id": "1763070568417x631086913669115287", "user_id": "1763072368418x263803518630956376", "drip_schedule": [ {"day": 1, "message": "Just checking in from yesterday!"}, {"day": 3, "message": "Happy to help when you are ready!"} ] }'
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."
Automated follow-up messages sent on specific days after initial contact.Each item: { "day": number, "message": string }Example:
Copy
Ask AI
[ {"day": 1, "message": "Just checking in from yesterday!"}, {"day": 3, "message": "Still here if you need anything!"}, {"day": 7, "message": "Last follow-up - let me know if I can help!"}]
Copy
Ask AI
curl -X POST https://api.teli.ai/v1/agents \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "agent_type": "sms", "agent_name": "Sales Follow-up Agent", "starting_message": "Hi {{first_name}}, interested in our services?", "prompt": "You are a helpful sales agent. Ask about their budget and timeline. Be friendly and professional.", "organization_id": "1763070568417x631086913669115287", "user_id": "1763072368418x263803518630956376", "drip_schedule": [ {"day": 1, "message": "Just checking in from yesterday!"}, {"day": 3, "message": "Happy to help when you are ready!"} ] }'