Skip to content

Servers​

https://api.rrweb.com
http://localhost:8787

Stream recording events​

GET
/recordings/{recordingId}/events/ws

Send recording events over a WebSocket connection. The Browser Client uses this endpoint by default. See WebSocket event streaming for connection and message formats, or use HTTP event collection to send events in batches. Browsers cannot set an Authorization header on WebSocket connections, so pass your public API key in the URL as ?token=your-api-key. The Browser Client adds this parameter automatically. The GET request opens the WebSocket connection; send events as WebSocket messages after connecting.

Authorizations​

Public API Key

Public API key for authentication.

Type
HTTP (bearer)
Example"Bearer public_key_rr_1Q8AX5B5218353Q1AQNF2129YH5VAH02"

Parameters​

Path Parameters

recordingId*

The recording ID

Type
string
Required
Example"000e8400-e00b-00d0-a716-446655440000"
Format
"uuid"

Query Parameters

debug

Enable debug mode

Type
string
Example"true"
contentType

Payload content type. Defaults to application/x-ndjson when omitted.

Type
string
Valid values
"application/x-ndjson""application/ndjson""application/json"
Example"application/x-ndjson"
contentEncoding

Optional compression applied to the payload frames. Defaults to identity.

Type
string
Valid values
"gzip""br""zstd"
Example"gzip"

Responses​

WebSocket upgraded successfully.

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get recording events​

GET
/recordings/{recordingId}/events

Retrieve the event stream for a single recording.

Authorizations​

Private API Key

Bearer token for authentication. Use your private API key as the token.

Type
HTTP (bearer)
Example"Bearer secret_key_rr_1Q6AX5B5218353Q1AQNF2129YH5VAH02"
or
TenantId|KeyId|Expires|Signature
TenantId

Your organization ID. Included automatically in generated presigned URLs; keep the returned value unchanged.

Type
API Key (query: tenantId)
+
KeyId

Identifies the key used to verify the presigned URL. Included automatically in generated URLs; keep the returned value unchanged.

Type
API Key (query: keyId)
+
Expires

Expiration timestamp (UNIX seconds)

Type
API Key (query: expires)
+
Signature

Authenticates the presigned URL. Use the URL returned by the API without changing its path or authentication parameters.

Type
API Key (query: signature)

Parameters​

Path Parameters

recordingId*

The recording ID

Type
string
Required
Example"000e8400-e00b-00d0-a716-446655440000"
Format
"uuid"

Responses​

Successfully retrieved recording events

application/json
JSON
[
  
{
  
  
"type": 4,
  
  
"timestamp": 1234567890,
  
  
"data": {
  
  
  
"additionalProperties": "string"
  
  
},
  
  
"originalTimestamp": 0
  
}
]

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Create recording events​

POST
/recordings/{recordingId}/events

Append recording events in batch mode via POST. This is available for clients or environments which don't support WebSocket event streaming.

Authorizations​

Public API Key

Public API key for authentication.

Type
HTTP (bearer)
Example"Bearer public_key_rr_1Q8AX5B5218353Q1AQNF2129YH5VAH02"

Parameters​

Path Parameters

recordingId*

The recording ID

Type
string
Required
Example"000e8400-e00b-00d0-a716-446655440000"
Format
"uuid"

Query Parameters

debug

Enable debug mode

Type
string
Example"true"

Request Body​

JSON
{
  
"type": 1,
  
"timestamp": 1714857600000,
  
"data": {
  
}
}

Responses​

Successfully accepted recording events

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Get recording metadata​

GET
/recordings/{recordingId}/metadata

Retrieve only the searchable metadata key-value pairs for a single recording.

Authorizations​

Private API Key

Bearer token for authentication. Use your private API key as the token.

Type
HTTP (bearer)
Example"Bearer secret_key_rr_1Q6AX5B5218353Q1AQNF2129YH5VAH02"
or
TenantId|KeyId|Expires|Signature
TenantId

Your organization ID. Included automatically in generated presigned URLs; keep the returned value unchanged.

Type
API Key (query: tenantId)
+
KeyId

Identifies the key used to verify the presigned URL. Included automatically in generated URLs; keep the returned value unchanged.

