---
title: "POST /androidpublisher/v3/applications/{packageName}/appRecoveries"
method: POST
path: "/androidpublisher/v3/applications/{packageName}/appRecoveries"
tags: ["apprecovery"]
---

# POST /androidpublisher/v3/applications/{packageName}/appRecoveries

`POST /androidpublisher/v3/applications/{packageName}/appRecoveries`

Create an app recovery action with recovery status as DRAFT. Note that this action does not execute the recovery action.

## Path parameters

- `packageName` string, required

## Request body

- CreateDraftAppRecoveryRequest — Request message for CreateDraftAppRecovery.
  - `targeting` Targeting — Targeting details for a recovery action such as regions, android sdk levels, app versions etc.
    - `versionList` AppVersionList — Data format for a list of app versions.
      - `versionCodes` string[] — List of app version codes.
    - `regions` Regions — Region targeting data for app recovery action targeting.
      - `regionCode` string[] — Regions targeted by the recovery action. Region codes are ISO 3166 Alpha-2 country codes. For example, US stands for United States of America. See https://www.iso.org/iso-3166-country-codes.html for the complete list of country codes.
    - `versionRange` AppVersionRange — Data format for a continuous range of app versions.
      - `versionCodeStart` string, int64 — Lowest app version in the range, inclusive.
      - `versionCodeEnd` string, int64 — Highest app version in the range, inclusive.
    - `androidSdks` AndroidSdks — Android api level targeting data for app recovery action targeting.
      - `sdkLevels` string[] — Android api levels of devices targeted by recovery action. See https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels for different api levels in android.
    - `allUsers` AllUsers — Object representation to describe all set of users.
      - `isAllUsersRequested` boolean — Required. Set to true if all set of users are needed.
  - `remoteInAppUpdate` RemoteInAppUpdate — Object representation for Remote in-app update action type.
    - `isRemoteInAppUpdateRequested` boolean — Required. Set to true if Remote In-App Update action type is needed.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/androidpublisher.md) · [All operations](https://skmtc.dev/google/apis/androidpublisher/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/androidpublisher/revisions/0b0731d538aa/schema)
