---
title: "Register a virtual computer"
method: POST
path: "/v1/remote-devices"
tags: ["Devices"]
---

# Register a virtual computer

`POST /v1/remote-devices`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/remote-devices`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Adds a Freestyle or Daytona VM, a Mac sandbox or another virtual computer to the caller's list by the id its provider shows, or with `shared` to everyone's list in the organization (needs the Manage desktop policies permission). Registering names the computer in OpenWork; it stores no credentials and grants no access at the provider. Desktops and Workbot's computers register themselves. Requires active organization membership; device ownership and management permissions still apply.

## Request body

- RegisterRemoteDeviceRequest
  - `label` string, required
  - `provider` 'freestyle' | 'daytona' | 'mac_host' | 'other', required
  - `platform` 'darwin' | 'win32' | 'linux', required
  - `externalId` string, required
  - `shared` boolean

## Response `201`

The computer was registered.

- RemoteDeviceResponse
  - `device` RemoteDevice, required
    - `id` string, required
    - `kind` 'desktop' | 'vm', required
    - `provider` 'openwork_desktop' | 'workbot' | 'freestyle' | 'daytona' | 'mac_host' | 'other', required
    - `source` 'desktop_app' | 'workbot' | 'manual', required
    - `platform` 'darwin' | 'win32' | 'linux', nullable, required
    - `label` string, required
    - `access` 'mine' | 'shared', required
    - `availability` 'online' | 'paused' | 'needs_setup' | 'offline' | 'unknown', required
    - `state` 'ready' | 'paused' | 'setup_required' | 'unavailable' | 'unknown', required
    - `statusDetail` string, nullable, required
    - `lastSeenAt` string, date-time, nullable, required
    - `createdAt` string, date-time, required
    - `appVersion` string, nullable, required
    - `computerId` string, nullable, required
    - `workbotChat` string, nullable, required
    - `workingSince` string, date-time, nullable
    - `canRename` boolean, required
    - `canRemove` boolean, required
    - `disconnectedAt` string, date-time, nullable
    - `canDisconnect` boolean
    - `remoteAccess` RemoteDeviceAccess, nullable
      - `effective` 'off' | 'created' | 'all', required
      - `chosen` boolean, required
      - `reason` 'organization' | 'not_chosen' | 'update_required', nullable, required

## Other responses

- `400`: The request was invalid.
- `401`: Authentication required.
- `403`: Changing a computer shared with the whole organization needs the Manage desktop policies permission.
- `404`: The organization was not found, or Devices is off for it.
- `409`: This computer is already registered in the organization.

## Changes

- **2026-11-13** `11e5b2778c01`: 1 info
  - added the optional property `device/workingSince` to the response with the `201` status
- **2026-11-12** `6a596dec3f24`: 1 info
  - added the optional property `device/remoteAccess` to the response with the `201` status
- **2026-11-11** `db574b1fc0cf`: 2 info
  - added the optional property `device/canDisconnect` to the response with the `201` status
  - added the optional property `device/disconnectedAt` to the response with the `201` status
- **2026-11-11** `c298eb7b3d3c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/remote-devices/post.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) - [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/84fb0f99fb95?raw)
