Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
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.
openapi: 3.2.0
info:
title: WD My Cloud Home User 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: User
description: User account information.
paths:
/userinfo:
get:
operationId: getUserInfo
summary: Get User Information
description: Returns profile information for the authenticated user.
tags:
- User
servers:
- url: https://wdc.auth0.com
security:
- bearerAuth: []
responses:
'200':
description: User profile information.
content:
application/json:
schema:
$ref: '#/components/schemas/UserInfo'
'401':
description: Unauthorized.
/authservice/v2/auth0/user:
get:
operationId: getAuthUser
summary: Get Authenticated User
description: Returns the authenticated user's account details from the auth service.
tags:
- User
security:
- bearerAuth: []
responses:
'200':
description: Authenticated user details.
content:
application/json:
schema:
$ref: '#/components/schemas/UserAccount'
'401':
description: Unauthorized.
components:
schemas:
UserAccount:
type: object
properties:
id:
type: string
email:
type: string
format: email
firstName:
type: string
lastName:
type: string
username:
type: string
UserInfo:
type: object
properties:
sub:
type: string
description: Subject identifier (user ID).
email:
type: string
format: email
name:
type: string
picture:
type: string
format: uri
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}".