LimePhone
Admin DashboardSupportDialerAndroid AppKnowledgebaseCheck Number Availablity
  • πŸ‘‹Everything You Need To Know
    • βš™οΈSystem & Browser Requirements
      • Browser + System Requirements
      • Network Speed
      • Supporting QoS
      • Setting Up Microphone + Speakers
    • Restrictions
    • πŸ’‘Use Cases
      • A Second Phone Number
        • How To Set This Up
        • Second Phone Number Features
        • How To Use
          • Make and receive calls
          • Send and receive SMS
          • Share your number with users
          • Forward calls to any number
          • Personalize your voicemail
      • A Business Virtual Number
        • How To Set This Up
        • Business Virtual Phone Features
        • How To Use
          • Make and receive calls
          • Send and receive SMS
          • Share your number with users
          • Forward calls to any number
          • Personalize your number
      • A Business Switchboard / IVR
        • How To Set This Up
      • For Business Texting
        • How to set up Business SMS
        • How to set up Bulk SMS
          • Create + Manage Lists
          • Send Bulk SMS
          • Track Campaigns
      • For Call Tracking
        • How To Set This Up
        • Call Tracking Features
      • For Outbound Calling
        • How To Set This Up
        • Outbound Calling Features
        • How To Use
  • πŸš€Getting Started
    • πŸ™‹β€β™‚οΈSetup Your Personal Account
      • Setup Call Forwarding
      • Invite A Team Mate (Optional)
      • Set Your Notifications
      • Setup Personal Working Hours
      • Setup Business Hours
      • Connect Your Calendar (Optional)
    • Add Additional Users To Your Account
    • βœ…User Panel Guide
      • Making Your First Call
        • Making Calls From Your Desktop
        • Making calls from your Mobile Browser
        • Making Calls From Your Android App
        • Web Dialer
      • Receiving Your First Call
      • πŸ†•CRM
        • Managing Calls + Leads
          • Types Of Calls + Leads
          • Call + Lead Management
          • Call + Lead Qualification
          • Call + Lead Filtering
          • Tags and Segments
        • πŸ†•Managing Leads + Contacts
          • πŸ†•Types of Leads
          • πŸ†•CRM Management
          • πŸ†•Lead Qualification
          • πŸ†•Manually Adding A Lead Or Contact
          • πŸ†•Your Pipeline
          • πŸ†•Lead Filtering
          • πŸ†•Tags and Segments
      • Your Dashboard
  • Phone Numbers
    • Buy a new Number
      • Purchasing A New Number
      • Adding Additional Numbers
    • Setup Call Forwarding
      • Call Forwarding and Extensions
    • Voicemail
    • Setting Caller ID
    • Setup Call Recording
    • Business Hours
    • Transfer an existing number to LimePhone
    • Advanced Features
    • Outgoing SMS (10DLC Registration)
    • Webooks for Virtual Numbers
  • Explore Features
    • Campaign
      • Send Bulk SMS
      • Track Campaigns
    • Contacts
      • Create + Manage Lists
    • Analytics
    • Inbox
    • Meeting Links
      • Managing Your Meetings Page
      • Direct Call + Meeting Links
    • πŸ”„Integrations
      • Slack for LimePhone
    • Inbound Webhooks
    • Outbound Webhooks
  • Account & Billing
    • Managing Subscription
      • Managing Payment Methods
      • Cancelling Your Subscription
      • Adding Calling/SMS Credits
    • Resetting Your Password
    • Notifications
    • Business Hours
  • πŸ–₯️Video Guides
  • Troubleshooting
    • ⚠️Troubleshooting + Support
      • Troubleshooting Calls
        • Outbound Calls Not Connecting
        • Why is my call showing up as failed?
        • Incoming calls are going straight to missed
        • Incoming calls are disconnected immediately upon answering
        • Troubleshooting call dropping issues
        • Call Quality Troubleshooting Guide
        • My caller ID name (CNAM) is not working
        • Troubleshooting call audio static and other audio interference
        • Troubleshooting volume issues on calls
        • Troubleshooting echoing call audio
        • Troubleshooting delayed call audio
        • Troubleshooting choppy or robotic sounding call audio
        • Troubleshooting one-way call audio
      • Troubleshooting Messages
        • Outbound messages are not delivering
        • Outbound messages are not delivering, but showing as delivered
        • I'm not receiving text messages on my LimePhone number
        • Preventing your messages from being filtered as spam
        • File size limits and picture quality for picture messaging (MMS)
      • Other Troubleshooting
        • What you can do if you're receiving spam calls
        • I'm not receiving verification codes on LimePhone
        • I’m receiving the error β€œCould not establish a connection. Try again momentarily.”
        • I’m not receiving push notifications
      • Support
        • Reaching out to Support
        • How do I report a bug?
        • How do I request new features?
  • Trials
    • Upgrade Your Trial
    • βœ…Activate Your Trial
    • Trial Users - Read Me
Powered by GitBook
On this page
  • Overview
  • Key Features
  • Supported Events
  • How to Set Up Virtual Number Webhooks
  • Webhook Request Format
  • Request Payloads (Examples)
  • Response Handling
  • Securing Your Webhooks
  • Use Cases
  • Best Practices
  • Need Help?

Was this helpful?

  1. Phone Numbers

Webooks for Virtual Numbers

Overview

LimePhone's Virtual Number Webhooks allow you to receive real-time updates on calls, SMS, voicemails, and status changes associated with your virtual numbers. This feature enables seamless integration with your CRM, helpdesk, or other business tools for better workflow automation.

You can configure webhooks for each virtual number in your LimePhone account via: ➑ Dashboard > Numbers > Manage > Webhooks


