# Third Party API Settings (deprecated)

> Settings of an installed third party API or of a whole bundle version in API Maker - access type, auth providers, caching with reset rules, encrypted payloads. Third party APIs are deprecated.

Source: https://docs.apimaker.dev/v1/docs/settings/thirdPartyApiSettings.html

> **Deprecated : removed in API Maker v4**
>
> Third party APIs and the store are deprecated. See [Third party APIs](https://docs.apimaker.dev/v1/docs/apis-all/thirdParty-apis/installed-third-party-api.html).

Two levels : the settings of a **version** of a bundle (with caching) and the settings of **one API** of it.

| | |
|---|---|
| Page | `API Info → Third Party API` (under Deprecated Features) → the version or the API → **Add Third party API settings**. |
| Types | `T.ITPApiSettingsTypes` for a version, `T.ITPApiSettingsTypesAPILevel` for one API. |

**Settings of a version**

```typescript
import * as T from 'types';

let thirdPartyApiSetting: T.ITPApiSettingsTypes = {
    enableCaching: false,
    resetCacheOnModificationOf: [
        // 'DB:instance_name:database_name:collection',   // a write to this table resets the cache
        // 'TP:api_bundle_name:api_version',              // a data changing API of this version resets it
        // 'CA:custom_api_name',                          // a call of this custom API resets it
    ],
    apiAccessType: T.EAPIAccessType.TOKEN_ACCESS,
    acceptOnlyEncryptedData: false,
    // authProviders: ['users_tg'],
};
module.exports = thirdPartyApiSetting;
```

- The keys mean the same as in the [custom API settings](https://docs.apimaker.dev/v1/docs/settings/customApiSettings.html). The API level settings have `apiAccessType`, `acceptOnlyEncryptedData` and `authProviders`.
