Sonarr Authentication API

The Authentication API from Sonarr — 5 operation(s) for authentication.

Operations 5

GET /login/sso Get login sso #
POST /login Create login #
POST /reset-password/request Create reset password request #
POST /reset-password Create reset password #
GET /logout Get logout #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/sonarr:sonarr-authentication-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

sonarr-authentication-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sonarr Authentication API
  license:
    name: GPL-3.0
    url: https://github.com/Sonarr/Sonarr/blob/develop/LICENSE
  version: '1.0'
  description: 'Operations tagged Authentication across 2 of this provider''s published API definitions: openapi_v3.json, openapi_v5.json. Each path carries the servers of the definition it was published in.'
servers:
- url: '{protocol}://{hostpath}'
  variables:
    protocol:
      default: http
      enum:
      - http
      - https
    hostpath:
      default: localhost:8989
security:
- X-Api-Key: []
- apikey: []
tags:
- name: Authentication
paths:
  /login/sso:
    get:
      tags:
      - Authentication
      parameters:
      - name: returnUrl
        in: query
        schema:
          type: string
      - name: rememberMe
        in: query
        schema:
          type: boolean
          default: false
      responses:
        '302':
          description: Found
      summary: Get login sso
      x-summary-source: derived
      operationId: getLoginSso
      x-operation-id-source: derived
    servers:
    - url: '{protocol}://{hostpath}'
      variables:
        protocol:
          default: http
          enum:
          - http
          - https
        hostpath:
          default: localhost:8989
  /login:
    post:
      tags:
      - Authentication
      parameters:
      - name: returnUrl
        in: query
        schema:
          type: string
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                username:
                  type: string
                password:
                  type: string
                rememberMe:
                  type: boolean
            encoding:
              username:
                style: form
              password:
                style: form
              rememberMe:
                style: form
      responses:
        '302':
          description: Found
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      summary: Create login
      x-summary-source: derived
      operationId: postLogin
      x-operation-id-source: derived
    servers:
    - url: '{protocol}://{hostpath}'
      variables:
        protocol:
          default: http
          enum:
          - http
          - https
        hostpath:
          default: localhost:8989
  /reset-password/request:
    post:
      tags:
      - Authentication
      responses:
        '302':
          description: Found
      summary: Create reset password request
      x-summary-source: derived
      operationId: postResetPasswordRequest
      x-operation-id-source: derived
    servers:
    - url: '{protocol}://{hostpath}'
      variables:
        protocol:
          default: http
          enum:
          - http
          - https
        hostpath:
          default: localhost:8989
  /reset-password:
    post:
      tags:
      - Authentication
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                token:
                  type: string
                username:
                  type: string
                password:
                  type: string
                passwordConfirmation:
                  type: string
            encoding:
              token:
                style: form
              username:
                style: form
              password:
                style: form
              passwordConfirmation:
                style: form
      responses:
        '302':
          description: Found
      summary: Create reset password
      x-summary-source: derived
      operationId: postResetPassword
      x-operation-id-source: derived
    servers:
    - url: '{protocol}://{hostpath}'
      variables:
        protocol:
          default: http
          enum:
          - http
          - https
        hostpath:
          default: localhost:8989
  /logout:
    get:
      tags:
      - Authentication
      responses:
        '302':
          description: Found
      summary: Get logout
      x-summary-source: derived
      operationId: getLogout
      x-operation-id-source: derived
    servers:
    - url: '{protocol}://{hostpath}'
      variables:
        protocol:
          default: http
          enum:
          - http
          - https
        hostpath:
          default: localhost:8989
components:
  schemas:
    ProblemDetails:
      type: object
      properties:
        type:
          type:
          - string
          - 'null'
        title:
          type:
          - string
          - 'null'
        status:
          type:
          - integer
          - 'null'
          format: int32
        detail:
          type:
          - string
          - 'null'
        instance:
          type:
          - string
          - 'null'
      additionalProperties: {}
  securitySchemes:
    X-Api-Key:
      type: apiKey
      description: Apikey passed as header
      name: X-Api-Key
      in: header
    apikey:
      type: apiKey
      description: Apikey passed as query parameter
      name: apikey
      in: query
x-refined-from:
- openapi_v3.json
- openapi_v5.json