🧩Example API Requests
Here are real-world examples of how to interact with Operator AI’s API — so you can start building automations, integrations, and workflows faster.
🧩 Example: Create a New User
POST /users
Authorization: Bearer YOUR_API_TOKEN
Content-Type: application/json
{
"name": "Jane Smith",
"email": "jane@example.com",
"phone": "+15551234567",
"tags": ["DemoLead", "NewsletterSignup"]
}🧩 Example: Send a New Message
POST /messages
Authorization: Bearer YOUR_API_TOKEN
Content-Type: application/json
{
"conversation_id": "123456",
"message": "Thanks for reaching out! How can we help you today?",
"type": "agent"
}🧩 Example: Tag a User
🧩 Example: Get All Conversations
📋 Tips for Building with the API
Tip
Why It Matters
🛟 Need Help?
🎯 Next Step
Last updated