Skip to main content
POST
/
api
/
publish-schedules
cURL
curl --request POST \
  --url https://api.opus.pro/api/publish-schedules \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data @- <<EOF
{
  "projectId": "P3021305cncs",
  "clipId": "qU3iVMSO77",
  "postAccountId": "postAccountId_xxx1",
  "subAccountId": "subAccountId_xxx1",
  "postDetail": {
    "title": "My Daughter's Creepy 3 AM Visitor",
    "custom": {
      "description": "Okay, so my daughter got a doll that can apparently move on its own. Last night at 3 AM, I heard footsteps, went to check, and this thing had moved! Totally thought I was losing my mind. Anyone else's toys play tricks? #CreepyDoll #HauntedHouse #MomLife #ParentingFails #ScaryStories",
      "privacy": "public"
    },
    "mediaType": "video"
  },
  "publishAt": "2026-03-01T16:00:00.000Z"
}
EOF
{
  "data": {
    "scheduleId": "1772177588135sHuZ-FACEBOOK_PAGE"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
projectId
string
required

Project ID

clipId
string
required

Clip ID

postAccountId
string
required

Unique ID of the connected social account record

publishAt
string
required

Future publish time in UTC ISO 8601 format

postDetail
object
required
subAccountId
string

Sub-account ID used by Facebook pages, Instagram business accounts, or LinkedIn

Response

201 - application/json

Successfully created a publish schedule

data
object
required