# Configuring with Twilio

<figure><img src="/files/gVgJdPh25oEsKGzqZPNY" alt=""><figcaption></figcaption></figure>

## Configure Your Twilio Number for Live Call Routing

During setting up your Live Call Routing in Spike, you’ll receive a unique **webhook URL**. Follow these steps to connect it with Twilio:

{% stepper %}
{% step %}

#### **Sign in to Twilio**

In your Twilio Console, go to **Develop → Phone Numbers → Manage → Active Numbers**. If you don't have a phone number, please buy one on Twilio's dashboard.
{% endstep %}

{% step %}

#### **Select your phone number**

Choose the number you want to use with Live Call Routing.
{% endstep %}

{% step %}

#### **Configure incoming call settings**

Scroll down to the **Voice** section.

* For **When a call comes in**, select **Webhook** from the dropdown.
* Paste your **Spike webhook URL** in the field.
* Set the HTTP method to **HTTP POST**.
  {% endstep %}

{% step %}

#### **Configure the fallback handler (optional)**

In the same section, find **If primary handler fails**.

* Select **Webhook** from the dropdown.
* Paste the **same Spike webhook URL**.
* Set the HTTP method to **HTTP POST**.
* *Don't forget to save by scrolling down on the same page*
  {% endstep %}

{% step %}

#### 5. **To access call recordings**

When call recording is enabled, Spike retrieves the recordings directly from your Twilio account.

* In your Twilio Console, go to **Develop → Voice → Settings → General**.
* Under **HTTP Basic Authentication for media access**, select **Disable**.
  {% endstep %}
  {% endstepper %}

<figure><img src="/files/drVzamfP7bOdhdKY5aZN" alt=""><figcaption></figcaption></figure>

That’s it. Once saved, your Twilio number will forward all incoming calls to Spike.\
Spike will handle the routing, fallbacks, and call logging automatically.

***

*If you need help configuring Live Call Routing or integrating your Twilio account, reach out to* [*support@spike.sh*](mailto:support@spike.sh)*.*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.spike.sh/live-call-routing/lcr-with-twilio.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
