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
  • πŸ”Œ What Are Webhooks and API Access?
  • πŸ› οΈ How to Set Up Webhooks
  • πŸ› οΈ How to Use the Operator AI API
  • πŸ”₯ Example Webhook Events
  • πŸ“‹ Best Practices for Webhooks and API Usage
  • 🧠 Bonus: Chaining Webhooks + API
  • πŸ›Ÿ Need Help?
  • 🎯 Next Step
  1. Integrations

Webhooks and API

Operator AI offers powerful Webhooks and API access β€” allowing you to customize workflows, push data to external systems, and build deeper integrations.


πŸ”Œ What Are Webhooks and API Access?

  • Webhooks allow Operator AI to send real-time data to external URLs when specific events happen (like new conversations, new users, lead capture, etc.).

  • API Access lets you pull or push data into Operator AI β€” such as creating users, sending messages, or updating profiles.

βœ… Together, they make Operator AI extremely flexible and developer-friendly.


πŸ› οΈ How to Set Up Webhooks

  1. Go to Settings β†’ Miscellaneous β†’ Webhooks in your Operator AI Dashboard.

  2. Paste your Webhook URL (where you want to receive Operator AI event data).

  3. Enable the types of Webhooks you want (e.g., New Conversation, New Message, New User).

  4. Save settings and reload Operator AI.

βœ… You can send Webhooks to multiple Zaps, endpoints, or servers if needed (separated by commas).


πŸ› οΈ How to Use the Operator AI API

  • API Endpoint Base URL: https://console.heyoperator.ai/script/include/api

  • Authentication: Use Bearer tokens for secure access.

  • Common API Actions:

    • Get Users (GET /users)

    • Create New User (POST /users)

    • Send Message (POST /messages)

    • Get Conversations (GET /conversations)

    • Update User Profile (PUT /users/{id})

    • Tag User (POST /tags)

βœ… Full API documentation is available inside the API Reference section.


πŸ”₯ Example Webhook Events

Event
Trigger Example

New Conversation

When a visitor starts a new chat session.

New Message

When a user sends a message during a conversation.

Conversation Closed

When a conversation is archived.

New User Created

When a new user profile is created through chat or automation.

Tag Applied

When a specific tag is assigned to a user.

βœ… Real-time data lets you build smart workflows and reporting pipelines.


πŸ“‹ Best Practices for Webhooks and API Usage

Tip
Why It Matters

Validate Webhook payloads

Protect your server from invalid or malicious requests.

Use secure HTTPS endpoints

Always encrypt Webhook communications.

Retry on failures

Build retry logic in your webhook receiver.

Rate limit your API calls

Prevent accidental overuse or throttling.

Monitor Webhook delivery

Set up alerts if Webhooks fail repeatedly.

βœ… Secure, reliable integrations = professional-grade customer experience.


🧠 Bonus: Chaining Webhooks + API

Advanced users can:

  • Trigger Webhooks to external systems (Zapier, CRM, Database).

  • Use API calls to automatically update Operator AI based on those external actions.

  • Example: New user fills out a form β†’ Webhook β†’ CRM β†’ API call tags user as β€œQualified Lead”.

βœ… You can create full closed-loop automations with Operator AI.


πŸ›Ÿ Need Help?

  • Explore full API documentation inside the API Reference section.

  • Contact support@heyoperator.ai for developer support.

  • Your Success Manager can suggest architecture tips for advanced workflows.

βœ… We’re here to help you integrate without limits.


🎯 Next Step

πŸ‘‰ Continue to Designing Effective Flows β†’

PreviousWhatsApp Business API SetupNextDesigning Effective Flows

Last updated 2 months ago

πŸ”Œ