---
title: "Assign the number to a device"
method: PUT
path: "/numbers/{id}/device"
tags: ["Numbers"]
---

# Assign the number to a device

`PUT /numbers/{id}/device`

Moves the number onto a device. Any previous assignment is released — an eSIM profile can only live on one device at a time.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `deviceId` string, required — Device id to assign the number to
  - `simSlot` integer — Android subscription slot on dual-SIM devices

## Response `200`

Device assigned

- object
  - `data` PublicNumberDeviceAssignment, nullable, required
    - `id` string, uuid, required
    - `numberId` string, uuid, required
    - `deviceId` string, uuid, nullable, required
    - `simSlot` integer, nullable, required
    - `status` 'pending' | 'active' | 'release_pending' | 'released' | 'failed', required
    - `assignedAt` string, date-time, required
    - `releasedAt` string, date-time, nullable, required
    - `releaseReason` string, nullable, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error
- `503` — Service Unavailable — phone numbers are disabled for this deployment (see `reason`)

## Changes

- **2026-08-13** `02da4f9ce3fd` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/droidrun/apis/droidrun-cloud/changes/numbers/:id/device/put.md)

---

[API](https://skmtc.dev/droidrun/apis/droidrun-cloud.md) · [All operations](https://skmtc.dev/droidrun/apis/droidrun-cloud/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/droidrun/droidrun-cloud/revisions/fc388ab21a20/schema)
