# Interception

**Kind**: module | **Library**: @interopio/desktop | **Access**: `io.interception`

**Source**: https://docs.interop.io/desktop/reference/javascript/interception/index.html

The Interception API enables apps to register interception handlers with which to modify the low-level platform operations.
Interception handlers can be executed before and/or after the default implementations of the platform operations,
and the execution of the default implementation for a platform operation can be prevented entirely.
This allows for finer control over the platform operations.
It's possible to register only a single interception handler per platform operation within an API domain.

For an app to be able to register interception handlers, interception must be enabled in the system configuration of io.Connect Desktop.

The Interception API is accessible via the [`io.interception`](https://docs.interop.io/desktop/reference/javascript/interception/api/index.md) object.

Available since io.Connect Desktop 9.6 &@interopio/desktop 6.9.0.

## Interfaces

- [API](https://docs.interop.io/desktop/reference/javascript/interception/api/index.md): Interception API.
- [Interception](https://docs.interop.io/desktop/reference/javascript/interception/interception/index.md): Describes a platform operation to intercept and provides settings for its interception.
- [InterceptionMessage](https://docs.interop.io/desktop/reference/javascript/interception/interceptionmessage/index.md): Describes an intercepted platform operation.
- [InterceptionRegistrationConfig](https://docs.interop.io/desktop/reference/javascript/interception/interceptionregistrationconfig/index.md): Settings for registering an interception handler for the targeted platform operations.
- [InterceptionResponse](https://docs.interop.io/desktop/reference/javascript/interception/interceptionresponse/index.md): Describes the response returned by an interception handler.
- [InterceptionUnregistrationConfig](https://docs.interop.io/desktop/reference/javascript/interception/interceptionunregistrationconfig/index.md): Settings for unregistering the interception handlers for the targeted platform operations.
