# asc app-events

> asc app-events commands: create, update, localize and submit App Store in-app events, and manage their screenshots, video clips and asset library placements.

Source: https://air.build/docs/cli/asc-app-events/

`asc app-events` manages an app's in-app events on the App Store: the events, their localized names and descriptions, the event card and details page screenshots and video clips, the asset library media placed on them (see [asc asset-library](https://air.build/docs/cli/asc-asset-library/)), and submitting an event for review. Picking an Apple team, output, pagination, `--confirm` and exit codes work as described on the [asc](https://air.build/docs/cli/asc/) page; the flag tables below leave out `--output`, `--pretty`, `--limit`, `--next`, `--paginate` and the `--fields` / `--…-fields` flags, which are explained there. "Required." marks the flags the command's help lists as required. `--app` takes the App Store Connect app ID and falls back to `ASC_APP_ID`. Several screenshot and video clip commands accept either `--localization-id`, or `--event-id` with `--locale` to find the localization.

## list

List in-app events for an app.

| Flag | What it does | Default |
| --- | --- | --- |
| `--app` | App Store Connect app ID (or `ASC_APP_ID`). | — |
| `--event-state` | Filter by lifecycle state(s), comma-separated: `DRAFT`, `READY_FOR_REVIEW`, `WAITING_FOR_REVIEW`, `IN_REVIEW`, `REJECTED`, `ACCEPTED`, `APPROVED`, `PUBLISHED`, `PAST`, `ARCHIVED`. | — |
| `--id` | Filter by app event ID(s), comma-separated. | — |
| `--include` | Include related resources: localizations. | — |
| `--localizations-limit` | Maximum included localizations (1-50). | — |

```sh
asc app-events list --app "APP_ID"
```

## view

View an in-app event by ID.

| Flag | What it does | Default |
| --- | --- | --- |
| `--event-id` | App event ID. Required. | — |

```sh
asc app-events view --event-id "EVENT_ID"
```

## create

Create a new in-app event.

| Flag | What it does | Default |
| --- | --- | --- |
| `--app` | App Store Connect app ID (or `ASC_APP_ID`). | — |
| `--deep-link` | Deep link URL. | — |
| `--end` | Event end time (RFC3339). | — |
| `--event-type` | Event type: `LIVE_EVENT`, `PREMIERE`, `CHALLENGE`, `COMPETITION`, `NEW_SEASON`, `MAJOR_UPDATE`, `SPECIAL_EVENT`. | — |
| `--name` | Reference name. | — |
| `--primary-locale` | Primary locale (e.g., `en-US`). | — |
| `--priority` | Priority: `HIGH`, `NORMAL`. | — |
| `--publish-start` | Publish start time (RFC3339). | — |
| `--purchase-requirement` | Purchase requirement (currently supported: `NO_COST_ASSOCIATED`). | — |
| `--purpose` | Purpose: `APPROPRIATE_FOR_ALL_USERS`, `ATTRACT_NEW_USERS`, `KEEP_ACTIVE_USERS_INFORMED`, `BRING_BACK_LAPSED_USERS`. | — |
| `--start` | Event start time (RFC3339). | — |
| `--territories` | Territory codes (comma-separated). | — |

```sh
asc app-events create --app "APP_ID" --name "Summer Challenge"
```

## update

Update an in-app event.

| Flag | What it does | Default |
| --- | --- | --- |
| `--deep-link` | Deep link URL. | — |
| `--end` | Event end time (RFC3339). | — |
| `--event-id` | App event ID. | — |
| `--event-type` | Event type: `LIVE_EVENT`, `PREMIERE`, `CHALLENGE`, `COMPETITION`, `NEW_SEASON`, `MAJOR_UPDATE`, `SPECIAL_EVENT`. | — |
| `--name` | Reference name. | — |
| `--primary-locale` | Primary locale (e.g., `en-US`). | — |
| `--priority` | Priority: `HIGH`, `NORMAL`. | — |
| `--publish-start` | Publish start time (RFC3339). | — |
| `--purchase-requirement` | Purchase requirement (currently supported: `NO_COST_ASSOCIATED`). | — |
| `--purpose` | Purpose: `APPROPRIATE_FOR_ALL_USERS`, `ATTRACT_NEW_USERS`, `KEEP_ACTIVE_USERS_INFORMED`, `BRING_BACK_LAPSED_USERS`. | — |
| `--start` | Event start time (RFC3339). | — |
| `--territories` | Territory codes (comma-separated). | — |

```sh
asc app-events update --event-id "EVENT_ID" --priority HIGH
```

## delete

Delete an in-app event.

| Flag | What it does | Default |
| --- | --- | --- |
| `--confirm` | Confirm deletion. Required. | `false` |
| `--event-id` | App event ID. Required. | — |

