---
title: "A new device from a saved state"
method: POST
path: "/devices/{name}/snapshots/{id}/clone"
tags: ["Snapshots and worlds"]
---

# A new device from a saved state

`POST /devices/{name}/snapshots/{id}/clone`

## Request

- Base URL: `https://api.clousd.com/v1`
- URL: `https://api.clousd.com/v1/devices/{name}/snapshots/{id}/clone`
- Auth: HTTP bearer

## Request body

- object
  - `name` string, required

## Response `202`

Started

- object
  - `ok` boolean
  - `job` Job
    - `id` string
    - `kind` string
    - `phone` string
    - `state` 'running' | 'done' | 'failed'
    - `started` string, date-time
    - `done` string, date-time
    - `output` string

---

[API](https://skmtc.dev/clousd/apis/clousd-api.md) · [All operations](https://skmtc.dev/clousd/apis/clousd-api/llms.txt) · [OpenAPI document](https://skmtc.dev/clousd/apis/clousd-api/revisions/0291ffd26ae3?raw)
