---
title: "Send a follow-up to a remote session"
method: POST
path: "/v1/remote-sessions/send"
tags: ["Automations"]
---

# Send a follow-up to a remote session

`POST /v1/remote-sessions/send`

## Request

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

Sends the member's follow-up prompt to one of their remote sessions. Returns an acceptance receipt, or state pending with a requestId when a desktop has not answered within about 20 seconds. Same result as the remote-session:send capability.

## Request body

- object
  - `messageId` string
  - `sessionId` string, required
  - `workspaceId` string
  - `prompt` string, required
  - `model` object
    - `providerId` string, required
    - `modelId` string, required
    - `variant` string
  - `originSessionId` string
  - `originWorkspaceId` string

## Response `200`

The follow-up was accepted or is pending.

- RemoteSessionResult

## Other responses

- `400`: The request or its arguments were invalid.
- `401`: Authentication required.
- `404`: The task is unknown or the organization was not found.
- `409`: The task cannot do that now. remote_access_off: the computer takes nothing from other devices (its owner's choice, no choice yet under the organization's opt-in, or the organization's ceiling); the message says who can allow it.
- `503`: The computer or cloud workspace that runs the task can't be reached right now; retry.

## Changes

- **2026-11-26** `9c7a5398948a`: 2 info
  - added the new optional request property `originSessionId`
  - added the new optional request property `originWorkspaceId`
- **2026-10-30** `a77c5a5943bf`: 1 breaking, 3 info
  - the response's body type changed from no type to `object` for status `404`
  - removed `#/components/schemas/NotFoundError, subschema #2` from the response body `anyOf` list for the response status `404`
  - added the optional property `message` to the response with the `404` status
  - added the required property `error` to the response with the `404` status
- **2026-10-23** `c93387179b31`: 1 info
  - response property `anyOf[#/components/schemas/InvalidRequestError]/details/items/path/items/` list-of-types was narrowed by removing types `number` from media type `application/json` of response `400`
- **2026-10-16** `f6900cd079e7`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/remote-sessions/send/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)
