settings

Create Sonarr instance

Creates a new Sonarr instance from the request body.

post/settings/sonarr

Request

  • Base URL: http://localhost:5055/api/v1
  • URL: http://localhost:5055/api/v1/settings/sonarr
  • Auth: one of:
    • API key in cookie connect.sid
    • API key in header X-Api-Key

Request body

idnumber
namestring required
hostnamestring required
portnumber required
apiKeystring required
useSslboolean required
baseUrlstring
activeProfileIdnumber required
activeProfileNamestring required
activeDirectorystring required
activeLanguageProfileIdnumber
activeAnimeProfileIdnumber nullable
activeAnimeLanguageProfileIdnumber nullable
activeAnimeProfileNamestring nullable
activeAnimeDirectorystring nullable
is4kboolean required
enableSeasonFoldersboolean required
isDefaultboolean required
externalUrlstring
syncEnabledboolean
preventSearchboolean

Example request

{
  "name": "Sonarr Main",
  "hostname": "127.0.0.1",
  "port": 8989,
  "apiKey": "exampleapikey",
  "activeProfileId": 1,
  "activeProfileName": "720p/1080p",
  "activeDirectory": "/tv/",
  "activeLanguageProfileId": 1,
  "activeAnimeProfileName": "720p/1080p",
  "externalUrl": "http://radarr.example.com"
}

Response

New Sonarr instance created

idnumber
namestring required
hostnamestring required
portnumber required
apiKeystring required
useSslboolean required
baseUrlstring
activeProfileIdnumber required
activeProfileNamestring required
activeDirectorystring required
activeLanguageProfileIdnumber
activeAnimeProfileIdnumber nullable
activeAnimeLanguageProfileIdnumber nullable
activeAnimeProfileNamestring nullable
activeAnimeDirectorystring nullable
is4kboolean required
enableSeasonFoldersboolean required
isDefaultboolean required
externalUrlstring
syncEnabledboolean
preventSearchboolean

Example response

{
  "name": "Sonarr Main",
  "hostname": "127.0.0.1",
  "port": 8989,
  "apiKey": "exampleapikey",
  "activeProfileId": 1,
  "activeProfileName": "720p/1080p",
  "activeDirectory": "/tv/",
  "activeLanguageProfileId": 1,
  "activeAnimeProfileName": "720p/1080p",
  "externalUrl": "http://radarr.example.com"
}

Changes

No recorded changes to this operation across all 21 revisions of this API.