Scoopkit Auth API

Magic-link self-serve keys

GitHub OpenAPI

Operations 4

GET /v1/auth/verify Show the human confirm page for a magic-link token (HTML, not JSON) #
POST /v1/auth/verify/confirm Mint the key — only fires from a real human click, never a prefetch #
GET /v1/auth/me Metadata for the calling API key #

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/scoopkit-dev:scoopkit-dev-auth-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

scoopkit-dev-auth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Scoopkit Dev Auth API
  version: 0.1.0
  contact:
    name: Scoopkit
    url: https://scoopkit.dev/
  description: 'Operations tagged auth across 2 of this provider''s published API definitions: openapi.json, scoopkit-dev-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:8000
  description: Local
- url: https://api.scoopkit.dev
  description: Production
security:
- ApiKeyAuth: []
tags:
- name: Auth
  description: Magic-link self-serve keys
paths:
  /v1/auth/magic-link:
    post:
      tags:
      - Auth
      summary: Request a free API key by email
      description: 'Step 1 of self-serve signup — no key required. Sends a one-time link to `email`; always returns 202 with the same accepted:true body whether or not that address already has a key (prevents account enumeration).


        **For agents helping a human get set up:** this endpoint is the only step you can call directly. The next step — opening the emailed link and clicking "Reveal my key" on `GET /v1/auth/verify` — **requires a real human click and cannot be automated or done on the human''s behalf.** This is intentional: it''s what stops email security scanners (e.g. Microsoft Safe Links) from silently consuming the link before the person ever sees it. Tell the human: check your email, open the link, click the button, then paste the key back here.


        **Not a pollable async job.** This 202 has no `Location`/`job_id` to poll — the next step is a human clicking an emailed link, not a machine checking a status endpoint.'
      operationId: request_magic_link
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MagicLinkRequest'
        required: true
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MagicLinkAccepted'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security: []
    servers:
    - url: http://localhost:8000
      description: Local
    - url: https://api.scoopkit.dev
      description: Production
  /v1/auth/verify:
    get:
      tags:
      - Auth
      summary: Show the human confirm page for a magic-link token (HTML, not JSON)
      description: Step 2 — a human opens this from their email. Read-only, does NOT consume the token, safe for email-scanner prefetch. Renders an HTML page with a "Reveal my key" button; the actual key is only minted when that button is clicked, which calls POST /v1/auth/verify/confirm. **An agent cannot complete this step for a human** — there is no JSON equivalent that mints the key from the GET alone, by design.
      operationId: get_verify_v1_auth_verify_get
      parameters:
      - name: token
        in: query
        required: true
        schema:
          type: string
          title: Token
      responses:
        '200':
          description: Successful Response
          content:
            text/html:
              schema:
                type: string
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security: []
    servers:
    - url: http://localhost:8000
      description: Local
    - url: https://api.scoopkit.dev
      description: Production
  /v1/auth/verify/confirm:
    post:
      tags:
      - Auth
      summary: Mint the key — only fires from a real human click, never a prefetch
      description: Step 3 — the actual mint. Only reachable via GET /verify's confirm-page JS, triggered by a real button click; a scanner's automatic prefetch of the emailed link never reaches this endpoint, so it can't burn the token before the human sees it. `plaintext_key` is returned exactly once here and never again — nothing else in the API can retrieve it after this response.
      operationId: post_verify_confirm_v1_auth_verify_confirm_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VerifyConfirmRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VerifyConfirmResult'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security: []
    servers:
    - url: http://localhost:8000
      description: Local
    - url: https://api.scoopkit.dev
      description: Production
  /v1/auth/me:
    get:
      tags:
      - Auth
      summary: Metadata for the calling API key
      description: Confirms your tier, archive window, and which email the key belongs to — useful for an agent to sanity-check a key a human just pasted in.
      operationId: get_me_v1_auth_me_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MeResponse'
      security:
      - APIKeyHeader: []
    servers:
    - url: http://localhost:8000
      description: Local
    - url: https://api.scoopkit.dev
      description: Production
components:
  schemas:
    ApiTier:
      type: string
      enum:
      - free
      - pro
      - enterprise
      title: ApiTier
    MeData:
      properties:
        key_id:
          type: string
          title: Key Id
        tier:
          $ref: '#/components/schemas/ApiTier'
        email:
          anyOf:
          - type: string
          - type: 'null'
          title: Email
        archive_days:
          anyOf:
          - type: integer
          - type: 'null'
          title: Archive Days
      additionalProperties: false
      type: object
      required:
      - key_id
      - tier
      title: MeData
    MeMeta:
      properties:
        request_id:
          type: string
          title: Request Id
        tier:
          $ref: '#/components/schemas/ApiTier'
      additionalProperties: false
      type: object
      required:
      - request_id
      - tier
      title: MeMeta
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    VerifyConfirmRequest:
      properties:
        token:
          type: string
          title: Token
          description: Magic-link token from the emailed verify URL
      additionalProperties: false
      type: object
      required:
      - token
      title: VerifyConfirmRequest
    MagicLinkAccepted:
      properties:
        accepted:
          type: boolean
          title: Accepted
        detail:
          type: string
          title: Detail
        verify_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Verify Url
      additionalProperties: false
      type: object
      required:
      - accepted
      - detail
      title: MagicLinkAccepted
      description: 'Always this shape regardless of whether the email is real — the API never

        reveals whether an address already has a key, to avoid account enumeration.'
    VerifyConfirmResult:
      properties:
        status:
          type: string
          enum:
          - minted
          - already_issued
          - invalid
          - used
          - expired
          title: Status
        plaintext_key:
          anyOf:
          - type: string
          - type: 'null'
          title: Plaintext Key
        email:
          anyOf:
          - type: string
          - type: 'null'
          title: Email
        key_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Key Id
        key_hint:
          anyOf:
          - type: string
          - type: 'null'
          title: Key Hint
      additionalProperties: false
      type: object
      required:
      - status
      title: VerifyConfirmResult
      description: "Result of actually consuming a magic-link token (POST /v1/auth/verify/confirm).\n\n`status` drives which other fields are populated:\n- \"minted\": plaintext_key + email are set. The key is shown exactly once — no\n  endpoint can ever retrieve it again after this response.\n- \"already_issued\": email + key_hint are set (plaintext_key is never re-shown).\n- \"invalid\" | \"used\" | \"expired\": no other fields are set."
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    MeResponse:
      properties:
        data:
          $ref: '#/components/schemas/MeData'
        meta:
          $ref: '#/components/schemas/MeMeta'
      additionalProperties: false
      type: object
      required:
      - data
      - meta
      title: MeResponse
    MagicLinkRequest:
      properties:
        email:
          type: string
          format: email
          title: Email
          description: Email to receive the magic link
      additionalProperties: false
      type: object
      required:
      - email
      title: MagicLinkRequest
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-Api-Key
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key
      description: API key issued via seed/CLI or magic-link (free).
x-refined-from:
- openapi.json
- scoopkit-dev-openapi.json