Skip to main content
POST
/
schedule
/
create
Create Schedule
curl --request POST \
  --url https://api.d1g.qzz.io/api/v1/schedule/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "videoId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "tiktokAccountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "scheduledPublishTime": "2025-01-25T14:30:00.000Z"
}
'
{
  "success": true,
  "data": {
    "scheduleId": "123e4567-e89b-12d3-a456-426614174000",
    "scheduledTime": "2025-01-25T14:30:00.000Z",
    "status": "pending",
    "createdAt": "2025-01-21T14:30:00.000Z"
  }
}

Authorizations

Authorization
string
header
required

Use JWT token (from Supabase auth) or API key (format: sk_live_...)

Body

application/json
videoId
string<uuid>
required
tiktokAccountId
string<uuid>
required
scheduledPublishTime
string<date-time>
required
Example:

"2025-01-25T14:30:00.000Z"

Response

201 - application/json

Schedule created

success
boolean
Example:

true

data
object