> 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/crosswatch/advanced-and-api/api-reference/scrobbling-and-webhooks.md).

# Scrobbling and webhooks

Watcher configuration, runtime control, webhook delivery, and activity endpoints.

Use these endpoints for real-time playback processing.

### Scrobbler configuration

| Method   | Endpoint                                     | Purpose                                               |
| -------- | -------------------------------------------- | ----------------------------------------------------- |
| `GET`    | `/api/scrobbler/overview`                    | Return sources, routes, profiles, and generated URLs. |
| `POST`   | `/api/scrobbler/webhooks/profile`            | Create or update a profile webhook.                   |
| `POST`   | `/api/scrobbler/webhooks/profile/disable`    | Disable or remove a profile webhook.                  |
| `POST`   | `/api/scrobbler/webhooks/profile/regenerate` | Regenerate a webhook token.                           |
| `POST`   | `/api/scrobbler/routes`                      | Create a Watcher route.                               |
| `PUT`    | `/api/scrobbler/routes/{route_id}`           | Update a route.                                       |
| `DELETE` | `/api/scrobbler/routes/{route_id}`           | Delete a route.                                       |
| `POST`   | `/api/scrobbler/settings`                    | Save global scrobbler settings.                       |

Use the generated URLs. Do not construct webhook tokens manually.

### Watcher runtime

| Method | Endpoint                        | Purpose                               |
| ------ | ------------------------------- | ------------------------------------- |
| `GET`  | `/api/watch/status`             | Return Watcher route and group state. |
| `GET`  | `/api/watch/currently_watching` | Return active playback streams.       |
| `GET`  | `/api/watch/logs`               | Return selected Watcher logs.         |
| `POST` | `/api/watch/start`              | Start configured routes.              |
| `POST` | `/api/watch/stop`               | Stop all routes.                      |
| `POST` | `/api/watch/refresh`            | Reload route configuration.           |

### Inbound webhooks

| Method | Endpoint               | Source              |
| ------ | ---------------------- | ------------------- |
| `POST` | `/webhook/plex`        | Plex playback.      |
| `POST` | `/webhook/jellyfin`    | Jellyfin playback.  |
| `POST` | `/webhook/emby`        | Emby playback.      |
| `POST` | `/webhook/plexwatcher` | Plex rating events. |

Webhook handlers often acknowledge events with HTTP `200`, including ignored events. Inspect the JSON body for the processing result.

Legacy aliases remain available at `/webhook/plextrakt`, `/webhook/jellyfintrakt`, and `/webhook/embytrakt`.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://wiki.crosswatch.app/crosswatch/advanced-and-api/api-reference/scrobbling-and-webhooks.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
