western-digital Sharing API

Create and manage file shares.

Operations 1

POST /v1/shares Create Share #

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/western-digital-sharing-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

western-digital-sharing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WD My Cloud Home Authentication Sharing API
  description: The WD My Cloud Home REST API enables off-device applications to manage files and folders on a user's My Cloud Home NAS device. It supports file upload, download, listing, search, sharing, thumbnails, and device discovery via OAuth 2.0 authentication.
  version: v2
  termsOfService: https://www.westerndigital.com/legal/terms-of-use
  contact:
    name: Western Digital Developer Support
    url: https://developer.westerndigital.com/develop/wd-my-cloud-home/forms.html
  license:
    name: Western Digital Developer Terms
    url: https://developer.westerndigital.com/develop/wd-my-cloud-home/
servers:
- url: https://config.mycloud.com
  description: Configuration service — call first to get device and auth URLs
- url: https://device.mycloud.com
  description: Device service (dynamically resolved per device)
- url: https://wdc.auth0.com
  description: Authentication service
tags:
- name: Sharing
  description: Create and manage file shares.
paths:
  /v1/shares:
    post:
      operationId: createShare
      summary: Create Share
      description: Creates a share link for one or more files on the device.
      tags:
      - Sharing
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ShareCreateRequest'
            example:
              ownerId: user123
              deviceId: device456
              fileIds:
              - file789
              - file101
      responses:
        '201':
          description: Share created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Share'
        '401':
          description: Unauthorized.
components:
  schemas:
    ShareCreateRequest:
      type: object
      properties:
        ownerId:
          type: string
          description: Owner user ID.
        deviceId:
          type: string
          description: Device ID where the files reside.
        fileIds:
          type: array
          items:
            type: string
          description: List of file IDs to share.
        expirationDate:
          type: string
          format: date-time
          description: Optional share expiration date.
      required:
      - ownerId
      - deviceId
      - fileIds
    Share:
      type: object
      properties:
        id:
          type: string
          description: Unique share identifier.
        shareUrl:
          type: string
          format: uri
          description: Public URL for the share.
        ownerId:
          type: string
        deviceId:
          type: string
        fileIds:
          type: array
          items:
            type: string
        createdTime:
          type: string
          format: date-time
        expirationDate:
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: OAuth 2.0 Bearer token obtained via the /oauth/token endpoint. Include in Authorization header as "Bearer {token}".