---
title: "Launch an app on device"
method: POST
path: "/sessions/{sessionId}/device/launchApp"
tags: ["Device Interactions"]
---

# Launch an app on device

`POST /sessions/{sessionId}/device/launchApp`

## Request

- Base URL: `https://api.us-west-1.saucelabs.com/rdc/v2`
- URL: `https://api.us-west-1.saucelabs.com/rdc/v2/sessions/{sessionId}/device/launchApp`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/saucelabs/apis/real-device-access-api-reference/docs/sessions/:sessionId/device/launchApp/post.ts> (a function with typed inputs; its response is checked against the schema)

Launches an installed app on the device. For iOS, provide the bundleId (e.g., 'com.apple.mobilesafari').
For Android, provide the packageName and optionally the activityName for the main activity.
The app must already be installed on the device — use installApp first if needed.

## Path parameters

- `sessionId` string, required

## Request body

- object: Requires either a 'bundleId' for iOS or a 'packageName' for Android, but not both.
  - `bundleId` string: Bundle identifier (iOS)
  - `packageName` string: Package Name of app to launch (Android)
  - `activityName` string: Main Activity Name of app to launch (Android)

## Response `204`

App launched successfully

## Other responses

- `400`: Bad Request
- `404`: Not Found

---

[API](https://skmtc.dev/saucelabs/apis/real-device-access-api-reference.md) - [All operations](https://skmtc.dev/saucelabs/apis/real-device-access-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/saucelabs/apis/real-device-access-api-reference/revisions/f845a4b66e37?raw)
