Operator AI | Docs
  • πŸ‘‹Welcome to Operator AI
  • Getting Started
    • πŸš€Quickstart Guide
    • πŸ”ŒConnect Your Channels
    • 🎯Go Live With Operator
    • πŸ“ˆPost-Launch Best Practices
  • Core Features
    • πŸ”„Flows Overview
    • 🧠Building Your Knowledge Base
    • βš™οΈAutomations Overview
    • πŸ•’Hours & Offline Mode
    • πŸ’¬Fallbacks & Default Replies
    • πŸ“₯Unified Inbox & Agent Handoff
  • Conversation Management
    • πŸ‘₯Users and Roles
    • 🏒Departments
    • 🏷️Tags & Organization
    • πŸ“Internal Notes
    • πŸ€–Smart Replies
  • πŸ’¬Saved Replies
  • Integrations
    • πŸ”—Zapier Integration
    • πŸ’¬Slack Integration
    • πŸ“§Email Marketing
    • πŸ“±WhatsApp Business API Setup
    • πŸ”ŒWebhooks and API
  • Best Practices
    • πŸ›€οΈDesigning Effective Flows
    • 🌱Using Automations for Growth
    • πŸ“ŠMonitoring Metrics and Optimization
    • πŸ—£οΈConversation Design Tips
  • Troubleshooting
    • πŸ› οΈCommon Connection Issues
    • πŸ”Conversation Handling Errors
    • πŸ”„Flow Troubleshooting
    • πŸ’¬Fallback Handling Problems
  • πŸ”§API & Webhook Issues
  • FAQ
    • ❓General Operator AI Questions
  • πŸ“‘Channel-specific Limitations
  • πŸ’³Billing and Pricing
  • πŸ”“Data Privacy and Security
  • API Reference
    • πŸ›‘οΈAuthentication
  • πŸ“šAvailable Endpoints
  • πŸ”—Webhooks Overview
  • 🧩Example API Requests
  • 🚫Error Codes and Handling
  • Affiliate Program
    • πŸ“’ Operator AI Affiliate Program
Powered by GitBook
On this page
  • πŸ“š Base URL
  • πŸ› οΈ Core API Endpoints
  • πŸ”₯ Example: Creating a New User
  • πŸ“‹ Best Practices for API Usage
  • 🧠 Advanced: Webhooks + API Combo
  • πŸ›Ÿ Need Help?
  • 🎯 Next Step

Available Endpoints

Operator AI provides a clean, developer-friendly API β€” allowing you to programmatically manage users, conversations, messages, and more.


πŸ“š Base URL

https://console.heyoperator.ai/script/include/api

βœ… All API requests must be made over HTTPS and authenticated via Bearer Token.


πŸ› οΈ Core API Endpoints

Action
Endpoint
Method

Get all users

/users

GET

Get a specific user

/users/{id}

GET

Create a new user

/users

POST

Update a user

/users/{id}

PUT

Delete a user

/users/{id}

DELETE

Get all conversations

/conversations

GET

Get a specific conversation

/conversations/{id}

GET

Send a message

/messages

POST

Add a tag to a user

/tags

POST

Get all tags

/tags

GET

Create a new conversation

/conversations

POST

Assign a conversation

/conversations/{id}/assign

POST

Close a conversation

/conversations/{id}/close

POST

βœ… These endpoints cover the main actions needed to automate, sync, and extend Operator AI.


πŸ”₯ Example: Creating a New User

POST /users
Authorization: Bearer YOUR_API_TOKEN
Content-Type: application/json

{
  "name": "John Doe",
  "email": "john@example.com",
  "phone": "+15551234567",
  "tags": ["VIP", "NewsletterSubscriber"]
}

βœ… Create user profiles easily from your website, CRM, or signup flows.


πŸ“‹ Best Practices for API Usage

Tip
Why It Matters

Always validate API responses

Handle success and error codes properly.

Use pagination for large lists

Endpoints like /users and /conversations may return paginated results.

Rate limit your requests

Avoid unnecessary API call spikes.

Secure your API tokens

Never hardcode them in public codebases.

Monitor API logs

Track usage trends and potential issues early.

βœ… Smart API practices = faster, more reliable integrations.


🧠 Advanced: Webhooks + API Combo

  • Use Webhooks to get notified of events (new conversations, new users).

  • Use the API to react programmatically (assign conversations, tag users, escalate leads).

βœ… Build full real-time automations and syncs with Operator AI.


πŸ›Ÿ Need Help?

  • Explore the API tutorials and examples inside this documentation.

  • Contact support@heyoperator.ai for help building integrations.

  • Your Success Manager can advise on scaling best practices.

βœ… We’re here to help you extend Operator AI however you need.


🎯 Next Step

πŸ‘‰ Continue to Webhooks Overview β†’

PreviousAuthenticationNextWebhooks Overview

Last updated 2 months ago

πŸ“š