What is an In-Call Webhook in MyOperator and how do I set it up securely?

What is an In-Call Webhook in MyOperator and how do I set it up securely?

⚡Quick answer -

An In-Call Webhook is an HTTPS POST that MyOperator fires while a call is still in progress (ringing or answered). Configure it under APIs & Webhook › Calling Webhooks › Add new, choose “InCall”, paste your public HTTPS endpoint, save, and verify you receive the JSON shown below.

When should I use this guide?

Read this if you need real-time call data (caller ID, status, IVR ID, etc.) pushed to a CRM, help-desk, or automation service without polling the MyOperator API.


1. How the webhook works

MyOperator emits a POST to your endpoint at each call-state change.

image.png

Alt-text: Sequence diagram showing MyOperator sending two POSTs (ringing & answered) to your server.


2. Key features & benefits

• Real-time data: caller, agent list, call state.

• Trigger CRM pop-ups or routing rules before the call connects.

• Customisable payload—send only the fields you need.

• Works for Peer-to-Peer and IVR flows.


3. Prerequisites

Requirement

Why it matters

MyOperator admin login

Only admins can add webhooks

Public HTTPS endpoint

HTTP is rejected

Ability to accept JSON POST

Body is application/json

Optionally: auth header/token

To verify the origin

Tip: You can use https://webhook.site for first-time testing.


4. Field map

Field

Meaning

uid

Unique call ID

clid

Caller number (E.164)

call_state

0=ringing, 1=answered

event

1=start, 2=update

users

Agent numbers handling call

public_ivr_id

IVR flow identifier


5. Step-by-step configuration

  1. Sign in to the MyOperator dashboard.
  2. Navigate to APIs & Webhook → Calling Webhooks → Add new webhook

image.png

Alt text: Adding and configuring a new webhook

  1. Click Add New.
  2. Set:
    1. Webhook Type = InCall 
    2. Method = POST 
    3. Content-Type = application/json 
    4. URL
  3. Click Save.
  4. Place a test call; check your server logs or webhook.site for the payload above. 

Expected outcome: MyOperator webhook log shows “Delivered” and your endpoint returns HTTP 200. 


6. Security & validation options

• Custom header: x-myop-signature: <token> – Validate HMAC on your server.

• Basic Auth: Set username:password@host in the URL.

• IP allow-list: Open firewall to MyOperator IP range 103.21.77.0/24.


7. When does the webhook NOT fire?

• URL uses HTTP instead of HTTPS.

• Endpoint takes > 5 s to respond (MyOperator retries 3×, then marks failed).

• Server is private/VPN-only—must be publicly reachable.


8. Troubleshooting & logs

Symptom

Likely cause

Fix

No POST received

DNS / firewall

Verify public DNS, port 443 open

“Webhook failed” in the dashboard

4xx/5xx response

Endpoint must reply 2xx

Duplicate payloads

Endpoint slow

Send early 200, process async


9. Next steps & escalation

  1. Map webhook fields to your CRM.
  2. Enable After-Call Webhook for full call summary. 

Still stuck? Email support@myoperator.com with your Webhook ID and failed log screenshot. 


Keywords: MyOperator, In-Call Webhook, real-time call data, API Integration, JSON payload, HTTPS, CRM popup, webhook security, troubleshooting

    • Related Articles

    • Key Considerations During Integration with MyOperator

      ? Table of Contents Overview Key Considerations for a Smooth Integration Step-by-Step Integration Process Final Checklist FAQs Related Articles ? Overview Integrating MyOperator with other platforms such as FreshSales, FreshDesk, or Zoho requires ...
    • In-Call Webhook

      Overview Webhooks are HTTP callbacks that receive notification messages for events. MyOperator uses webhooks to notify your application any time a call event happens in your account. For example, if a call has been received by your agent, you will ...
    • After Call Webhook

      Overview Webhooks are HTTP callbacks that receive notification messages for events. MyOperator uses webhooks to notify your application any time a call event happens in your account. For example, if a call has been received by your agent, you will ...
    • How to Add an In-Call Webhook in MyOperator

      ? Table of Contents What is an In-Call Webhook? Prerequisites for Adding an In-Call Webhook Step-by-Step Instructions Tips for Success Troubleshooting Frequently Asked Questions (FAQs) 1. What is an In-Call Webhook? An In-Call Webhook allows ...
    • How to make outgoing calls via MyOperator (Click to call and Dialer app)

      MyOperator is giving facility to make outgoing calls via MyOperator. You and your team can initiate calls from the mobile app, web panel, and CRM MyOperator provides a Caller-ID to make outgoing calls, Caller-ID is the number that displays on ...