Type
API Key (query: keyId)
+
Expires

Expiration timestamp (UNIX seconds)

Type
API Key (query: expires)
+
Signature

Authenticates the presigned URL. Use the URL returned by the API without changing its path or authentication parameters.

Type
API Key (query: signature)

Parameters​

Path Parameters

recordingId*

The recording ID

Type
string
Required
Example"000e8400-e00b-00d0-a716-446655440000"
Format
"uuid"

Responses​

Successfully retrieved recording metadata

application/json
JSON
{
  
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Capture metadata​

POST
/recordings/{recordingId}/metadata

Attach searchable metadata to a recording so you can query recordings by customer, device, rollout state, or any other field. See Recording metadata for implementation guidance.

Authorizations​

Public API Key

Public API key for authentication.

Type
HTTP (bearer)
Example"Bearer public_key_rr_1Q8AX5B5218353Q1AQNF2129YH5VAH02"

Parameters​

Path Parameters

recordingId*

The recording ID

Type
string
Required
Example"000e8400-e00b-00d0-a716-446655440000"
Format
"uuid"

Request Body​

application/json
JSON
{
  
"userId": "user-123",
  
"orgId": "org-9",
  
"plan": "pro",
  
"environment": "production"
}

Responses​

Successfully captured recording metadata

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Get recording​

GET
/recordings/{recordingId}

Get a recording's metadata and links to its events, player, and screenshot. When authenticating with a private API key, set includeEvents=true to include the recording events. Presigned URLs for this endpoint return metadata and links only; use the signed events link to fetch events.

Authorizations​

Private API Key

Bearer token for authentication. Use your private API key as the token.

Type
HTTP (bearer)
Example"Bearer secret_key_rr_1Q6AX5B5218353Q1AQNF2129YH5VAH02"

Parameters​

Path Parameters

recordingId*

The recording ID

Type
string
Required
Example"000e8400-e00b-00d0-a716-446655440000"
Format
"uuid"

Query Parameters

includeSignedUrls

Include presigned recording links in the detail response.

Type
boolean
Exampletrue
includeEvents

Include the recording event stream in the detail response.

Type
boolean
Exampletrue

Responses​

Successfully retrieved recording details

application/json
JSON
{
  
"recordingId": "550e8400-e29b-41d4-a716-446655440000",
  
"links": {
  
  
"self": "/recordings/550e8400-e29b-41d4-a716-446655440000",
  
  
"events": "/recordings/550e8400-e29b-41d4-a716-446655440000/events",
  
  
"player": "/recordings/550e8400-e29b-41d4-a716-446655440000/player",
  
  
"screenshot": "/recordings/550e8400-e29b-41d4-a716-446655440000/screenshot",
  
  
"eventsSigned": "/recordings/550e8400-e29b-41d4-a716-446655440000/events?expires=1735689600&keyId=key-2024-12&signature=a1b2c3d4e5f6...",
  
  
"playerSigned": "/recordings/550e8400-e29b-41d4-a716-446655440000/player.html?expires=1735689600&keyId=key-2024-12&signature=a1b2c3d4e5f6...",
  
  
"screenshotPngSigned": "/recordings/550e8400-e29b-41d4-a716-446655440000/screenshot.png?expires=1735689600&keyId=key-2024-12&signature=a1b2c3d4e5f6..."
  
},
  
"metadata": {
  
  
"additionalProperties": "string"
  
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Compose replay​

GET
/replays

Combine events from one or more recordings into a replayable stream.

By default, the replay plays each page view in full before moving to the next, ordered by when each page view started. A full snapshot marks the start of each page view.

Event timestamps start at zero to match the combined playback order. Each recorded event keeps its original timestamp in originalTimestamp.

Authorizations​

Private API Key

Bearer token for authentication. Use your private API key as the token.

Type
HTTP (bearer)
Example"Bearer secret_key_rr_1Q6AX5B5218353Q1AQNF2129YH5VAH02"

Parameters​

Query Parameters

metadata

A recording metadata parameter (or a set of parameters) by which you want to compose a single replay. Use metadata[key]=value syntax.

Type
object
Example{ "sessionId": "session-123" }

Responses​

Successfully retrieved recording events

application/json
JSON
[
  
{
  
  
"type": 4,
  
  
"timestamp": 1234567890,
  
  
"data": {
  
  
  
"additionalProperties": "string"
  
  
},
  
  
"originalTimestamp": 0
  
}
]

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get replay​

GET
/replays/{groupingProp}/{replayValue}

Retrieve merged metadata and replayable events for recordings sharing a metadata key and value.

Authorizations​

Private API Key

Bearer token for authentication. Use your private API key as the token.

Type
HTTP (bearer)
Example"Bearer secret_key_rr_1Q6AX5B5218353Q1AQNF2129YH5VAH02"
or
TenantId|KeyId|Expires|Signature
TenantId

Your organization ID. Included automatically in generated presigned URLs; keep the returned value unchanged.

Type
API Key (query: tenantId)
+
KeyId

Identifies the key used to verify the presigned URL. Included automatically in generated URLs; keep the returned value unchanged.

Type
API Key (query: keyId)
+
Expires

Expiration timestamp (UNIX seconds)

Type
API Key (query: expires)
+
Signature

Authenticates the presigned URL. Use the URL returned by the API without changing its path or authentication parameters.

Type
API Key (query: signature)

Parameters​

Path Parameters

groupingProp*

The metadata key used to group recordings into replays

Type
string
Required
Example"sessionId"
Min Length
1
Max Length
100
replayValue*

The metadata value identifying this replay group

Type
string
Required
Example"sess-123"
Min Length
1
Max Length
500

Responses​

Successfully retrieved replay metadata and events

application/json
JSON
{
  
"metadata": {
  
  
"additionalProperties": "string"
  
},
  
"events": [
  
  
{
  
  
  
"type": 4,
  
  
  
"timestamp": 1234567890,
  
  
  
"data": {
  
  
  
  
"additionalProperties": "string"
  
  
  
},
  
  
  
"originalTimestamp": 0
  
  
}
  
]
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get replay events​

GET
/replays/{groupingProp}/{replayValue}/events

Retrieve only the replayable event stream for a replay group.

Authorizations​

Private API Key

Bearer token for authentication. Use your private API key as the token.

Type
HTTP (bearer)
Example"Bearer secret_key_rr_1Q6AX5B5218353Q1AQNF2129YH5VAH02"
or
TenantId|KeyId|Expires|Signature
TenantId

Your organization ID. Included automatically in generated presigned URLs; keep the returned value unchanged.

Type
API Key (query: tenantId)
+
KeyId

Identifies the key used to verify the presigned URL. Included automatically in generated URLs; keep the returned value unchanged.

Type
API Key (query: keyId)
+
Expires

Expiration timestamp (UNIX seconds)

Type
API Key (query: expires)
+
Signature

Authenticates the presigned URL. Use the URL returned by the API without changing its path or authentication parameters.

Type
API Key (query: signature)

Parameters​

Path Parameters

groupingProp*

The metadata key used to group recordings into replays

Type
string
Required
Example"sessionId"
Min Length
1
Max Length
100
replayValue*

The metadata value identifying this replay group

Type
string
Required
Example"sess-123"
Min Length
1
Max Length
500

Responses​

Successfully retrieved replay events

application/json
JSON
[
  
{
  
  
"type": 4,
  
  
"timestamp": 1234567890,
  
  
"data": {
  
  
  
"additionalProperties": "string"
  
  
},
  
  
"originalTimestamp": 0
  
}
]

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get replay metadata​

GET
/replays/{groupingProp}/{replayValue}/metadata

Retrieve only the merged metadata for a replay group.

Authorizations​

Private API Key

Bearer token for authentication. Use your private API key as the token.

Type
HTTP (bearer)
Example"Bearer secret_key_rr_1Q6AX5B5218353Q1AQNF2129YH5VAH02"
or
TenantId|KeyId|Expires|Signature
TenantId

Your organization ID. Included automatically in generated presigned URLs; keep the returned value unchanged.

Type
API Key (query: tenantId)
+
KeyId

Identifies the key used to verify the presigned URL. Included automatically in generated URLs; keep the returned value unchanged.

Type
API Key (query: keyId)
+
Expires

Expiration timestamp (UNIX seconds)

Type
API Key (query: expires)
+
Signature

Authenticates the presigned URL. Use the URL returned by the API without changing its path or authentication parameters.

Type
API Key (query: signature)

Parameters​

Path Parameters

groupingProp*

The metadata key used to group recordings into replays

Type
string
Required
Example"sessionId"
Min Length
1
Max Length
100
replayValue*

The metadata value identifying this replay group

Type
string
Required
Example"sess-123"
Min Length
1
Max Length
500

Responses​

Successfully retrieved replay metadata

application/json
JSON
{
  
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


List replays​

GET
/replays/{groupingProp}

List replay groups for a metadata key. Each replay group represents one metadata value and one or more recordings sharing that value.

Authorizations​

Private API Key

Bearer token for authentication. Use your private API key as the token.

Type
HTTP (bearer)
Example"Bearer secret_key_rr_1Q6AX5B5218353Q1AQNF2129YH5VAH02"

Parameters​

Path Parameters

groupingProp*

The metadata key used to group recordings into replays

Type
string
Required
Example"sessionId"
Min Length
1
Max Length
100

Query Parameters

limit

Maximum number of replays to return (1-100, default: 50)

Type
string
Example"50"
offset

Number of replays to skip (default: 0)

Type
string
Example"0"
includeSignedUrls

Include presigned replay URLs in the response.

Type
boolean
Exampletrue

Responses​

Successfully listed replays grouped by metadata value

application/json
JSON
{
  
"groupingProp": "userId",
  
"replays": [
  
  
{
  
  
  
"replayValue": "user-123",
  
  
  
"recordingCount": 5,
  
  
  
"latestTimestamp": 1234567890000,
  
  
  
"links": {
  
  
  
  
"replay": "/replays/userId/user-123",
  
  
  
  
"replaySigned": "/replays/userId/user-123?tenantId=tenant-abc&expires=1735689600&keyId=key-2024-12&signature=a1b2c3..."
  
  
  
}
  
  
}
  
]
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


List recordings​

GET
/recordings

Query recordings by metadata filters or by most recent. Multiple filters are combined with AND logic.

Authorizations​

Private API Key

Bearer token for authentication. Use your private API key as the token.

Type
HTTP (bearer)
Example"Bearer secret_key_rr_1Q6AX5B5218353Q1AQNF2129YH5VAH02"

Parameters​

Query Parameters

metadata

Filter recordings by metadata key-value pairs. Use metadata[key]=value syntax (URL-encode keys and values with encodeURIComponent). eg. metadata[userId]=user-123&metadata[plan]=pro

Type
object
Example{ "userId": "user-123", "plan": "pro" }
limit

Maximum number of results to return (1-100, default: 50)

Type
string
Example"50"
offset

Number of results to skip (default: 0)

Type
string
Example"0"
includeSignedUrls

Include presigned event URLs in the response.

Type
boolean
Exampletrue

Responses​

Successfully retrieved recordings

application/json
JSON
{
  
"recordings": [
  
  
{
  
  
  
"recordingId": "550e8400-e29b-41d4-a716-446655440000",
  
  
  
"timestamp": 1234567890,
  
  
  
"links": {
  
  
  
  
"self": "/recordings/550e8400-e29b-41d4-a716-446655440000",
  
  
  
  
"events": "/recordings/550e8400-e29b-41d4-a716-446655440000/events",
  
  
  
  
"eventsSigned": "/recordings/550e8400-e29b-41d4-a716-446655440000/events?expires=1735689600&keyId=key-2024-12&signature=a1b2c3d4e5f6..."
  
  
  
},
  
  
  
"metadata": {
  
  
  
  
"additionalProperties": "string"
  
  
  
}
  
  
}
  
]
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get recording statistics​

GET
/statistics

Get statistics about recordings including total count, count for this month, and storage usage.

Authorizations​

Private API Key

Bearer token for authentication. Use your private API key as the token.

Type
HTTP (bearer)
Example"Bearer secret_key_rr_1Q6AX5B5218353Q1AQNF2129YH5VAH02"

Responses​

Successfully retrieved recording statistics

application/json
JSON
{
  
"totalRecordings": 1234,
  
"recordingsThisMonth": 56,
  
"totalStorageBytes": 1073741824
}

Playground​

Server
Authorization

Samples​


Get recording player​

GET
/recordings/{recordingId}/player

Serves the recording player HTML page. Request /recordings/{recordingId}/player.html or send Accept: text/html for the HTML representation. File extensions take precedence over the Accept header when both are present.

Authorizations​

Private API Key

Bearer token for authentication. Use your private API key as the token.

Type
HTTP (bearer)
Example"Bearer secret_key_rr_1Q6AX5B5218353Q1AQNF2129YH5VAH02"
or
TenantId|KeyId|Expires|Signature
TenantId

Your organization ID. Included automatically in generated presigned URLs; keep the returned value unchanged.

Type
API Key (query: tenantId)
+
KeyId

Identifies the key used to verify the presigned URL. Included automatically in generated URLs; keep the returned value unchanged.

Type
API Key (query: keyId)
+
Expires

Expiration timestamp (UNIX seconds)

Type
API Key (query: expires)
+
Signature

Authenticates the presigned URL. Use the URL returned by the API without changing its path or authentication parameters.

Type
API Key (query: signature)

Parameters​

Path Parameters

recordingId*

The recording ID

Type
string
Required
Example"000e8400-e00b-00d0-a716-446655440000"
Format
"uuid"

Query Parameters

playerVersion

Optional exact CDN catalog version of rrweb-player. JavaScript and CSS use the same version. Defaults to the configured CDN channel, resolved to an exact version. Unsupported versions return 400.

Type
string
Example"2.1.1"
embed

Player layout: omitted or false shows the standard page; true aliases controls. Embed presets fill the container without surrounding page UI: controls keeps controls visible, controls-hover reveals them on hover or keyboard focus (always visible on touch devices), and controls-hidden removes them completely. All presets support paused, autoplay, and looping playback.

Type
string
Valid values
"false""true""controls""controls-hover""controls-hidden"
Example"controls-hidden"
autoplay

Playback on load: false pauses (default), true plays once, and loop plays repeatedly. The initial pass starts at time; subsequent passes restart from the beginning. Looping from the recording end starts at the beginning.

Type
string
Valid values
"false""true""loop"
Example"false"
speed

Playback speed from 0.25 to 4 (default: 1). Values outside this range return 400.

Type
string
Example"1"
time

Playback position selector. Supports offset, percent, and epoch formats: offset:5000, offset:-5000, percent:50, or epoch:1702900000000. Defaults to offset:0.

Type
string
Example"offset:0"
eventsUrl

Optional URL from which the player loads recording events. Use a relative URL or a URL on the same origin as the player, such as a presigned events URL.

Type
string
Example"https://api.example.com/recordings/000e8400-e00b-00d0-a716-446655440000/events?tenantId=tenant-123&expires=1700000000&keyId=key-2025-12&signature=abcdef"

Responses​

Recording player HTML page

text/html
JSON
"<!doctype html>"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get recording screenshot​

GET
/recordings/{recordingId}/screenshot

Capture a screenshot at a chosen playback position. Request /recordings/{recordingId}/screenshot.png, .jpeg, or .webp, or select a format with the Accept header. A file extension takes precedence over the header.

Authorizations​

Private API Key

Bearer token for authentication. Use your private API key as the token.

Type
HTTP (bearer)
Example"Bearer secret_key_rr_1Q6AX5B5218353Q1AQNF2129YH5VAH02"
or
TenantId|KeyId|Expires|Signature
TenantId

Your organization ID. Included automatically in generated presigned URLs; keep the returned value unchanged.

Type
API Key (query: tenantId)
+
KeyId

Identifies the key used to verify the presigned URL. Included automatically in generated URLs; keep the returned value unchanged.

Type
API Key (query: keyId)
+
Expires

Expiration timestamp (UNIX seconds)

Type
API Key (query: expires)
+
Signature

Authenticates the presigned URL. Use the URL returned by the API without changing its path or authentication parameters.

Type
API Key (query: signature)

Parameters​

Path Parameters

recordingId*

The recording ID

Type
string
Required
Example"000e8400-e00b-00d0-a716-446655440000"
Format
"uuid"

Query Parameters

time

Playback position selector. Supports offset, percent, and epoch formats: offset:5000, offset:-5000, percent:50, or epoch:1702900000000. Defaults to offset:0.

Type
string
Example"offset:0"
width

Width in pixels from 1 to 4096. Defaults to 1280 when omitted. If height is provided and width is omitted, width is derived from the recording viewport ratio when metadata is available. Values outside this range return 400.

Type
string
Example"1280"
height

Height in pixels from 1 to 4096. Defaults to 720 when omitted and recording viewport metadata is unavailable. If width is provided or both dimensions are omitted, height is derived from the recording viewport ratio when metadata is available. Values outside this range return 400.

Type
string
Example"720"
quality

Quality from 1 to 100 for JPEG and WebP output (default: 80). Ignored for PNG.

Type
string
Example"80"

Responses​

Screenshot image

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Check recording shareability​

GET
/recordings/{recordingId}/shareability

Check whether a recording in your organization is ready to share.

Authorizations​

Private API Key

Bearer token for authentication. Use your private API key as the token.

Type
HTTP (bearer)
Example"Bearer secret_key_rr_1Q6AX5B5218353Q1AQNF2129YH5VAH02"
or
CLI OAuth Access Token

rrweb CLI access token with shareable_links:manage

Type
HTTP (bearer)

Parameters​

Path Parameters

recordingId*

The recording ID

Type
string
Required
Example"550e8400-e29b-41d4-a716-446655440000"
Format
"uuid"

Responses​

pending: events are available but a full snapshot is missing. ready: a full snapshot is available.

application/json
JSON
{
  
"status": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Create a shareable link​

POST
/recordings/{recordingId}/shares

Create a temporary link that lets anyone with the URL view a recording in your organization without an API key. The recording must be ready to share.

Authorizations​

Private API Key

Bearer token for authentication. Use your private API key as the token.

Type
HTTP (bearer)
Example"Bearer secret_key_rr_1Q6AX5B5218353Q1AQNF2129YH5VAH02"
or
CLI OAuth Access Token

rrweb CLI access token with shareable_links:manage

Type
HTTP (bearer)

Parameters​

Path Parameters

recordingId*

The recording ID

Type
string
Required
Example"550e8400-e29b-41d4-a716-446655440000"
Format
"uuid"

Request Body​

application/json
JSON
{
  
"expiresInSeconds": 0
}

Responses​

Shareable link created

application/json
JSON
{
  
"recordingId": "string",
  
"url": "string",
  
"expiresAt": 0
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Open or inspect a shareable link​

GET
/shares/{token}

Return the shareable link details, or redirect browser navigation to its player.

Parameters​

Header Parameters

Accept

Request JSON metadata or an HTML redirect to the replay player.

Type
string
Example"application/json"

Path Parameters

token*

The shareable link token

Type
string
Required
Example"u-LzqJ5W9K8YfG7xD4sN2mR6pB3cA1vH0tEoI_QXwZk"

Query Parameters

playerVersion

Optional exact CDN catalog version of rrweb-player. JavaScript and CSS use the same version. Defaults to the configured CDN channel, resolved to an exact version. Unsupported versions return 400.

Type
string
Example"2.1.1"
embed

Player layout: omitted or false shows the standard page; true aliases controls. Embed presets fill the container without surrounding page UI: controls keeps controls visible, controls-hover reveals them on hover or keyboard focus (always visible on touch devices), and controls-hidden removes them completely. All presets support paused, autoplay, and looping playback.

Type
string
Valid values
"false""true""controls""controls-hover""controls-hidden"
Example"controls-hidden"
autoplay

Playback on load: false pauses (default), true plays once, and loop plays repeatedly. The initial pass starts at time; subsequent passes restart from the beginning. Looping from the recording end starts at the beginning.

Type
string
Valid values
"false""true""loop"
Example"false"
speed

Playback speed from 0.25 to 4 (default: 1). Values outside this range return 400.

Type
string
Example"1"
time

Playback position selector. Supports offset, percent, and epoch formats: offset:5000, offset:-5000, percent:50, or epoch:1702900000000. Defaults to offset:0.

Type
string
Example"offset:0"

Responses​

Shareable link details

application/json
JSON
{
  
"recordingId": "string",
  
"expiresAt": 0,
  
"playerUrl": "string",
  
"events": {
  
  
"status": "string",
  
  
"eventsUrl": "string"
  
}
}

Playground​

Server
Headers
Variables
Key
Value

Samples​


Revoke a shareable link​

DELETE
/shares/{token}

Revoke a shareable link created by your organization. Returns 404 if the link does not exist or belongs to another organization.

Authorizations​

Private API Key

Bearer token for authentication. Use your private API key as the token.

Type
HTTP (bearer)
Example"Bearer secret_key_rr_1Q6AX5B5218353Q1AQNF2129YH5VAH02"
or
CLI OAuth Access Token

rrweb CLI access token with shareable_links:manage

Type
HTTP (bearer)

Parameters​

Path Parameters

token*

The shareable link token

Type
string
Required
Example"u-LzqJ5W9K8YfG7xD4sN2mR6pB3cA1vH0tEoI_QXwZk"

Responses​

Shareable link revoked

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Open the shared recording player​

GET
/shares/{token}/player

Open the recording player using a shareable link. No API key is required. A revoked link may remain usable briefly.

Parameters​

Path Parameters

token*

The shareable link token

Type
string
Required
Example"u-LzqJ5W9K8YfG7xD4sN2mR6pB3cA1vH0tEoI_QXwZk"

Query Parameters

playerVersion

Optional exact CDN catalog version of rrweb-player. JavaScript and CSS use the same version. Defaults to the configured CDN channel, resolved to an exact version. Unsupported versions return 400.

Type
string
Example"2.1.1"
embed

Player layout: omitted or false shows the standard page; true aliases controls. Embed presets fill the container without surrounding page UI: controls keeps controls visible, controls-hover reveals them on hover or keyboard focus (always visible on touch devices), and controls-hidden removes them completely. All presets support paused, autoplay, and looping playback.

Type
string
Valid values
"false""true""controls""controls-hover""controls-hidden"
Example"controls-hidden"
autoplay

Playback on load: false pauses (default), true plays once, and loop plays repeatedly. The initial pass starts at time; subsequent passes restart from the beginning. Looping from the recording end starts at the beginning.

Type
string
Valid values
"false""true""loop"
Example"false"
speed

Playback speed from 0.25 to 4 (default: 1). Values outside this range return 400.

Type
string
Example"1"
time

Playback position selector. Supports offset, percent, and epoch formats: offset:5000, offset:-5000, percent:50, or epoch:1702900000000. Defaults to offset:0.

Type
string
Example"offset:0"

Responses​

Shared recording player HTML page

text/html
JSON
"string"

Playground​

Server
Variables
Key
Value

Samples​


Get events for a shareable link​

GET
/shares/{token}/events

Fetch the recording events using a shareable link. No API key is required.

Parameters​

Path Parameters

token*

The shareable link token

Type
string
Required
Example"u-LzqJ5W9K8YfG7xD4sN2mR6pB3cA1vH0tEoI_QXwZk"

Responses​

Shared recording events

application/json
JSON
[
  
{
  
  
"type": 4,
  
  
"timestamp": 1234567890,
  
  
"data": {
  
  
  
"additionalProperties": "string"
  
  
},
  
  
"originalTimestamp": 0
  
}
]

Playground​

Server
Variables
Key
Value

Samples​


Authentication​


Revoke the current CLI OAuth grant​

DELETE
/oauth/grants/current

Revoke the OAuth grant associated with the presented CLI access token.

Authorizations​

CLI OAuth Access Token

rrweb CLI access token with shareable_links:manage

Type
HTTP (bearer)

Responses​

Current OAuth grant revoked

Playground​

Server
Authorization

Samples​


Powered by VitePress OpenAPI