# Description

{% hint style="info" %}
Please ensure that you have the latest chat box snippet installed on your site before continuing.
{% endhint %}

The Javascript API lets you customize various aspects of the Acquire Live Chat Widget.

You can use a different color scheme on a special marketing page, set the widget language based on the user’s preferences and much more.

## Sample Code

```javascript
<script>
    window.acquire = window.acquire || [];
    window.acquire.push(function(app){
      ...
   });
</script>
```

{% hint style="warning" %}
**Note:** Some API calls are unavailable for accounts using the Lite package.
{% endhint %}


---

# 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://developer.acquire.io/master/js-api/js-live-chat-api/description.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.