```sh
asc app-events delete --event-id "EVENT_ID" --confirm
```

## localizations

Manage in-app event localizations.

### localizations list

List localizations for an in-app event.

| Flag | What it does | Default |
| --- | --- | --- |
| `--event-id` | App event ID. | — |
| `--include` | Include related resources, comma-separated: `appEvent`, `appEventScreenshots`, `appEventVideoClips`, placements. | — |
| `--placements-limit` | Maximum included placements (1-50); requires `--include` placements. | — |

```sh
asc app-events localizations list --event-id "EVENT_ID"
```

### localizations view

View an in-app event localization by ID.

| Flag | What it does | Default |
| --- | --- | --- |
| `--include` | Include related resources, comma-separated: `appEvent`, `appEventScreenshots`, `appEventVideoClips`, placements. | — |
| `--localization-id` | App event localization ID. Required. | — |
| `--placements-limit` | Maximum included placements (1-50); requires `--include` placements. | — |

```sh
asc app-events localizations view --localization-id "LOC_ID"
```

### localizations screenshots

Manage localization screenshots for in-app events.

#### localizations screenshots list

List screenshots for an in-app event localization.

| Flag | What it does | Default |
| --- | --- | --- |
| `--localization-id` | App event localization ID. Required. | — |

```sh
asc app-events localizations screenshots list --localization-id "LOC_ID"
```

### localizations video-clips

Manage localization video clips for in-app events.

#### localizations video-clips list

List video clips for an in-app event localization.

| Flag | What it does | Default |
| --- | --- | --- |
| `--localization-id` | App event localization ID. Required. | — |

```sh
asc app-events localizations video-clips list --localization-id "LOC_ID"
```

### localizations screenshots-links

List screenshot relationships for an in-app event localization.

| Flag | What it does | Default |
| --- | --- | --- |
| `--localization-id` | App event localization ID. Required. | — |

```sh
asc app-events localizations screenshots-links --localization-id "LOC_ID"
```

### localizations video-clips-links

List video clip relationships for an in-app event localization.

| Flag | What it does | Default |
| --- | --- | --- |
| `--localization-id` | App event localization ID. Required. | — |

```sh
asc app-events localizations video-clips-links --localization-id "LOC_ID"
```

### localizations create

Create an in-app event localization.

| Flag | What it does | Default |
| --- | --- | --- |
| `--event-id` | App event ID. | — |
| `--locale` | Locale (e.g., `en-US`). | — |
| `--long-description` | Long description. | — |
| `--name` | Localized name. | — |
| `--short-description` | Short description. | — |

```sh
asc app-events localizations create --event-id "EVENT_ID" --locale "en-US" --name "Summer Challenge"
```

### localizations update

Update an in-app event localization.

| Flag | What it does | Default |
| --- | --- | --- |
| `--localization-id` | App event localization ID. | — |
| `--long-description` | Long description. | — |
| `--name` | Localized name. | — |
| `--short-description` | Short description. | — |

```sh
asc app-events localizations update --localization-id "LOC_ID" --name "New Name"
```

### localizations delete

Delete an in-app event localization.

| Flag | What it does | Default |
| --- | --- | --- |
| `--confirm` | Confirm deletion. Required. | `false` |
| `--localization-id` | App event localization ID. Required. | — |

```sh
asc app-events localizations delete --localization-id "LOC_ID" --confirm
```

### localizations placements

Manage localized asset library placements.

#### localizations placements list

List asset placements for an in-app event localization.

Empty data means no matching asset is assigned. JSON keeps Apple's full response and included media. Filter and sort flags cannot be combined with `--next`.

| Flag | What it does | Default |
| --- | --- | --- |
| `--custom-page-localization` | Filter by custom product page localization IDs, comma-separated. | — |
| `--image-id` | Filter by library image IDs, comma-separated. | — |
| `--include` | Include related resources, comma-separated: image, video, `appEventLocalization`, `appStoreVersionLocalization`, `appCustomProductPageLocalization`, `appStoreVersionExperimentTreatmentLocalization`, `retentionMessageVersion`. | — |
| `--localization-id` | An in-app event localization ID or API self-link. | — |
| `--placement-group` | Filter by placement group IDs, comma-separated. | — |
| `--placement-id` | Filter by placement IDs, comma-separated. | — |
| `--placement-type` | Filter by placement types, comma-separated: `EVENT_CARD_ASSET`, `EVENT_DETAILS_PAGE_ASSET`, `PRODUCT_PAGE_HEADER_ASSET`, `APP_STORE_SEARCH_RESULTS_ASSET`, `APP_SCREENSHOT`, `APP_PREVIEW`, `IMESSAGE_APP_SCREENSHOT`, `SEARCH_RESULTS_ADS_ASSET`, `TODAY_TAB_ADS_ASSET`. | — |
| `--sort` | Sort by `createdDate`, `lastModifiedDate` or `placementGroupPosition` (comma-separated; prefix - for descending). | — |
| `--state` | Filter by placement states, comma-separated (Apple validates values). | — |
| `--treatment-localization` | Filter by experiment treatment localization IDs, comma-separated. | — |
| `--version-localization` | Filter by version localization IDs, comma-separated. | — |
| `--video-id` | Filter by library video IDs, comma-separated. | — |

