Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Ringotel Webhook Integration provides a convenient way to automate workflows by sending HTTP requests to a specified webhook URL when certain events occur within the platform. This feature allows you to seamlessly integrate Ringotel with third-party applications, services, or internal systems by notifying them in real-time when key events are triggered.

Setting up the integration in Ringotel Shell Portal

Sign into your Ringotel admin portal at https://shell.ringotel.co and navigate to an organization → Integrations tab → click Enable Integration on the Webhook card.

...

Info

Specifying the API token is optional, it will be sent in the body of each request to the Webhook URL in the “api_token” parameter.

Receiving Requests on the Webhook

Currently, the integration can send the following requests:

StartCallActivity

Sent when a call is started.

...

Code Block
languagejson
{
  "method": "StartCallActivity",
  "api_token": "5c2d7008-a4b9-4eec-b549-e82804521e9a",
  "params": {
    "connection_name": "PBX",
    "extension": "500",
    "user_id": "17295348437628309790",
    "connection_id": "17295345566567084859",
    "activity_type": "inbound",
    "domain": "newcompany123",
    "call_start": 1729690611587,
    "called_number": "500",
    "caller_number": "353212028252",
    "call_id": "1729693708182-2d1c3de3d3772cdc1f"
  }
}

StopCallActivity

Sent when a call is ended by either party or when the call ends without an answer.

...

Code Block
languagejson
{
  "method": "StopCallActivity",
  "api_token": "5c2d7008-a4b9-4eec-b549-e82804521e9a",
  "params": {
    "extension": "500",
    "call_end": 1729693741839,
    "call_id": "1729693708182-2d1c3de3d3772cdc1f",
    "call_duration": 27,
    "connection_name": "PBX",
    "user_id": "17295348437628309790",
    "connection_id": "17295345566567084859",
    "activity_type": "inbound",
    "domain": "newcompany123",
    "call_cause": "0",
    "call_start": 1729693708166,
    "called_number": "500",
    "caller_number": "353212028252"
  }
}

UpdateCallRecording

Sent after each call if voice recording is enabled in the Ringotel app.

...

Code Block
languagejson
{
  "method": "UpdateCallRecording",
  "api_token": "",
  "params": {
    "call_recording_url": "https://uk.ringotel.co/public/LL2uIbd5NcBZLHGa.wav",
    "call_id": "1729693708182-2d1c3de3d3772cdc1f"
  }
}

Parameters list

“connection_name”: string

Ringotel connection name.

...