# Get Integration Settings

In 

# Usage

Returns the CTI integration definition settings. These are created in the IpSCAPE Workspace.

# Syntax

webClient.getIntegrationSettings(): Promise;

# Sample Javascript

import IpscapeWebClient from '@ipscape/web-client';

// Create a new instance of the IpSCAPE Web Client
const webClient = new IpscapeWebClient();

// Make request
webclient.getIntegrationSettings().then((response) => {
    if(response.success) {
        alert(response.result);
    }
    else {
        console.error(response.error);
    }
});

# Response

This method returns a promise. The resolved response is returned in an object and contains the following:

Result
Example success Response

Returns this object if the API method call was invoked successfully, false otherwise.

{
    success: boolean;
    result: {
        config: ConfigurationObject; // Different depending on the CRM
        timestamp: number;
    }
}