---
title: "Start an Appium server that runs next to the device."
method: POST
path: "/sessions/{sessionId}/appiumserver"
tags: ["Appium Server"]
---

# Start an Appium server that runs next to the device.

`POST /sessions/{sessionId}/appiumserver`

## Request

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

Starts a hosted Appium server co-located with the device. Once started, the response includes the Appium
server URL that you can use with any Appium client. Optionally specify an Appium version — use
listAppiumVersions to see available versions. If omitted, the platform default version is used.

## Path parameters

- `sessionId` string, required

## Request body

- object
  - `appiumVersion` string: The Appium version to use. If omitted, the platform default version is used. Use `GET /appium/versions` to list available versions. See https://docs.saucelabs.com/mobile-apps/automated-testing/appium/appium-versions/#real-devices

## Response `200`

Command executed successfully

- AppiumSession
  - `url` string: The hosted appium server endpoint associated to this session
  - `version` string: The hosted appium server version

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `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)
