Skill Docs

Shorts V2 Skill

Use this skill when the job is operational publishing through Shorts V2: connect channels, create schedules, upload slideshow assets, publish to TikTok or YouTube, and poll TikTok inbox processing until it reaches a terminal state.

Overview

What This Skill Covers

This skill is intentionally narrow. It is the publishing layer, not the research or creative strategy layer.

Prerequisites

Required Setup

Authentication

X-API-Key: sk_v2_...

Base URL

https://shortsblink.com
Workflow

Standard Execution Flow

  1. list channels and pick the right one
  2. create a schedule with uploaded files or asset URLs
  3. publish immediately when needed
  4. if TikTok returns a non-terminal state like PROCESSING_DOWNLOAD, poll the status endpoint
  5. stop only when the terminal state is positive or failed

Call Sequence

GET  /api/v2/channels
POST /api/v2/schedules
POST /api/v2/schedules/{schedule_id}/publish
GET  /api/v2/schedules/{schedule_id}/status
Curl

Channel Lookup

curl https://shortsblink.com/api/v2/channels \
  -H "X-API-Key: sk_v2_..."

Create A Schedule With Multipart Upload

curl https://shortsblink.com/api/v2/schedules \
  -H "X-API-Key: sk_v2_..." \
  -F "channel_id=4" \
  -F "title=TikTok slideshow" \
  -F "caption=Uploaded by Shorts V2 skill" \
  -F "scheduled_for=2026-04-11T15:00:00Z" \
  -F "content_type=slideshow" \
  -F "delivery_mode=inbox" \
  -F "assets=@slide1.png" \
  -F "assets=@slide2.png"

Publish Immediately

curl -X POST https://shortsblink.com/api/v2/schedules/SCHEDULE_ID/publish \
  -H "X-API-Key: sk_v2_..."

Refresh TikTok Status

curl https://shortsblink.com/api/v2/schedules/SCHEDULE_ID/status \
  -H "X-API-Key: sk_v2_..."
Terminal States

TikTok Inbox Interpretation

Example Positive Response

{
  "status": "uploaded",
  "schedule": {
    "publish_result": {
      "publish_status": {
        "data": {
          "status": "SEND_TO_USER_INBOX"
        }
      },
      "inbox_status": "sent_to_user_inbox"
    }
  }
}

Example Failure Response

{
  "status": "failed",
  "schedule": {
    "publish_result": {
      "publish_status": {
        "data": {
          "status": "FAILED",
          "fail_reason": "file_format_check_failed"
        }
      }
    }
  }
}
Behavior

Media Handling Rules

Credits

How To Recover From Credit Errors

Creating a schedule costs 1 credit. If the API returns a credit error, the schedule was not created.

1. Open https://shortsblink.com/plans
2. Buy a credit pack or redeem a coupon
3. Retry the same schedule creation request

Admin coupon management is available at /admin/coupons for the authorized admin account.

Troubleshooting

Common Failure Cases