---
title: "Upload files to the Member's account."
method: POST
path: "/Ams/{ClientID}/Member/{MemberID}/FilesUpload"
tags: ["Ams"]
---

# Upload files to the Member's account.

`POST /Ams/{ClientID}/Member/{MemberID}/FilesUpload`

## Request

- Base URL: `https://ws.yourmembership.com`
- URL: `https://ws.yourmembership.com/Ams/{ClientID}/Member/{MemberID}/FilesUpload`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/yourmembership/apis/ym-rest-services/docs/Ams/:ClientID/Member/:MemberID/FilesUpload/post.ts> (a function with typed inputs; its response is checked against the schema)

Upload files to the Member's account.

## Path parameters

- `MemberID` integer, required
- `ClientID` integer, required

## Request body `application/x-www-form-urlencoded`

- object
  - `GroupId` integer
  - `AlbumId` integer
  - `Caption` string
  - `FileType` 'Profile' | 'Gallery' | 'Logo' | 'Feed' | 'Document' | 'OrgPostPhoto' | 'OrgImageAsset'
  - `ResponseStatus` string
  - `BypassCache` boolean
  - `DateCached` string, date-time
  - `Device` string

## Response `200`

Success

- FilesUploadResponse: FilesUploadResponse
  - `Url` string[]
  - `Orientation` 'None' | 'Portrait' | 'Landscape'
  - `GroupId` integer
  - `AlbumId` integer
  - `Caption` string
  - `FileType` 'Profile' | 'Gallery' | 'Logo' | 'Feed' | 'Document' | 'OrgPostPhoto' | 'OrgImageAsset'
  - `MemberID` integer
  - `ClientID` integer
  - `ResponseStatus` ResponseStatus: ResponseStatus
    - `ErrorCode` string
    - `Message` string
    - `StackTrace` string
    - `Errors` ResponseError[]
      - `ErrorCode` string
      - `FieldName` string
      - `Message` string
      - `Meta` DictionaryStringString: Dictionary<String,String>
    - `Meta` DictionaryStringString: Dictionary<String,String>
  - `BypassCache` boolean
  - `DateCached` string, date-time
  - `Device` string

---

[API](https://skmtc.dev/yourmembership/apis/ym-rest-services.md) - [All operations](https://skmtc.dev/yourmembership/apis/ym-rest-services/llms.txt) - [OpenAPI document](https://skmtc.dev/yourmembership/apis/ym-rest-services/revisions/8d8a2e7e7d56?raw)
