# \[Under Development] Acquire SDK APIs

{% hint style="warning" %}
Our SDK is currently under review. Check back later for updates.
{% endhint %}

### SDK APIs:

### Initiate Support Chat

Start chat module directly by calling **`startSupportChat()`**

```java
AcquireApp.startSupportChat()
```

This method is used to open chat. To use this method **AcquireApp** instance is needed. So use this method after successful initialization.

**Alternate Method :** **`startDirectSupportChat(callType: CallType)`**

```java
AcquireApp.startDirectSupportChat(CallType.VIDEO)
```

* **@param** **`callType`** - TEXT, AUDIO, VIDEO

Use this method to start direct Audio/Video call request to the agent. By this method, Audio/Video chat request will be visible to the agent and on the answer to that chat will start Audio/Video call as soon as the chat is connected.

### Get Visitor ID

Get Visitor ID using this method&#x20;

```
AcquireApp.getVisitorId()
```

### Logout Visitor

Logout will clear the current session and also gives a callback when the process is finished. After logout one has to initialize the SDK again to create a new session.&#x20;

```
AcquireApp.logOut { }
```


---

# 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/sdk/android/acquire-sdk-apis.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.
