Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Send SMS and list conversations from your agents.
msg = client.messages.send( agent_id=agent.id, to_number="+12125557890", body="Your code is 482913. Expires in 5 minutes.", media_url="https://example.com/receipt.png", # optional (MMS) )
const msg = await client.messages.send({ agentId: agent.id, toNumber: "+12125557890", body: "Your code is 482913. Expires in 5 minutes.", mediaUrl: "https://example.com/receipt.png", });
client.messages.list(agent_id=agent.id, limit=50) client.messages.list_conversations(agent_id=agent.id)
await client.messages.list({ agentId: agent.id, limit: 50 }); await client.messages.listConversations({ agentId: agent.id });