---
title: "ws-ticket your assistant’s browser"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.cloudraker.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ws-ticket your assistant’s browser

Path: CloudRaker Workspace API › My assistant

`POST /me/assistant/browser/ws-ticket`

## Authentication

- `bearerAuth`, http, header `Authorization`

## Request body

_Required._

- `controlGeneration` (`myAssistantBrowserws-ticket.controlGeneration`; integer, required)
  - min 0; max 9007199254740991

## Example request

```json
{
  "controlGeneration": 9007199254740991
}
```

## Code samples

### cURL

```bash
curl --request POST \
  --url https://api.cloudraker.com/me/assistant/browser/ws-ticket \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "controlGeneration": 9007199254740991
}
'
```

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/me/assistant/browser/ws-ticket';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json', Authorization: 'Bearer <token>'},
  body: JSON.stringify({controlGeneration: 9007199254740991})
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.cloudraker.com/me/assistant/browser/ws-ticket"

payload = { "controlGeneration": 9007199254740991 }
headers = {
    "Content-Type": "application/json",
    "Authorization": "Bearer <token>"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
```

## Responses

### 200

ws-ticket your assistant’s browser

#### Example

```json
{
  "ticket": "string",
  "computer": "string"
}
```

- `ticket` (`myAssistantBrowserws-ticket.response.200.ticket`; string, required)
- `computer` (`myAssistantBrowserws-ticket.response.200.computer`; string, required)

### 400

Validation Error

#### Example

```json
{
  "success": false,
  "error": [
    null
  ],
  "data": null
}
```

- `success` (`myAssistantBrowserws-ticket.response.400.success`; boolean, required)
  - one of `false`
- `error` (`myAssistantBrowserws-ticket.response.400.error`; array<unknown>, required)
- `data` (`myAssistantBrowserws-ticket.response.400.data`; unknown, required)

### 403

An active personal account is required.

### 404

No authorized browser.

#### Example

```json
{
  "error": "string",
  "error_code": "string",
  "issues": [
    {
      "path": "string",
      "code": "string",
      "message": "string"
    }
  ]
}
```

- `error` (`myAssistantBrowserws-ticket.response.404.error`; string, required) — The sentence a human reads.
- `error_code` (`myAssistantBrowserws-ticket.response.404.error_code`; string, required) — The stable snake_case branch key.
- `issues` (`myAssistantBrowserws-ticket.response.404.issues`; array<object>, optional) — Per-field detail, present only on a validation failure.
  - `path` (`myAssistantBrowserws-ticket.response.404.issues.path`; string, required)
  - `code` (`myAssistantBrowserws-ticket.response.404.issues.code`; string, required)
  - `message` (`myAssistantBrowserws-ticket.response.404.issues.message`; string, required)

### 409

Browser control changed.

#### Example

```json
{
  "error": "string",
  "error_code": "string",
  "issues": [
    {
      "path": "string",
      "code": "string",
      "message": "string"
    }
  ]
}
```

- `error` (`myAssistantBrowserws-ticket.response.409.error`; string, required) — The sentence a human reads.
- `error_code` (`myAssistantBrowserws-ticket.response.409.error_code`; string, required) — The stable snake_case branch key.
- `issues` (`myAssistantBrowserws-ticket.response.409.issues`; array<object>, optional) — Per-field detail, present only on a validation failure.
  - `path` (`myAssistantBrowserws-ticket.response.409.issues.path`; string, required)
  - `code` (`myAssistantBrowserws-ticket.response.409.issues.code`; string, required)
  - `message` (`myAssistantBrowserws-ticket.response.409.issues.message`; string, required)

### 503

Browser temporarily unavailable.

#### Example

```json
{
  "error": "string",
  "error_code": "string",
  "issues": [
    {
      "path": "string",
      "code": "string",
      "message": "string"
    }
  ]
}
```

- `error` (`myAssistantBrowserws-ticket.response.503.error`; string, required) — The sentence a human reads.
- `error_code` (`myAssistantBrowserws-ticket.response.503.error_code`; string, required) — The stable snake_case branch key.
- `issues` (`myAssistantBrowserws-ticket.response.503.issues`; array<object>, optional) — Per-field detail, present only on a validation failure.
  - `path` (`myAssistantBrowserws-ticket.response.503.issues.path`; string, required)
  - `code` (`myAssistantBrowserws-ticket.response.503.issues.code`; string, required)
  - `message` (`myAssistantBrowserws-ticket.response.503.issues.message`; string, required)


Source: https://docs.cloudraker.com/workspace/api/my-assistant/browserws-ticket/index.md