```sh
asc app-events localizations placements list --localization-id ID --placement-type EVENT_CARD_ASSET
```

#### localizations placements view

Read one asset placement by ID.

IDs are authoritative: the command does not check that the placement belongs to an in-app event localization.

| Flag | What it does | Default |
| --- | --- | --- |
| `--id` | Asset library placement ID or API self-link. Required. | — |
| `--include` | Include related resources, comma-separated: image, video, `appEventLocalization`, `appStoreVersionLocalization`, `appCustomProductPageLocalization`, `appStoreVersionExperimentTreatmentLocalization`, `retentionMessageVersion`. | — |

```sh
asc app-events localizations placements view --id PLACEMENT_ID
```

#### localizations placements create

Assign an existing asset library image or video.

Supply exactly one image or video ID. In-app event assets use the `DEFAULT_PROFILE` placement group. Apple validates media compatibility and slot availability. This does not submit anything for review, and no existing placement is removed.

| Flag | What it does | Default |
| --- | --- | --- |
| `--image-id` | Uploaded asset library image ID or API self-link. | — |
| `--localization-id` | An in-app event localization ID or API self-link. Required. | — |
| `--placement-group` | Device placement group for screenshots/previews; creative assets use `DEFAULT_PROFILE`. | — |
| `--placement-type` | Placement type: `EVENT_CARD_ASSET`, `EVENT_DETAILS_PAGE_ASSET`. Required. | — |
| `--video-id` | Uploaded asset library video ID or API self-link. | — |

```sh
asc app-events localizations placements create --localization-id ID --image-id IMAGE_ID --placement-type EVENT_CARD_ASSET
```

#### localizations placements swap

Replace an existing placement using one asset library swap request.

Replaces an existing placement in one request. Supply exactly one image or video ID, of the same media type as the existing placement, and the replacement placement type; the replacement keeps the existing placement's group. Needs `--confirm`. This does not submit anything for review. If the request fails, nothing is removed.

| Flag | What it does | Default |
| --- | --- | --- |
| `--confirm` | Confirm replacement of the existing placement. Required. | `false` |
| `--image-id` | Uploaded asset library image ID or API self-link. | — |
| `--localization-id` | An in-app event localization ID or API self-link. Required. | — |
| `--placement-id` | Existing placement ID or API self-link to replace. Required. | — |
| `--placement-type` | Placement type: `EVENT_CARD_ASSET`, `EVENT_DETAILS_PAGE_ASSET`. Required. | — |
| `--video-id` | Uploaded asset library video ID or API self-link. | — |

```sh
asc app-events localizations placements swap --localization-id ID --image-id IMAGE_ID --placement-type EVENT_CARD_ASSET --placement-id OLD_PLACEMENT_ID --confirm
```

#### localizations placements delete

Remove an asset placement without deleting its library media.

Remove one placement with `--id`, or several with `--placement-ids`, one after another; pass exactly one of these and `--confirm`. Multiple deletes are not atomic: the command stops at the first error and prints the IDs it deleted and the one that failed; earlier deletes are not rolled back. Library media stays available. IDs are authoritative: the command does not check a placement's localization or type.

| Flag | What it does | Default |
| --- | --- | --- |
| `--confirm` | Confirm removal of these placements. Required. | `false` |
| `--id` | Asset library placement ID or API self-link. | — |
| `--placement-ids` | Placement IDs to remove sequentially with DELETE, comma-separated. | — |

```sh
asc app-events localizations placements delete --id PLACEMENT_ID --confirm
```

## links

List localization relationships for an in-app event.

| Flag | What it does | Default |
| --- | --- | --- |
| `--event-id` | App event ID. Required. | — |

```sh
asc app-events links --event-id "EVENT_ID"
```

## screenshots

Manage in-app event screenshots.

### screenshots list

List screenshots for an in-app event localization.

| Flag | What it does | Default |
| --- | --- | --- |
| `--event-id` | App event ID. | — |
| `--locale` | Locale (e.g., `en-US`) when resolving localization. | — |
| `--localization-id` | App event localization ID. | — |

```sh
asc app-events screenshots list --localization-id "LOC_ID"
```

### screenshots links

List screenshot relationships for an in-app event localization.

