Scalar login-portals API

The login-portals API from Scalar — 3 operation(s) for login-portals.

Operations 5

GET /login-portals/{slug} #
GET /login-portals #
POST /login-portals #
DELETE /login-portals #
POST /login-portals/update #

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/scalar-login-portals-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

scalar-login-portals-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Core access-groups Login Portals API
  description: Core services for Scalar
  version: 1.0.1
  contact:
    name: Marc from Scalar
    url: https://scalar.com
    email: support@scalar.com
security:
- BearerAuth: []
tags:
- name: login-portals
paths:
  /login-portals/{slug}:
    get:
      tags:
      - login-portals
      description: Get a login portal
      operationId: getloginPortalsSlug
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/login-portal'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/400'
        '401':
          description: No auth
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/401'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/403'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/404'
        '422':
          description: Invalid payload
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/422'
        '500':
          description: Uncaught error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/500'
      parameters:
      - schema:
          type: string
        in: path
        name: slug
        required: true
  /login-portals:
    get:
      tags:
      - login-portals
      description: Get a list of all login portals for the team
      operationId: getloginPortals
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    uid:
                      $ref: '#/components/schemas/nanoid'
                    title:
                      type: string
                      maxLength: 200
                    slug:
                      $ref: '#/components/schemas/slug'
                  required:
                  - uid
                  - title
                  - slug
                  additionalProperties: false
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/400'
        '401':
          description: No auth
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/401'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/403'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/404'
        '422':
          description: Invalid payload
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/422'
        '500':
          description: Uncaught error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/500'
    post:
      tags:
      - login-portals
      description: Create a new login portal for the team
      operationId: postloginPortals
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  uid:
                    type: string
                required:
                - uid
                additionalProperties: false
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/400'
        '401':
          description: No auth
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/401'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/403'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/404'
        '422':
          description: Invalid payload
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/422'
        '500':
          description: Uncaught error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/500'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                title:
                  type: string
                slug:
                  type: string
                email:
                  $ref: '#/components/schemas/login-portal-email'
                page:
                  $ref: '#/components/schemas/login-portal-page'
              required:
              - title
              - slug
              - email
              - page
              additionalProperties: false
        required: true
    delete:
      tags:
      - login-portals
      description: Delete a specific login portal
      operationId: deleteloginPortals
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: 'null'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/400'
        '401':
          description: No auth
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/401'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/403'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/404'
        '422':
          description: Invalid payload
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/422'
        '500':
          description: Uncaught error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/500'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                slug:
                  type: string
              required:
              - slug
              additionalProperties: false
        required: true
  /login-portals/update:
    post:
      tags:
      - login-portals
      description: Update login portals metadata
      operationId: postloginPortalsUpdate
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: 'null'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/400'
        '401':
          description: No auth
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/401'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/403'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/404'
        '422':
          description: Invalid payload
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/422'
        '500':
          description: Uncaught error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/500'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                slug:
                  type: string
                title:
                  type: string
              required:
              - slug
              additionalProperties: false
        required: true
components:
  schemas:
    login-portal:
      type: object
      properties:
        uid:
          $ref: '#/components/schemas/nanoid'
        title:
          type: string
          maxLength: 200
        slug:
          $ref: '#/components/schemas/slug'
        email:
          $ref: '#/components/schemas/login-portal-email'
        page:
          $ref: '#/components/schemas/login-portal-page'
      required:
      - uid
      - title
      - slug
      - email
      - page
      additionalProperties: false
    '401':
      type: object
      properties:
        message:
          type: string
        code:
          type: string
      required:
      - message
      - code
    login-portal-page:
      type: object
      properties:
        title:
          default: Scalar Private Docs
          type: string
          maxLength: 100
        description:
          default: Login to access your documentation
          type: string
          maxLength: 500
        head:
          default: ''
          type: string
        script:
          default: ''
          type: string
        theme:
          default: ''
          type: string
        companyName:
          default: ''
          type: string
          maxLength: 100
        logo:
          default: ''
          type: string
        logoURL:
          default: ''
          type: string
        favicon:
          default: ''
          type: string
        termsLink:
          default: ''
          type: string
        privacyLink:
          default: ''
          type: string
        formTitle:
          default: Scalar Private Docs
          type: string
          maxLength: 100
        formDescription:
          default: Login to access your documentation
          type: string
          maxLength: 500
        formImage:
          default: ''
          type: string
      required:
      - title
      - description
      - head
      - script
      - theme
      - companyName
      - logo
      - logoURL
      - favicon
      - termsLink
      - privacyLink
      - formTitle
      - formDescription
      - formImage
      additionalProperties: false
    '500':
      type: object
      properties:
        message:
          type: string
        code:
          type: string
      required:
      - message
      - code
    '400':
      type: object
      properties:
        message:
          type: string
        code:
          type: string
      required:
      - message
      - code
    slug:
      type: string
      minLength: 3
      maxLength: 60
      pattern: ^[a-z](?:[a-z0-9-]*[a-z0-9])?$
    login-portal-email:
      type: object
      properties:
        logo:
          default: ''
          type: string
        logoSize:
          default: '100'
          type: string
        buttonText:
          default: Login
          type: string
          maxLength: 50
        message:
          default: Click to access private documentation hosted by scalar.com
          type: string
          maxLength: 1000
        title:
          default: Private Docs
          type: string
          maxLength: 100
        mainColor:
          default: '#2a2f45'
          type: string
          maxLength: 100
        mainBackground:
          default: '#f6f6f6'
          type: string
          maxLength: 100
        cardColor:
          default: 2a2f45
          type: string
          maxLength: 100
        cardBackground:
          default: '#fff'
          type: string
          maxLength: 100
        buttonColor:
          default: '#fff'
          type: string
          maxLength: 100
        buttonBackground:
          default: '#0f0f0f'
          type: string
          maxLength: 100
      required:
      - logo
      - logoSize
      - buttonText
      - message
      - title
      - mainColor
      - mainBackground
      - cardColor
      - cardBackground
      - buttonColor
      - buttonBackground
      additionalProperties: false
    nanoid:
      type: string
      minLength: 5
    '403':
      type: object
      properties:
        message:
          type: string
        code:
          type: string
      required:
      - message
      - code
    '404':
      type: object
      properties:
        message:
          type: string
        code:
          type: string
      required:
      - message
      - code
    '422':
      type: object
      properties:
        message:
          type: string
        code:
          type: string
      required:
      - message
      - code
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT