ProSide Golf Scorecard Scan API

The scorecard-scan API from ProSide Golf — 12 operation(s) for scorecard-scan.

GitHub OpenAPI

Operations 12

GET /api/v1/scoring/scorecard/my-scans List My Scans #
GET /api/v1/scoring/scorecard/my-scans/history List My Scan History #
GET /api/v1/scoring/scorecard/by-pairing/{pairing_id} Get Scan By Pairing #
POST /api/v1/scoring/scorecard/scan Scan Scorecard Endpoint #
POST /api/v1/scoring/scorecard/extract Extract Scorecard Endpoint #
GET /api/v1/scoring/scorecard/{scan_id}/players Search Scorecard Players #
GET /api/v1/scoring/scorecard/{scan_id}/status Get Scan Status #
GET /api/v1/scoring/scorecard/{scan_id}/image-url Get Scan Image Url #
GET /api/v1/scoring/scorecard/{scan_id}/image Get Scan Image #
PATCH /api/v1/scoring/scorecard/{scan_id}/confirm Confirm Scan #
DELETE /api/v1/scoring/scorecard/{scan_id}/my-scores Delete My Scan Scores #
PATCH /api/v1/scoring/scorecard/{scan_id}/cancel Cancel Scan #

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/proside-io:proside-io-scorecard-scan-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

proside-io-scorecard-scan-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ProSide Golf Scorecard Scan API
  version: 3.0.0
