# Blocking

Spam visitors can be blocked based on their ID or public IP address.

* **Block by ID** – The visitor is prevented from initiating a chat from the same browser unless they clear cookies or use incognito/private mode. In that case, starting a chat will still be possible.
* **Block by IP** – The visitor is blocked based on their IP address. Note that in some locations/offices, multiple people may share the same public IP, so caution is needed to avoid accidentally blocking other users.
* **Expires at** – After the block period ends, the visitor is automatically unblocked. By default, this is one day, but the agent can choose any duration.
* **Agent Name** – The name of the agent who initiated the block.

Go to the **Blocked** page and click the **lock icon** to block or unblock a visitor.

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

**Block a Customer by IP:** Go to the **Blocked** page, click the **Block Customer** lock icon, and select **Block by IP**.

**Block a Customer by ID:** During a live chat, click the **Gear** button and block the visitor.

{% columns %}
{% column %}

<figure><img src="/files/naPej3ewEtSgTf5AYPX4" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column %}

<figure><img src="/files/IrIMYXP87YciugpKXn39" alt=""><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}


---

# 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.livecaller.io/livecaller/blocking.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.
