How to Add an After-Call Webhook in MyOperator?

How to Add an After-Call Webhook in MyOperator?


đź“‘ Table of Contents

  1. What is an After-Call Webhook?
  2. Prerequisites for Adding an After-Call Webhook
  3. Step-by-Step Instructions
  4. Best Practices
  5. Testing the Webhook in Postman
  6. Troubleshooting
  7. Frequently Asked Questions (FAQs)

1. What is an After-Call Webhook?

An After-Call Webhook allows MyOperator to send real-time information about completed calls to an external system. This can be used for logging call data, triggering actions, or integrating with other applications once the call is completed.

⬆️ Back to Top


2. Prerequisites for Adding an After-Call Webhook

Before setting up the After-Call Webhook, ensure the following:

  • Access to MyOperator Panel: You must have login credentials for MyOperator.
  • Webhook URL: You need the Agent Hangup URL provided by your integrated system (e.g., KYLAS).
  • HTTPS Security: The URL should use HTTPS for secure communication.
  • Public Server: The receiving server must be publicly accessible and able to handle JSON POST requests.

⬆️ Back to Top


3. Step-by-Step Instructions

To add the After-Call Webhook in MyOperator, follow these steps:

  1. Log in to MyOperator Panel:
    • Log in to your MyOperator account.
  2. Navigate to API Integration:
    • Go to the “Manage” section and select “API Integration” from the menu.
  3. Select Webhooks:
    • In the left-hand menu, click on “Calling Webhook” and then select “Webhooks”.
  4. Add New Webhook:
    • Click the “Add New” button to create a new webhook.
  5. Configure the Webhook Settings:
    • Webhook Type: Select “After Call” from the dropdown.
    • Method: Choose POST.
    • URL: Paste the Agent Hangup URL from your integrated system.
    • Content-Type: Set to application/json.
  6. Save the Webhook:
    • After filling in the necessary details, click “Save” to finalize the webhook configuration.

⬆️ Back to Top


4. Best Practices

To ensure successful webhook integration, follow these best practices:

  • Use HTTPS URLs: Always use HTTPS to ensure secure data transmission.
  • Test the Webhook: Before saving, test the webhook URL using tools like Postman to verify its functionality.
  • Authentication: Use authentication headers or tokens for added security.
  • Public Server: Ensure the receiving server is publicly accessible and can handle JSON POST requests.

⬆️ Back to Top


5. Testing the Webhook in Postman

To test the After-Call Webhook, follow these steps in Postman:

Step 1: Create a New Request in Postman

  • Open Postman and click “New” > “Request”.
  • Name the request (e.g., "Test After-Call Webhook") and select or create a collection.

Step 2: Set Up the Request

  • Method: Set the method to POST.
  • URL: Enter the webhook listener URL (e.g., https://yourdomain.com/myoperator-webhook).

Step 3: Add the Request Body

  • Go to the Body tab and select raw.
  • Set the format to JSON.
  • Paste a sample payload like this:
{  "myoperator": {    "_ai": "abc123",    "_ci": "company_xyz",    "_cl": "+919876543210",    "_dr": "00:02:12",    "_su": 1,    "_dn": "Support",    "_fn": "call_recording.mp3",    "_fu": "https://yourlink.com/audio/call_recording.mp3"  }}

Step 4: Set Headers

  • Click on the Headers tab and add:
    • Key: Content-Type
    • Value: application/json
    • Optional: Add an Auth Key if required.

Step 5: Send the Request

  • Click “Send”.
  • Your server should return a 200 OK status if it successfully processes the request.

Step 6: Check the Response and Logs

  • Inspect the response body and status code in Postman.
  • Check your server logs or database to confirm the webhook was received and parsed correctly.

⬆️ Back to Top


6. Troubleshooting

If you encounter issues during the webhook setup, try the following:

  • Incorrect URL or Method:
    Double-check the URL and method (POST) to ensure they are entered correctly.
  • Server Not Receiving Requests:
    Ensure that the server is publicly accessible and can accept JSON POST requests.
  • Webhook Not Saving:
    If the webhook isn’t saving, ensure that the URL and content type are properly configured, and that the method is POST.

⬆️ Back to Top


7. Frequently Asked Questions (FAQs)

Q1. What happens if I enter the wrong URL for the After-Call Webhook?

  • If the URL is incorrect, MyOperator will not be able to send the After-Call data to your system. Ensure the URL is accurate before saving.

Q2. Can I test the After-Call Webhook before saving it?

  • Yes, you can test the webhook using Postman to verify that the POST method and URL are working as expected.

Q3. Why do I need to use HTTPS for the webhook URL?

  • HTTPS ensures that the data transmitted between MyOperator and your receiving system is encrypted and secure.

⬆️ Back to Top


📌 Keywords:

MyOperator, After-Call Webhook, API Integration, webhook setup, POST method, HTTPS, JSON, Postman, server configuration, troubleshooting.

    • Related Articles

    • 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 add after-call webhook in the panel?

      Please add the following after-call webhook in the panel. Login MyOperator→ Manage→ API Integration→ Webhook→ Add new (AfterCall Webhook) Method: POST URL: https://connect.myoperator.com/api/1.1/wf/phonebridge_aftercall/ Content-Type: JSON Save it
    • How to add in-call webhook in the panel?

      Please add the following incall webhook in the panel. Login MyOperator→ Manage→ API Integration→ Webhook→ Add new (InCall Webhook) Method: POST URL: https://connect.myoperator.com/api/1.1/wf/phonebridge_incall/ Content-Type: JSON Save it
    • What Is an In-Call Webhook?

      ? Table of Contents What Is an In-Call Webhook? What Are the Key Features and Benefits of an In-Call Webhook? How Does an In-Call Webhook Work? What Information Is Transmitted via the Webhook? How Do I Configure an In-Call Webhook in MyOperator? ...
    • How do I integrate MyOperator call data with BytePaper using the After‑Call Webhook?

      ? Table of contents When & why to use this Prerequisites Quick setup Step‑by‑step (in MyOperator) Parameter mapping Validate the integration Troubleshooting Edge cases & limitations Security & privacy Rollback / disable FAQ Related articles ...