provider replaysession_recording_playlists POST /api/projects/{project_id}/session_recording_playlists/{short_id}/recordings/{session_recording_id}/
@utdk/posthog /api/projects/{project_id}/session_recording_playlists/{short_id}/recordings/{session_recording_id}/
session_recording_playlists_recordings_create
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string
session_recording_id path required
string
short_id path required
string

Try it

Authentication
Configure credentials for PostHog API
sessionRecordingPlaylistsRecordingsCreate
POST/api/projects/{project_id}/session_recording_playlists/{short_id}/recordings/{session_recording_id}/

Parameters

required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

required
required

Input

required
required

Human-readable name for the playlist.

Optional description of the playlist's purpose or contents.

Whether this playlist is pinned to the top of the list.

required
required

Set to true to soft-delete the playlist.

JSON object with recording filter criteria. Only used when type is 'filters'. Defines which recordings match this saved filter view. When updating a filters-type playlist, you must include the existing filters alongside any other changes — omitting filters will be treated as removing them.

required
required
required

Playlist type: 'collection' for manually curated recordings, 'filters' for saved filter views. Required on create, cannot be changed after. * `collection` - Collection * `filters` - Filters

required

Return whether this is a synthetic playlist

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.sessionRecordingPlaylistsRecordingsCreate()