Skip to content
Maua.Culturewire

Sonarr

TV series, episodes, calendar and downloads of your Sonarr

Media and entertainmentCatalog1 tool · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • Sonarr URLRequiredHTTPS URL
    • API keySecretRequired

    Where to find them

    1. In Sonarr open “Settings” → “General”.
    2. In the “Security” section, click the copy button next to “API Key” (the red button next to it generates a new key).
    3. Paste it here, together with the address you open Sonarr at. Sonarr has a single API key with full access (series, downloads, settings and system), shared with every app connected to it (Prowlarr, Overseerr…): generating a new one disconnects all of them.

    Get credentials (opens in a new tab)

Tools (1)

  • Sonarr API requestSONARR_SEND_REQUEST

    Authenticated call to the Sonarr API ({url}/api/v3). Any endpoint of the API is allowed. GET /series returns every series in full (seasons, images and statistics: 3 to 15 KB each, without paging), so in a large library find one with GET /series?tvdbId=… or GET /series/lookup?term=… (series already in Sonarr come back with their “id”). Examples: GET /series/{id}, GET /series/lookup?term=the expanse (searches TheTVDB, several KB per match, so a common title can be cut off; term=tvdb:280619 for one exact match), POST /series {"tvdbId":280619,"title":"The Expanse","qualityProfileId":1,"rootFolderPath":"/tv","monitored":true,"seasonFolder":true,"addOptions":{"monitor":"all","searchForMissingEpisodes":false}} (tvdbId and title from the lookup, qualityProfileId from GET /qualityprofile, a long answer in which only id and name matter, rootFolderPath from GET /rootfolder; without monitored and seasonFolder the series is added unmonitored and without season folders; monitor: which episodes to monitor, e.g.

    Required scopes

    No scopes required

    Input

    Sonarr API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.