Key Features

βœ… Event-Based Notifications – Get instant updates on incoming/missed calls, SMS, and voicemails. βœ… Number-Specific Webhooks – Configure unique webhook URLs for different virtual numbers. βœ… Customizable Data Capture – Include call details, customer info, timestamps, and more. βœ… Secure and Reliable – Authenticate webhook requests with HMAC signatures and HTTPS encryption.


Supported Events

Virtual Number Webhooks can trigger on the following events:

Event

Description

incoming_call

Triggered when a call is received.

missed_call

Triggered when a call goes unanswered.

call_completed

Triggered when a call is successfully completed.

voicemail_received

Triggered when a voicemail is left.

sms_sent

Triggered when an SMS is sent from the virtual number.

sms_received

Triggered when an SMS is received.

call_status_update

Triggered when a call’s status changes (e.g., ringing, answered, failed).


How to Set Up Virtual Number Webhooks

Step 1: Configure Webhook for a Virtual Number

  1. Log in to LimePhone at app.limephone.io.

  2. Go to Dashboard > Numbers.

  3. Click Manage next to the virtual number you want to configure.

  4. Select the Webhooks tab.

  5. Click "Create Webhook" and enter:

    • Webhook URL – The endpoint where LimePhone will send data.

    • Event Types – Select which events will trigger the webhook.

    • Security Settings – Enable authentication to verify webhook requests.

  6. Click Save to activate the webhook.


Step 2: Test Your Webhook

  1. Click "Test Webhook" in the LimePhone dashboard.

  2. Send a sample payload to your configured endpoint.

  3. Verify that your system receives and processes the data correctly.

  4. Check the Webhook Logs in LimePhone for detailed request history.


Step 3: Manage Webhooks

  • Edit Webhooks – Modify the webhook URL, event triggers, or security settings.

  • Delete Webhooks – Remove unused webhooks to optimize performance.

  • Monitor Logs – View webhook logs to debug and track requests.


Webhook Request Format

HTTP Request

LimePhone sends a POST request to your webhook URL whenever an event occurs.

Example Endpoint: POST https://yourapp.com/webhook-endpoint

Request Headers

Header

Value

Description

Content-Type

application/json

Specifies the payload format.

Authorization

Bearer {token}

API token for authentication.

X-LimePhone-Signature

{hash}

HMAC-SHA256 signature for request validation.


Request Payloads (Examples)

Incoming Call Event

jsonCopyEdit{
  "event": "incoming_call",
  "call_id": "123456",
  "virtual_number": "+15551234567",
  "caller_number": "+18887654321",
  "timestamp": "2025-01-30T14:00:00Z",
  "call_status": "ringing"
}

Missed Call Event

jsonCopyEdit{
  "event": "missed_call",
  "call_id": "789012",
  "virtual_number": "+15551234567",
  "caller_number": "+18887654321",
  "timestamp": "2025-01-30T14:05:00Z",
  "call_status": "missed"
}

Voicemail Received Event

jsonCopyEdit{
  "event": "voicemail_received",
  "call_id": "567890",
  "virtual_number": "+15551234567",
  "caller_number": "+18887654321",
  "voicemail_url": "https://limephone.io/voicemails/123456",
  "timestamp": "2025-01-30T14:10:00Z"
}

SMS Sent Event

jsonCopyEdit{
  "event": "sms_sent",
  "message_id": "234567",
  "virtual_number": "+15551234567",
  "recipient_number": "+18887654321",
  "message_content": "Your appointment is confirmed!",
  "timestamp": "2025-01-30T14:15:00Z"
}

SMS Received Event

jsonCopyEdit{
  "event": "sms_received",
  "message_id": "345678",
  "virtual_number": "+15551234567",
  "sender_number": "+18887654321",
  "message_content": "Hi, I’d like more details.",
  "timestamp": "2025-01-30T14:20:00Z"
}

Response Handling

Your application should respond with a 200 OK status code to acknowledge the webhook. If LimePhone doesn’t receive a success response, it will retry according to the following schedule:

  • Retry after 1 minute.

  • Retry after 5 minutes.

  • Retry after 15 minutes.

  • Retry after 30 minutes.


Securing Your Webhooks

  1. Verify the Request Signature

    • Use the X-LimePhone-Signature header to validate the request.

    • The signature is an HMAC-SHA256 hash of the request body using your webhook secret.

  2. Use HTTPS

    • Ensure your webhook URL uses HTTPS for secure data transmission.

  3. Validate Input Data

    • Sanitize and validate all incoming webhook data before processing.


Use Cases

βœ” CRM Integration: Automatically log calls, messages, and voicemails in your CRM. βœ” Real-Time Alerts: Send missed call or voicemail notifications via Slack or email. βœ” Call Routing Automation: Route calls based on virtual number, caller ID, or predefined logic. βœ” SMS Follow-Ups: Automate SMS responses based on received messages. βœ” Analytics & Reporting: Track virtual number activity for call and message insights. βœ” AI-Powered Workflows: Use webhooks to trigger AI-based lead qualification or automated workflows.


Best Practices

βœ… Test Before Deployment: Use the "Test Webhook" feature to ensure proper integration. βœ… Monitor Webhook Logs: Regularly check webhook logs for request history and errors. βœ… Implement Retry Handling: Ensure your system can handle duplicate or retried requests. βœ… Optimize API Response Times: Your webhook endpoint should respond within 5 seconds to prevent retries.


Need Help?

For support, reach out to support@limephone.io or visit our documentation at docs.limephone.io.

PreviousOutgoing SMS (10DLC Registration)NextCampaign

Last updated 3 months ago

Was this helpful?