Bug: Unable to get playlist recordings, docs on session replay API incorrectly suggest personal API keys work #10481
Open
Description
Summary
The documentation appears to be errant for GET /api/projects/:project_id/session_recording_playlists/:short_id/recordings
. It provides an example of using a personal API key. When you attempt to get recordings with an all access personal api key, however, you will get an error.
Minimal repro:
curl \
-H "Authorization: Bearer $KEY" \
https://us.posthog.com/api/projects/:project_id/session_recording_playlists/:short_id/recordings/
# {"type":"authentication_error","code":"permission_denied","detail":"This action does not support Personal API Key access","attr":null}
What kind of request is this?
- New docs page / feature
- Update to existing page
- Not sure
Either the documentation should be updated or this obvious authentication bug should be fixed.
Which product is this for?
- Product OS (e.g. platform features)
- Product analytics
- Session replay
- Feature flags
- Experiments
- Surveys
- CDP
- Data warehouse
- Other (e.g. open source specific)
Is there a deadline for this change?
- Yes (please specify)
- No