| Flag | What it does | Default |
| --- | --- | --- |
| `--event-id` | App event ID. | — |
| `--locale` | Locale (e.g., `en-US`) when resolving localization. | — |
| `--localization-id` | App event localization ID. | — |

```sh
asc app-events screenshots links --localization-id "LOC_ID"
```

### screenshots view

View an in-app event screenshot by ID.

| Flag | What it does | Default |
| --- | --- | --- |
| `--screenshot-id` | App event screenshot ID. Required. | — |

```sh
asc app-events screenshots view --screenshot-id "SHOT_ID"
```

### screenshots create

Upload a screenshot for an in-app event localization.

| Flag | What it does | Default |
| --- | --- | --- |
| `--asset-type` | Asset type: `EVENT_CARD`, `EVENT_DETAILS_PAGE`. | — |
| `--event-id` | App event ID. | — |
| `--locale` | Locale (e.g., `en-US`) when resolving localization. | — |
| `--localization-id` | App event localization ID. | — |
| `--path` | Path to screenshot file. | — |

```sh
asc app-events screenshots create --localization-id "LOC_ID" --path "./event.png" --asset-type EVENT_CARD
```

### screenshots delete

Delete an in-app event screenshot.

| Flag | What it does | Default |
| --- | --- | --- |
| `--confirm` | Confirm deletion. Required. | `false` |
| `--screenshot-id` | App event screenshot ID. Required. | — |

```sh
asc app-events screenshots delete --screenshot-id "SHOT_ID" --confirm
```

## video-clips

Manage in-app event video clips.

### video-clips list

List video clips for an in-app event localization.

| Flag | What it does | Default |
| --- | --- | --- |
| `--event-id` | App event ID. | — |
| `--locale` | Locale (e.g., `en-US`) when resolving localization. | — |
| `--localization-id` | App event localization ID. | — |

```sh
asc app-events video-clips list --localization-id "LOC_ID"
```

### video-clips links

List video clip relationships for an in-app event localization.

| Flag | What it does | Default |
| --- | --- | --- |
| `--event-id` | App event ID. | — |
| `--locale` | Locale (e.g., `en-US`) when resolving localization. | — |
| `--localization-id` | App event localization ID. | — |

```sh
asc app-events video-clips links --localization-id "LOC_ID"
```

### video-clips view

View an in-app event video clip by ID.

| Flag | What it does | Default |
| --- | --- | --- |
| `--clip-id` | App event video clip ID. Required. | — |

```sh
asc app-events video-clips view --clip-id "CLIP_ID"
```

### video-clips create

Upload a video clip for an in-app event localization.

| Flag | What it does | Default |
| --- | --- | --- |
| `--asset-type` | Asset type: `EVENT_CARD`, `EVENT_DETAILS_PAGE`. | — |
| `--event-id` | App event ID. | — |
| `--locale` | Locale (e.g., `en-US`) when resolving localization. | — |
| `--localization-id` | App event localization ID. | — |
| `--path` | Path to video clip file. | — |
| `--preview-frame-time-code` | Alias of `--time-code`. | — |
| `--time-code` | Poster frame timecode (e.g., `00:00:05:00` or `00:00:05.000`). | — |

```sh
asc app-events video-clips create --localization-id "LOC_ID" --path "./clip.mov" --asset-type EVENT_CARD
```

### video-clips set-poster-frame

Set the poster frame timecode for an in-app event video clip.

Accepted timecode formats are `HH:MM:SS:FF` (frames) and `HH:MM:SS.mmm` (milliseconds).

| Flag | What it does | Default |
| --- | --- | --- |
| `--clip-id` | App event video clip ID. Required. | — |
| `--time-code` | Poster frame timecode (e.g., `00:00:05:00` or `00:00:05.000`). Required. | — |

```sh
asc app-events video-clips set-poster-frame --clip-id "CLIP_ID" --time-code "00:00:05:00"
```

### video-clips delete

Delete an in-app event video clip.

| Flag | What it does | Default |
| --- | --- | --- |
| `--clip-id` | App event video clip ID. Required. | — |
| `--confirm` | Confirm deletion. Required. | `false` |

```sh
asc app-events video-clips delete --clip-id "CLIP_ID" --confirm
```

## submit

Submit an in-app event for review.

| Flag | What it does | Default |
| --- | --- | --- |
| `--app` | App Store Connect app ID (or `ASC_APP_ID`). | — |
| `--confirm` | Confirm submission. Required. | `false` |
| `--event-id` | App event ID. | — |
| `--platform` | Platform: `IOS`, `MAC_OS`, `TV_OS`, `VISION_OS`. | `IOS` |

```sh
asc app-events submit --event-id "EVENT_ID" --app "APP_ID" --confirm
```
