Easily Integrate the CallRail Pre-Call Webhook into your application using Javascript, Ruby, and other frameworks.
Pre-Call The pre-call webhook executes the moment an inbound phone call is received by CallRail. Your server will receive the call information before the call is connected, allowing you to develop real-time systems for your representatives, such as screen-pops or CRM database lookups. Because the pre-call webhook executes before the call is connected, it contains less information than the post-call webhook. For example, the post-call webhook will contain the call duration, whether the call was answered, and a link to the recording (if applicable). This webhook sends the call object in the POST body, formatted as JSON as specified in the call endpoint. See Retrieving a Single Call for details. Additional fields are returned in the JSON and GET request line because of our Legacy API; however, we encourage users to build requests using the parameters outlined in this version of our API documentation for support purposes.
Steps to receive the Callrail Pre-Call Webhook
- Sign up for your free Hooky account.
- Create a new Webhook Source, and select callrail. This will be the endpoint that receives the Callrail Pre-Call webhook on behalf of your application, and forwards them using the unified SDK.
- Once the Pre-Call webhook is received from Callrail, you'll see the payload under the Live Logs section of your webhook source.
- Next, follow the examples below to integrate the Hooky SDK in Ruby or Javascript, and start receiving webhooks.
- Sign up for your free Hooky account.
- Create a new Webhook Source, and select callrail. This will be the endpoint that receives the Callrail Pre-Call webhook on behalf of your application, and forwards them using the unified SDK.
- Once the Pre-Call webhook is received from Callrail, you'll see the payload under the Live Logs section of your webhook source.
- Next, follow the examples below to integrate the Hooky SDK in Ruby or Javascript, and start receiving webhooks.