> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mtnmanager.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Webcams



## OpenAPI

````yaml GET /api/v1/report/webcams
openapi: 3.1.0
info:
  title: MtnManager API
  description: >-
    The MtnManager API provides real-time access to your ski resort’s public
    operational data. Use it to display current conditions on your website,
    mobile app, or digital signage.
  termsOfService: https://mtnmanager.com/terms
  contact:
    name: MtnManager Support
    url: https://docs.mtnmanager.com/developer/
    email: support@mtnmanager.com
  license:
    name: MIT
    identifier: MIT
  version: 1.0.0
servers:
  - url: https://{subdomain}.mtnmanager.com
    variables:
      subdomain:
        default: your-resort
        description: Your resort's unique subdomain
security: []
paths:
  /api/v1/report/webcams:
    get:
      tags:
        - MtnManager
      summary: Get webcams
      operationId: getWebcams
      parameters:
        - in: header
          name: Accept-Language
          description: >-
            Preferred language and optional region for human-readable strings in
            the response (e.g. operating hours summaries). Supports `en`, `fr`,
            `de`, `it`, and `es`, with optional region tags such as `fr-CA` or
            `de-CH`. Defaults to English when omitted or unsupported.
          schema:
            type: string
          example: fr-CA
          style: simple
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Webcam'
              example:
                - uuid: 11111111-1111-1111-1111-111111111111
                  name: Summit
                  latest_image_url: >-
                    https://powder-mountain.mtnmanager.net/webcam/cam/latest.webp
                  latest_daylight_image_url: >-
                    https://powder-mountain.mtnmanager.net/webcam/cam/latest-daylight.webp
                  latest_thumb_url: >-
                    https://powder-mountain.mtnmanager.net/webcam/cam/latest-thumb.webp
                  latest_daylight_thumb_url: >-
                    https://powder-mountain.mtnmanager.net/webcam/cam/latest-daylight-thumb.webp
                  latest_thumbhash: NAgCBIDnF9d4iHh/cYgAAAAAAA==
                  latest_daylight_thumbhash: NAgCBIDnF9d4iHh/cYgAAAAAAA==
                  has_history: true
                  elevation_ft: 10800
                  elevation_m: 3292
        '403':
          description: Endpoint not available for this resort. Feature may be disabled.
        '404':
          description: Resort not found.
        '429':
          description: Too many requests, temporarily rate limited.
        '500':
          description: An unexpected server error occurred.
        '503':
          description: Service temporarily unavailable.
      x-codeSamples:
        - lang: typescript
          label: TypeScript
          source: "import { MtnManagerApi, Configuration } from \"@mtnmanager/sdk\";\n\nconst api = new MtnManagerApi(\n\tnew Configuration({\n\t\tbasePath: \"https://your-resort.mtnmanager.com\",\n\t})\n);\n\ntry {\n    const data = await api.getWebcams();\n    console.log(data);\n} catch (error) {\n    console.error(error);\n}"
        - lang: go
          label: Go
          source: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\tmtnmanager \"github.com/mtnmanager/mtnmanager-sdk-go\"\n)\n\nfunc main() {\n\tconfiguration := mtnmanager.NewConfiguration()\n\tconfiguration.Servers = mtnmanager.ServerConfigurations{\n\t\t{URL: \"https://your-resort.mtnmanager.com\"},\n\t}\n\tclient := mtnmanager.NewAPIClient(configuration)\n\n\tdata, _, err := client.MtnManagerAPI.GetWebcams(context.Background()).Execute()\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Printf(\"%+v\\n\", data)\n}"
        - lang: php
          label: PHP
          source: |-
            <?php
            require_once(__DIR__ . '/vendor/autoload.php');

            $config = MtnManager\Configuration::getDefaultConfiguration()
                ->setHost('https://your-resort.mtnmanager.com');

            $apiInstance = new MtnManager\Api\MtnManagerApi(
                new GuzzleHttp\Client(),
                $config
            );

            try {
                $result = $apiInstance->getWebcams();
                print_r($result);
            } catch (Exception $e) {
                echo 'Exception: ', $e->getMessage(), PHP_EOL;
            }
        - lang: swift
          label: Swift
          source: |-
            import MtnManagerSDK

            let config = MtnManagerSDKAPIConfiguration(
                basePath: "https://your-resort.mtnmanager.com"
            )

            do {
                let data = try await MtnManagerAPI.getWebcams(apiConfiguration: config)
                print(data)
            } catch {
                print("Error: \(error)")
            }
components:
  schemas:
    Webcam:
      description: >-
        A public webcam entry. Consumers pick `latest` (always the newest frame)
        or
         `latest-daylight` (the last daylight frame, never a black night shot)
         depending on whether they want the freshest or a guaranteed-lit image.
      type: object
      properties:
        uuid:
          type: string
        name:
          type: string
        area_uuid:
          type:
            - string
            - 'null'
        area_name:
          type:
            - string
            - 'null'
        area_display_order:
          type:
            - integer
            - 'null'
          format: int32
        latest_image_url:
          description: URL of the newest frame (refreshes within ~60s via the edge cache).
          type: string
        latest_daylight_image_url:
          description: URL of the last daylight frame.
          type: string
        latest_thumb_url:
          type: string
        latest_daylight_thumb_url:
          type: string
        latest_thumbhash:
          description: |-
            ThumbHash of the `latest` frame (standard base64) — a compact blur
             placeholder to render while the image loads. Empty string until the first
             frame (or on cameras predating the feature).
          type: string
        latest_daylight_thumbhash:
          description: >-
            ThumbHash of the `latest-daylight` frame (standard base64). Empty
            string
             until the first daylight frame.
          type: string
        has_history:
          description: >-
            Whether this camera archives frames — i.e. whether its history
            endpoint
             returns anything. When `false`, don't call the history API for it.
          type: boolean
        elevation_ft:
          description: Camera elevation in both units; omitted when unset.
          type:
            - integer
            - 'null'
          format: int32
        elevation_m:
          type:
            - integer
            - 'null'
          format: int32
        last_frame_at:
          description: >-
            Time of the most recently published frame; omitted until the first
            frame.
          type:
            - string
            - 'null'
      required:
        - uuid
        - name
        - latest_image_url
        - latest_daylight_image_url
        - latest_thumb_url
        - latest_daylight_thumb_url
        - latest_thumbhash
        - latest_daylight_thumbhash
        - has_history

````