Automations

Attach to a session started on one of the member's computers

Changed on

Makes a session that was started on one of the member's own computers reachable from other devices, like one started remotely. The organization's ceiling and that computer's owner must both allow every session; otherwise 409 session_access_denied and nothing is queued. Returns state attached with the commandId that already reaches the session, or queued with a commandId to follow through status until the computer has attached. Repeating the call returns the same command. Other refusals: 404 unknown_computer (not one of the member's computers), 409 remote_access_off (the computer, or the organization, takes nothing from other devices), 409 desktop_update_required, 503 desktop_offline. Same result as the remote-session:attach capability. Requires active membership and a session-access-capable computer whose owner and organization both allow all sessions.

post/v1/remote-sessions/attach

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Request body

RemoteSessionAttachRequest required
computerId, string required
workspaceId, string required
sessionId, string required
originSessionId, string
originWorkspaceId, string

Response

The session is attached, or the attach is queued.

RemoteSessionAttachResponse required
target, 'desktop' required
state, 'queued' | 'attached' required
commandId, string required
computerId, string required
workspaceId, string required
sessionId, string required
expiresAt, string date-time nullable required

Changes

    • info

      added the new optional request property originSessionId

    • info

      added the new optional request property originWorkspaceId

    • breaking

      response property expiresAt list-of-types was widened by adding types string to media type application/json of response 200

    2 more changes in this revision