---
title: "Mint a live observer WebSocket URL for a prospect call"
method: GET
path: "/v1/public/prospect-sim/report/{token}/observer-url"
tags: ["Prospect Simulation"]
---

# Mint a live observer WebSocket URL for a prospect call

`GET /v1/public/prospect-sim/report/{token}/observer-url`

## Request

- Base URL: `https://api.roark.ai`
- URL: `https://api.roark.ai/v1/public/prospect-sim/report/{token}/observer-url`
- Auth: HTTP bearer

Public endpoint scoped by the report token. Returns a short-lived, self-authenticating WebSocket URL for watching a prospect call live, but only while that call is actually in flight; otherwise wsUrl is null. Pass `callId` (from the live progress list) to pick one of the parallel calls; without it the most recently started live call is used.

## Path parameters

- `token` string, required

## Query parameters

- `callId` string, uuid

## Response `200`

The live observer URL, or null when not currently watchable

- object
  - `data` object, required
    - `wsUrl` string, nullable, required
    - `expiresAt` string, nullable, required

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `500`: Internal Server Error

## Changes

> 187 revisions in range; 1 not diffed.

- **2026-10-11** `7dab5c606fa0`: 2 info
  - added the new optional `query` request parameter `callId`
  - added the non-success response with the status `400`
- **2026-10-02** `e76cbe417402`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/roarkhq/apis/roark-analytics-api/changes/v1/public/prospect-sim/report/:token/observer-url/get.md)

---

[API](https://skmtc.dev/roarkhq/apis/roark-analytics-api.md) - [All operations](https://skmtc.dev/roarkhq/apis/roark-analytics-api/llms.txt) - [OpenAPI document](https://skmtc.dev/roarkhq/apis/roark-analytics-api/revisions/1a91a5c90e44?raw)
