## Cognigy Click To Call SDK

This section provides a detailed reference for all functions, methods, configuration options, and types available in the Cognigy Click To Call SDK.

## Factory Functions

| Function | Description |
| --- | --- |
| [createWebRTCClient](https://docs.cognigy.com/click-to-call/sdk/api-reference/create-click-to-call-client) | Creates and returns a new `WebRTCClient` instance. |
| [checkWebRTCSupport](https://docs.cognigy.com/click-to-call/sdk/api-reference/check-click-to-call-support) | Checks whether the current browser supports Click To Call. |

## Connection Methods

| Method | Description |
| --- | --- |
| [connect](https://docs.cognigy.com/click-to-call/sdk/api-reference/connect) | Connects to the SIP server and registers the client. |
| [disconnect](https://docs.cognigy.com/click-to-call/sdk/api-reference/disconnect) | Disconnects from the SIP server. |
| [connectAndCall](https://docs.cognigy.com/click-to-call/sdk/api-reference/connect-and-call) | Connects and starts a call in one operation. |

## Call Control Methods

| Method | Description |
| --- | --- |
| [startCall](https://docs.cognigy.com/click-to-call/sdk/api-reference/start-call) | Starts a new voice call. |
| [endCall](https://docs.cognigy.com/click-to-call/sdk/api-reference/end-call) | Ends the current active call. |
| [mute](https://docs.cognigy.com/click-to-call/sdk/api-reference/mute) | Mutes the local microphone. |
| [unmute](https://docs.cognigy.com/click-to-call/sdk/api-reference/unmute) | Unmutes the local microphone. |
| [sendInfo](https://docs.cognigy.com/click-to-call/sdk/api-reference/send-info) | Sends an info message during a call. |

## State Methods

| Method | Description |
| --- | --- |
| [isConnected](https://docs.cognigy.com/click-to-call/sdk/api-reference/is-connected) | Checks if the client is connected and registered. |
| [getCurrentSession](https://docs.cognigy.com/click-to-call/sdk/api-reference/get-current-session) | Returns the current active call session. |

## Event Methods

| Method | Description |
| --- | --- |
| [on](https://docs.cognigy.com/click-to-call/sdk/api-reference/on) | Adds an event listener. |
| [off](https://docs.cognigy.com/click-to-call/sdk/api-reference/off) | Removes an event listener. |

## Cleanup Methods

| Method | Description |
| --- | --- |
| [destroy](https://docs.cognigy.com/click-to-call/sdk/api-reference/destroy) | Disconnects, ends calls, and releases all resources. |

## Types

| Type | Description |
| --- | --- |
| [Types](https://docs.cognigy.com/click-to-call/sdk/api-reference/types) | `WebRTCClientConfig`, `CallSession`, `SessionStatus`, `CallEndInfo`, `WebRTCClientEvents`. |

Last modified on April 21, 2026.
