Repurpose
One call takes a post from a link and publishes it to your accounts: it downloads the video or images, converts the format, writes a caption for each network, credits the original creator, and publishes, schedules, queues or drafts the result.
How it works
- Reads the source post (TikTok, YouTube, Instagram, X, Facebook and others) for its caption, author and media.
- Downloads the video into your media library, or imports up to 10 images when the post has no video.
- Converts the media when you ask, for example to 9:16 for Reels, Shorts and TikTok.
- Writes the caption: keeps the original, rewrites it with AI for each network, or uses your own text, then adds a credit line.
- Creates the post in the mode you chose. It goes through the same validation and API key policy as any other post, and YouTube gets the source title.
curl -X POST "https://postkea.com/api/v1/repurpose" \
-H "Authorization: Bearer $POSTKEA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"sourceUrl": "https://www.tiktok.com/@studiolumen/video/7301234567890",
"accountIds": [
"acc_ig_5t1p",
"acc_yt_6b8n",
"acc_li_3m9q"
],
"captionMode": "ai",
"tone": "warm and practical",
"format": "vertical",
"scheduledFor": "2026-10-21T09:00",
"timezone": "Europe/Berlin",
"rightsConfirmed": true
}'const res = await fetch("https://postkea.com/api/v1/repurpose", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POSTKEA_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
sourceUrl: "https://www.tiktok.com/@studiolumen/video/7301234567890",
accountIds: ["acc_ig_5t1p", "acc_yt_6b8n", "acc_li_3m9q"],
captionMode: "ai",
tone: "warm and practical",
format: "vertical",
scheduledFor: "2026-10-21T09:00",
timezone: "Europe/Berlin",
rightsConfirmed: true,
}),
});
const { data: job } = await res.json();
console.log(job);import os, requests
r = requests.post(
"https://postkea.com/api/v1/repurpose",
headers={"Authorization": f"Bearer {os.environ['POSTKEA_API_KEY']}"},
json={
"sourceUrl": "https://www.tiktok.com/@studiolumen/video/7301234567890",
"accountIds": ["acc_ig_5t1p", "acc_yt_6b8n", "acc_li_3m9q"],
"captionMode": "ai",
"tone": "warm and practical",
"format": "vertical",
"scheduledFor": "2026-10-21T09:00",
"timezone": "Europe/Berlin",
"rightsConfirmed": True,
},
)
job = r.json()["data"]
print(job)Request body
Result
The response is 202 with a job. Poll GET /v1/jobs/{id} until it is ready. The result has the created postId (or postIds when queued), the post status, the converted mediaItems and the caption used for each account. It costs the download (per minute, see Downloads and jobs) plus 1 credit per network that publishes.
A finished repurpose job
{
"jobId": "job_R8p2...",
"type": "repurpose",
"status": "ready",
"result": {
"postId": "post_7Yt1...",
"postIds": [
"post_7Yt1..."
],
"status": "scheduled",
"mediaItems": [
{
"type": "video",
"url": "https://postkea.com/files/media/...-vertical.mp4",
"mediaId": "med_...",
"width": 1080,
"height": 1920,
"durationSec": 32
}
],
"captions": {
"acc_ig_5t1p": "Ever wondered what happens inside a kiln?...\n\nCredit: @studiolumen"
},
"steps": {
"media": {
"mediaId": "med_...",
"durationSec": 32
},
"captionEngine": "claude"
}
}
}Rights and credit
Only repurpose content you own or have permission to use. The request is refused without
rightsConfirmed: true, the credit line is on by default, and the post keeps a link to its source. Reposting other people's work without permission can break the networks' rules and copyright law, and can get your accounts suspended.