Save Community Session
Community
Save Community Session
Save a community session to your personal library
POST
Save Community Session
Overview
This endpoint creates a copy of a community-shared session in your personal session library. The session media is copied to your storage, preserving all captions and order.Authentication
This endpoint requires authentication and consumes credits based on thesession_create feature pricing.
Path Parameters
The community session ID to save
Credit Requirements
- Feature:
session_create - Behavior: This endpoint checks if you have sufficient credits before creating the session copy
- Deduplication: If you’ve already saved this specific community session, the existing session ID is returned without consuming additional credits
Response
Always
true on successful saveThe ID of the saved session in your library
true if the session was already saved previously (no new credits consumed)How It Works
- Deduplication Check: The system first checks if you’ve already saved this community session to avoid duplicates
- Credit Validation: Ensures you have sufficient credits to create a new session
- Session Creation: Creates a new session in your library with:
- The same title, settings, and metadata
importSourceset to"community"importUrlset to"community:{id}"- Session marked as non-public by default
- Media Copy: Copies all session media:
- If media is in Supabase GENERAL bucket, it’s copied to your personal
user-mediastorage - Preserves captions, order, and media types
- Creates new
session_mediarecords linked to your session
- If media is in Supabase GENERAL bucket, it’s copied to your personal
Examples
Save a Community Session
Response (New Save)
Response (Already Saved)
Error Responses
Invalid Session ID
Status:400 Bad Request
Session Not Found or Not Public
Status:404 Not Found
Session Not Shared to Community
Status:403 Forbidden
Insufficient Credits
Status:402 Payment Required
Premium Only Feature
Status:403 Forbidden
Session Pricing Not Configured
Status:503 Service Unavailable
Notes
- The saved session is private by default (not shared to community)
- The saved session is not marked as a favorite by default
- Media files are copied to
users/{userId}/manual-sessions/{sessionId}/in your storage - The saved session maintains the same category as the original
- If the community session was imported from another source, the
isImportedflag is preserved - Subreddit lists are preserved but the session won’t fetch new media (it uses the copied media)
- The saved session can be edited, deleted, or shared like any other session in your library