---
title: "Add an artifact to a UWP app version"
method: POST
path: "/v2/tenant-apps/{appId}/versions/{versionId}/artifacts"
tags: ["apps_management_Tenant Apps"]
---

# Add an artifact to a UWP app version

`POST /v2/tenant-apps/{appId}/versions/{versionId}/artifacts`

Uploads a per-version artifact (a UWP framework dependency or signing
certificate) for a TENANT_WINDOWS_UWP app version.

## Path parameters

- `appId` string, uuid, required
- `versionId` string, uuid, required

## Response `200`

Success

- object
  - `content` AppsManagementArtifactMutationResponse — Identifies the artifact affected by an add/delete (identity-style, like the app upload response) so the caller can refresh its view without a full re-fetch.
    - `id` string, uuid — The affected artifact's id.
    - `version_id` string, uuid — The app version the artifact belongs to.
    - `tenant_id` string, uuid
    - `artifact_type` 'UWP_DEPENDENCY' | 'UWP_CERTIFICATE' — The artifact discriminator.
    - `file_name` string, nullable — The artifact's original filename.
    - `metadata` AppsManagementAppVersionArtifactMetadata — Type-specific attributes of an artifact. All fields are optional; only those relevant to the artifact's type are populated.
      - `package_family_name` string, nullable — The dependency package's own package family name (UWP_DEPENDENCY).
      - `package_dependency_name` string, nullable — The <PackageDependency Name> declared by the main package manifest (UWP_DEPENDENCY).
      - `min_version` string, nullable — The minimum required version declared by the main package manifest (UWP_DEPENDENCY).
      - `version_name` string, nullable — The actual version of the uploaded dependency package (UWP_DEPENDENCY).
      - `architecture` string, nullable — The dependency package architecture, e.g. x64, x86, arm64 (UWP_DEPENDENCY).
      - `cert_thumbprint` string, nullable — SHA1 thumbprint of the signing certificate (UWP_CERTIFICATE).

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found (the app version does not exist)
- `500` — Internal Server Error

---

[API](https://skmtc.net/esper/apis/esper-api-reference.md) · [All operations](https://skmtc.net/esper/apis/esper-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/esper/esper-api-reference/revisions/e1f64cbb488e/schema)
