Introduction
The social posting APIs let you take an Opus clip that already exists and distribute it to connected channels without leaving your workflow.Workflow
Use the following workflow when you want to turn completed clips into social posts.Step 1: Get Social Accounts
Call Get Social Accounts first so you know which connected destinations are available and which
postAccountId and subAccountId values to use later.Step 2: Create a Project
Submit your source video with Create a New Project. This starts the normal Opus clipping workflow and returns a
projectId.Step 3: Wait for Project Completion
Wait for the project-completed callback from OpusClip, or otherwise confirm the project has finished processing before you try to fetch exportable clips.
Step 4: Fetch Clips
After the project is complete, call Get Clips to retrieve the clips created for that
projectId.Step 5: Generate Social Copy
For each clip and each selected social destination, call Create a Social Copy Generation Job, then poll Get Social Copy Generation Result until the job status is
COMPLETED.Step 6: Publish or Schedule
If the post should go out immediately, call Publish a Post Instantly. If it should go out later, call Schedule a Post with a future UTC timestamp.
Step 7: Cancel a Scheduled Post
If a scheduled post needs to be withdrawn before publish time, call Cancel a Scheduled Post with the
scheduleId returned by the scheduling call.Supported Platforms
Connected accounts may report one of these platform values:YOUTUBE: YouTube channelTIKTOK_BUSINESS: TikTok accountFACEBOOK_PAGE: Facebook accountINSTAGRAM_BUSINESS: Instagram accountLINKEDIN: LinkedIn accountTWITTER: X (formerly Twitter) account
Rate Limits
GET /api/social-accounts:10 req/sPOST /api/social-copy-jobs:1 req/sGET /api/social-copy-jobs/{jobId}:10 req/sPOST /api/post-tasks:1 req/sPOST /api/publish-schedules:1 req/sDELETE /api/publish-schedules/{scheduleId}:1 req/s
Credit Consumption for X
When posting clips toX, each post consumes 1 credit.
This applies to:
- instant publishing with
POST /api/post-tasks - scheduled publishing with
POST /api/publish-schedules
Endpoints
Get Social Accounts
List the connected social destinations available for posting.
Create Social Copy Job
Generate post copy for a clip with optional tone guidance.
Get Social Copy Result
Poll a social copy job until the generated content is ready.
Publish Instantly
Publish a clip immediately to a connected social account.
Schedule a Post
Queue a clip for future publishing with a UTC timestamp.
Cancel a Scheduled Post
Cancel an existing scheduled publish task.