tags:
- name: scorecard-scan
paths:
  /api/v1/scoring/scorecard/my-scans:
    get:
      tags:
      - scorecard-scan
      summary: List My Scans
      description: 'Return the caller''s unconfirmed scans (processing + ready).


        The initiator always has access, regardless of pairing membership.

        Results are sorted newest-first and capped at 20.'
      operationId: list_my_scans_api_v1_scoring_scorecard_my_scans_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  additionalProperties: true
                  type: object
                type: array
                title: Response List My Scans Api V1 Scoring Scorecard My Scans Get
      security:
      - HTTPBearer: []
  /api/v1/scoring/scorecard/my-scans/history:
    get:
      tags:
      - scorecard-scan
      summary: List My Scan History
      description: 'Return the caller''s scorecard scan history.


        Includes scans initiated by the player and scans that wrote scores for the

        player. This is intentionally separate from /my-scans, which remains the

        lightweight pending-scan endpoint used by the home screen.'
      operationId: list_my_scan_history_api_v1_scoring_scorecard_my_scans_history_get
      security:
      - HTTPBearer: []
      parameters:
      - name: status_filter
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Status Filter
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 50
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  additionalProperties: true
                title: Response List My Scan History Api V1 Scoring Scorecard My Scans History Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/scoring/scorecard/by-pairing/{pairing_id}:
    get:
      tags:
      - scorecard-scan
      summary: Get Scan By Pairing
      description: 'Return the latest non-cancelled scan for a given pairing.


        Returns {scan: {scan_id, status, scanned_at}} or {scan: null} when none exists.

        Auth: caller must be a member of the pairing or a platform super admin.'
      operationId: get_scan_by_pairing_api_v1_scoring_scorecard_by_pairing__pairing_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: pairing_id
        in: path
        required: true
        schema:
          type: string
          title: Pairing Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Scan By Pairing Api V1 Scoring Scorecard By Pairing  Pairing Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/scoring/scorecard/scan:
    post:
      tags:
      - scorecard-scan
      summary: Scan Scorecard Endpoint
      description: Compatibility path for clients that still poll extraction status.
      operationId: scan_scorecard_endpoint_api_v1_scoring_scorecard_scan_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_scan_scorecard_endpoint_api_v1_scoring_scorecard_scan_post'
        required: true
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Scan Scorecard Endpoint Api V1 Scoring Scorecard Scan Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/scoring/scorecard/extract:
    post:
      tags:
      - scorecard-scan
      summary: Extract Scorecard Endpoint
      description: Return a validated review draft in the upload request; never submit scores.
      operationId: extract_scorecard_endpoint_api_v1_scoring_scorecard_extract_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_extract_scorecard_endpoint_api_v1_scoring_scorecard_extract_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScorecardExtractionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/scoring/scorecard/{scan_id}/players:
    get:
      tags:
      - scorecard-scan
      summary: Search Scorecard Players
      description: Search review matches without changing the draft or granting score authority.
      operationId: search_scorecard_players_api_v1_scoring_scorecard__scan_id__players_get
      security:
      - HTTPBearer: []
      parameters:
      - name: scan_id
        in: path
        required: true
        schema:
          type: string
          title: Scan Id
      - name: q
        in: query
        required: true
        schema:
          type: string
          minLength: 2
          maxLength: 200
          title: Q
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ScorecardPlayerCandidate'
                title: Response Search Scorecard Players Api V1 Scoring Scorecard  Scan Id  Players Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/scoring/scorecard/{scan_id}/status:
    get:
      tags:
      - scorecard-scan
      summary: Get Scan Status
      description: 'Poll scan status. Returns full scorecard data when status is ''ready'' or ''confirmed''.


        Also returns can_edit / can_delete flags so the client can show action buttons

        without a separate permission check round-trip.'
      operationId: get_scan_status_api_v1_scoring_scorecard__scan_id__status_get
      security:
      - HTTPBearer: []
      parameters:
      - name: scan_id
        in: path
        required: true
        schema:
          type: string
          title: Scan Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Scan Status Api V1 Scoring Scorecard  Scan Id  Status Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/scoring/scorecard/{scan_id}/image-url:
    get:
      tags:
      - scorecard-scan
      summary: Get Scan Image Url
      description: Return a fresh 30-minute SAS URL for the scan image.
      operationId: get_scan_image_url_api_v1_scoring_scorecard__scan_id__image_url_get
      security:
      - HTTPBearer: []
      parameters:
      - name: scan_id
        in: path
        required: true
        schema:
          type: string
          title: Scan Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Scan Image Url Api V1 Scoring Scorecard  Scan Id  Image Url Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/scoring/scorecard/{scan_id}/image:
    get:
      tags:
      - scorecard-scan
      summary: Get Scan Image
      description: Proxy the scorecard image bytes through the backend to avoid browser CORS issues.
      operationId: get_scan_image_api_v1_scoring_scorecard__scan_id__image_get
      security:
      - HTTPBearer: []
      parameters:
      - name: scan_id
        in: path
        required: true
        schema:
          type: string
          title: Scan Id
      responses:
        '200':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/scoring/scorecard/{scan_id}/confirm:
    patch:
      tags:
      - scorecard-scan
      summary: Confirm Scan
      description: Apply score corrections, mark scan confirmed, and optionally post to GHIN.
      operationId: confirm_scan_api_v1_scoring_scorecard__scan_id__confirm_patch
      security:
      - HTTPBearer: []
      parameters:
      - name: scan_id
        in: path
        required: true
        schema:
          type: string
          title: Scan Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConfirmScanRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConfirmScanResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/scoring/scorecard/{scan_id}/my-scores:
    delete:
      tags:
      - scorecard-scan
      summary: Delete My Scan Scores
      description: 'Delete the authenticated player''s EventScore rows that came from this scan.


        Guards for non-admins:

        - Round must not be completed or official.

        - Scan context must be "standalone" (individual round, not an org event).

        - Scores must not have been posted to GHIN by this player.


        Super-admins bypass the standalone and GHIN checks; only the round-status

        guard applies.'
      operationId: delete_my_scan_scores_api_v1_scoring_scorecard__scan_id__my_scores_delete
      security:
      - HTTPBearer: []
      parameters:
      - name: scan_id
        in: path
        required: true
        schema:
          type: string
          title: Scan Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Delete My Scan Scores Api V1 Scoring Scorecard  Scan Id  My Scores Delete
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/scoring/scorecard/{scan_id}/cancel:
    patch:
      tags:
      - scorecard-scan
      summary: Cancel Scan
      description: 'Mark a scan as cancelled so it is excluded from pending-scan lists.


        Only the scan initiator may cancel their own scan, and only while it is

        in ''processing'' or ''ready'' status. Scores already committed to EventScore

        are NOT deleted by this call — use DELETE /my-scores for that.'
      operationId: cancel_scan_api_v1_scoring_scorecard__scan_id__cancel_patch
      security:
      - HTTPBearer: []
      parameters:
      - name: scan_id
        in: path
        required: true
        schema:
          type: string
          title: Scan Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Cancel Scan Api V1 Scoring Scorecard  Scan Id  Cancel Patch
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    Body_scan_scorecard_endpoint_api_v1_scoring_scorecard_scan_post:
      properties:
        image:
          type: string
          contentMediaType: application/octet-stream
          title: Image
        pairing:
          type: string
          title: Pairing
        context:
          type: string
          title: Context
        pairing_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Pairing Id
        round_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Round Id
        event_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Event Id
        course_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Course Id
        course_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Course Name
        round_date:
          anyOf:
          - type: string
          - type: 'null'
          title: Round Date
        tee_selections:
          anyOf:
          - type: string
          - type: 'null'
          title: Tee Selections
      type: object
      required:
      - image
      - pairing
      - context
      title: Body_scan_scorecard_endpoint_api_v1_scoring_scorecard_scan_post
    ScorecardExtractionResponse:
      properties:
        scan_id:
          type: string
          title: Scan Id
        status:
          type: string
          enum:
          - ready
          - processing
          title: Status
        scorecard:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Scorecard
        scan_meta:
          additionalProperties: true
          type: object
          title: Scan Meta
        confidence_summary:
          additionalProperties: true
          type: object
          title: Confidence Summary
        low_confidence_holes:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Low Confidence Holes
        unmatched_players:
          items:
            type: string
          type: array
          title: Unmatched Players
        model_used:
          anyOf:
          - type: string
          - type: 'null'
          title: Model Used
      type: object
      required:
      - scan_id
      - status
      title: ScorecardExtractionResponse
    ScorecardPlayerCandidate:
      properties:
        player_id:
          type: string
          title: Player Id
        name:
          type: string
          title: Name
      type: object
      required:
      - player_id
      - name
      title: ScorecardPlayerCandidate
    ConfirmScanRequest:
      properties:
        selected_player_ids:
          items:
            type: string
          type: array
          title: Selected Player Ids
        corrections:
          additionalProperties:
            additionalProperties:
              anyOf:
              - type: integer
              - type: 'null'
            type: object
          type: object
          title: Corrections
        player_matches:
          additionalProperties:
            anyOf:
            - type: string
            - type: 'null'
          type: object
          title: Player Matches
        post_to_ghin:
          type: boolean
          title: Post To Ghin
          default: false
        ghin_payload:
          additionalProperties: true
          type: object
          title: Ghin Payload
      type: object
      required:
      - selected_player_ids
      title: ConfirmScanRequest
    ConfirmScanResponse:
      properties:
        success:
          type: boolean
          title: Success
          description: Whether the ProSide scan confirmation was saved.
        outcome:
          type: string
          enum:
          - success
          - partial_success
          title: Outcome
        scan_id:
          type: string
          title: Scan Id
        status:
          type: string
          title: Status
        scan_confirmed:
          type: boolean
          title: Scan Confirmed
        ghin_requested:
          type: boolean
          title: Ghin Requested
        ghin_post_status:
          type: string
          enum:
          - not_requested
          - posted
          - failed
          - reconciliation_required
          title: Ghin Post Status
        ghin_posted:
          type: boolean
          title: Ghin Posted
        message:
          type: string
          title: Message
        ghin_post_error:
          items:
            type: string
          type: array
          title: Ghin Post Error
      type: object
      required:
      - success
      - outcome
      - scan_id
      - status
      - scan_confirmed
      - ghin_requested
      - ghin_post_status
      - ghin_posted
      - message
      title: ConfirmScanResponse
      description: 'Result of saving a reviewed scan and its optional GHIN side effect.


        ``success`` and ``scan_confirmed`` describe the durable ProSide save. A

        caller must also inspect ``outcome`` or ``ghin_post_status`` before

        presenting an optional GHIN post as successful.'
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Body_extract_scorecard_endpoint_api_v1_scoring_scorecard_extract_post:
      properties:
        image:
          type: string
          contentMediaType: application/octet-stream
          title: Image
        pairing:
          type: string
          title: Pairing
        context:
          type: string
          title: Context
        pairing_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Pairing Id
        round_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Round Id
        event_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Event Id
        course_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Course Id
        course_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Course Name
        round_date:
          anyOf:
          - type: string
          - type: 'null'
          title: Round Date
        tee_selections:
          anyOf:
          - type: string
          - type: 'null'
          title: Tee Selections
      type: object
      required:
      - image
      - pairing
      - context
      title: Body_extract_scorecard_endpoint_api_v1_scoring_scorecard_extract_post
    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
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer