---
title: "Add a device to a user"
method: POST
path: "/user/devices"
tags: ["user"]
---

# Add a device to a user

`POST /user/devices`

The User Devices endpoint will request stf server for a new device.

## Request body

- AddUserDevicePayload — payload object for adding device to user
  - `serial` string, required — Device Serial
  - `timeout` integer — Device timeout in ms. If device is kept idle for this period, it will be automatically disconnected. Default is provider group timeout

## Response `200`

Add User Device Status

## Other responses

- `default` — Unexpected Error

---

[API](https://skmtc.net/openstf/apis/smartphone-test-farm.md) · [All operations](https://skmtc.net/openstf/apis/smartphone-test-farm/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openstf/smartphone-test-farm/revisions/07b57b648bbb/schema)
