All URIs are relative to https://api.pipedrive.com/v1
Method | HTTP request | Description |
---|---|---|
getUserSettings | GET /userSettings | List settings of an authorized user |
UserSettings getUserSettings()
List settings of an authorized user
Lists the settings of an authorized user. Example response contains a shortened list of settings.
import Pipedrive from 'pipedrive';
let apiClient = new Pipedrive.ApiClient();
// Configure API key authorization: api_key
let api_key = apiClient.authentications['api_key'];
api_key.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix = 'Token';
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = apiClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Pipedrive.UserSettingsApi(apiClient);
apiInstance.getUserSettings().then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json