> For the complete documentation index, see [llms.txt](https://wiki.crosswatch.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.crosswatch.app/blueprint-architecture/scrobble/webhooks/webhook-plextrakt.md).

# Webhook: plextrakt

This is the deprecated **Plex → Trakt** webhook bridge.

Prefer [Watcher](/crosswatch/scrobble/watcher.md).

{% tabs %}
{% tab title="End users" %}
{% hint style="warning" %}
This path is deprecated. Use it only for legacy setups.
{% endhint %}

Setup guide:

* [Webhooks](/crosswatch/scrobble/webhooks.md)

Common gotchas:

* payload storms are normal; dedupe can hide test events
* missing IDs causes tracker skips
  {% endtab %}

{% tab title="Power users" %}

### Entry point

* `providers/webhooks/plextrakt.py`

### Public surface

* function: `process_webhook`

### External endpoint

* `https://api.trakt.tv`

### Pipeline

```mermaid
flowchart TD
  Plex[Plex webhook] --> W[Webhook handler]
  W -->|resolve IDs| IDS[imdb/tmdb/tvdb]
  W -->|scrobble| T[Trakt API]
  W -->|optional| WL[auto-remove watchlist]
```

### Config touchpoints

Common namespaces:

* `plex.*`
* `trakt.*`
* `auth.*`
* `scrobble.*`
* `runtime.*`

### Interactions

* updates `currently_watching` from payload (best effort)
* may call watchlist auto-remove
  {% endtab %}
  {% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.crosswatch.app/blueprint-architecture/scrobble/webhooks/webhook-plextrakt.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
