Search for missing episodes via api

I want to make a script to automatically search for missing episodes.
First I do a GET wanted/missing and compare that with the GET queue so as to exclude the currently downloaded episodes.
How can I search for a missing episode through the api?

https://sonarr.tv/docs/api/#/Command/post_api_v3_command

The command you want to use is MissingEpisodeSearch: Sonarr/MissingEpisodeSearchCommand.cs at develop · Sonarr/Sonarr · GitHub

Sonarr already filters out items in the queue. You can also look at what the UI does, it uses the API for everything.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.