curl --request POST \
--url https://api.creatorline.io/v1/clips \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"account_id": "e307923d-bc66-4959-a297-6e230b93dc22",
"asset_ids": [
"9b2f7c10-4f3a-4a2b-9f10-77c3d2e1a8b4"
],
"caption": "morning ritual ☕️",
"hashtags": [
"skincare",
"grwm"
]
}
'import requests
url = "https://api.creatorline.io/v1/clips"
payload = {
"account_id": "e307923d-bc66-4959-a297-6e230b93dc22",
"asset_ids": ["9b2f7c10-4f3a-4a2b-9f10-77c3d2e1a8b4"],
"caption": "morning ritual ☕️",
"hashtags": ["skincare", "grwm"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
account_id: 'e307923d-bc66-4959-a297-6e230b93dc22',
asset_ids: ['9b2f7c10-4f3a-4a2b-9f10-77c3d2e1a8b4'],
caption: 'morning ritual ☕️',
hashtags: ['skincare', 'grwm']
})
};
fetch('https://api.creatorline.io/v1/clips', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.creatorline.io/v1/clips",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'account_id' => 'e307923d-bc66-4959-a297-6e230b93dc22',
'asset_ids' => [
'9b2f7c10-4f3a-4a2b-9f10-77c3d2e1a8b4'
],
'caption' => 'morning ritual ☕️',
'hashtags' => [
'skincare',
'grwm'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.creatorline.io/v1/clips"
payload := strings.NewReader("{\n \"account_id\": \"e307923d-bc66-4959-a297-6e230b93dc22\",\n \"asset_ids\": [\n \"9b2f7c10-4f3a-4a2b-9f10-77c3d2e1a8b4\"\n ],\n \"caption\": \"morning ritual ☕️\",\n \"hashtags\": [\n \"skincare\",\n \"grwm\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.creatorline.io/v1/clips")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"account_id\": \"e307923d-bc66-4959-a297-6e230b93dc22\",\n \"asset_ids\": [\n \"9b2f7c10-4f3a-4a2b-9f10-77c3d2e1a8b4\"\n ],\n \"caption\": \"morning ritual ☕️\",\n \"hashtags\": [\n \"skincare\",\n \"grwm\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.creatorline.io/v1/clips")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"account_id\": \"e307923d-bc66-4959-a297-6e230b93dc22\",\n \"asset_ids\": [\n \"9b2f7c10-4f3a-4a2b-9f10-77c3d2e1a8b4\"\n ],\n \"caption\": \"morning ritual ☕️\",\n \"hashtags\": [\n \"skincare\",\n \"grwm\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"object": "clip",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "generating",
"asset_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"title": "<string>",
"format": "photo",
"ratio": "<string>",
"caption": "<string>",
"hashtags": [
"<string>"
],
"channels": [
"<string>"
],
"scheduled_for": "<string>",
"timezone": "<string>",
"draft": true,
"made_with_ai": true,
"physical_device": true,
"device_post_id": "<string>",
"auto_add_music": true,
"photo_cover_index": 123,
"platform_settings": {},
"published_at": "<string>",
"created_at": 123,
"duration_sec": 123,
"account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"error": "<string>",
"channel_posts": [
{
"platform": "<string>",
"status": "<string>",
"url": "<string>",
"error": "<string>"
}
]
}{
"error": {
"type": "invalid_request_error",
"code": "invalid_parameter",
"message": "This creator has no connected channels. Connect one in the studio, or pass `channels` explicitly.",
"param": "channels"
},
"request_id": "req_8fQ2mRxK1pLd"
}{
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "Missing or invalid API key."
},
"request_id": "req_8fQ2mRxK1pLd"
}{
"error": {
"type": "permission_error",
"code": "insufficient_scope",
"message": "This API key is read-only. Create a key with the `write` scope to run generations."
},
"request_id": "req_8fQ2mRxK1pLd"
}{
"error": {
"type": "not_found_error",
"code": "resource_missing",
"message": "No such generation."
},
"request_id": "req_8fQ2mRxK1pLd"
}Create a post
Turn finished media into a post for one creator. It is created at pending_review
— the review gate’s entry state. Nothing is public yet; it appears in the studio’s
review queue like any other post.
channels defaults to that creator’s CONNECTED channels, so the common case is just
account_id, asset_ids and caption. The format (video / carousel / photo) is derived
from the media and validated against every target platform before the post is written.
curl --request POST \
--url https://api.creatorline.io/v1/clips \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"account_id": "e307923d-bc66-4959-a297-6e230b93dc22",
"asset_ids": [
"9b2f7c10-4f3a-4a2b-9f10-77c3d2e1a8b4"
],
"caption": "morning ritual ☕️",
"hashtags": [
"skincare",
"grwm"
]
}
'import requests
url = "https://api.creatorline.io/v1/clips"
payload = {
"account_id": "e307923d-bc66-4959-a297-6e230b93dc22",
"asset_ids": ["9b2f7c10-4f3a-4a2b-9f10-77c3d2e1a8b4"],
"caption": "morning ritual ☕️",
"hashtags": ["skincare", "grwm"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
account_id: 'e307923d-bc66-4959-a297-6e230b93dc22',
asset_ids: ['9b2f7c10-4f3a-4a2b-9f10-77c3d2e1a8b4'],
caption: 'morning ritual ☕️',
hashtags: ['skincare', 'grwm']
})
};
fetch('https://api.creatorline.io/v1/clips', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.creatorline.io/v1/clips",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'account_id' => 'e307923d-bc66-4959-a297-6e230b93dc22',
'asset_ids' => [
'9b2f7c10-4f3a-4a2b-9f10-77c3d2e1a8b4'
],
'caption' => 'morning ritual ☕️',
'hashtags' => [
'skincare',
'grwm'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.creatorline.io/v1/clips"
payload := strings.NewReader("{\n \"account_id\": \"e307923d-bc66-4959-a297-6e230b93dc22\",\n \"asset_ids\": [\n \"9b2f7c10-4f3a-4a2b-9f10-77c3d2e1a8b4\"\n ],\n \"caption\": \"morning ritual ☕️\",\n \"hashtags\": [\n \"skincare\",\n \"grwm\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.creatorline.io/v1/clips")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"account_id\": \"e307923d-bc66-4959-a297-6e230b93dc22\",\n \"asset_ids\": [\n \"9b2f7c10-4f3a-4a2b-9f10-77c3d2e1a8b4\"\n ],\n \"caption\": \"morning ritual ☕️\",\n \"hashtags\": [\n \"skincare\",\n \"grwm\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.creatorline.io/v1/clips")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"account_id\": \"e307923d-bc66-4959-a297-6e230b93dc22\",\n \"asset_ids\": [\n \"9b2f7c10-4f3a-4a2b-9f10-77c3d2e1a8b4\"\n ],\n \"caption\": \"morning ritual ☕️\",\n \"hashtags\": [\n \"skincare\",\n \"grwm\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"object": "clip",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "generating",
"asset_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"title": "<string>",
"format": "photo",
"ratio": "<string>",
"caption": "<string>",
"hashtags": [
"<string>"
],
"channels": [
"<string>"
],
"scheduled_for": "<string>",
"timezone": "<string>",
"draft": true,
"made_with_ai": true,
"physical_device": true,
"device_post_id": "<string>",
"auto_add_music": true,
"photo_cover_index": 123,
"platform_settings": {},
"published_at": "<string>",
"created_at": 123,
"duration_sec": 123,
"account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"error": "<string>",
"channel_posts": [
{
"platform": "<string>",
"status": "<string>",
"url": "<string>",
"error": "<string>"
}
]
}{
"error": {
"type": "invalid_request_error",
"code": "invalid_parameter",
"message": "This creator has no connected channels. Connect one in the studio, or pass `channels` explicitly.",
"param": "channels"
},
"request_id": "req_8fQ2mRxK1pLd"
}{
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "Missing or invalid API key."
},
"request_id": "req_8fQ2mRxK1pLd"
}{
"error": {
"type": "permission_error",
"code": "insufficient_scope",
"message": "This API key is read-only. Create a key with the `write` scope to run generations."
},
"request_id": "req_8fQ2mRxK1pLd"
}{
"error": {
"type": "not_found_error",
"code": "resource_missing",
"message": "No such generation."
},
"request_id": "req_8fQ2mRxK1pLd"
}Authorizations
Your organization's API key, from Settings → MCP. Authorization: Bearer crl_sk_live_…
Body
Media, in post order.
1 - 10 elementsDefaults to the creator's connected channels.
IG, TikTok, YouTube, Telegram Target time as "HH:mm".
Declare the format instead of deriving it from the assets.
photo, video, carousel IANA zone the schedule is read in, e.g. "Europe/Istanbul".
Hand the post over as a draft the creator finishes in the platform's own app (TikTok's Creator Inbox) instead of publishing it live. EVERY targeted channel must support drafts, so a mixed selection is a 400. Orthogonal to timing, and cannot be combined with physical_device.
AI-disclosure flag, sent to every targeted channel that has one: TikTok's videoMadeWithAi and YouTube's containsSyntheticMedia.
Post from the creator's bound physical phone, alongside the channels or instead of them. Needs the workspace's physical-device feature flag AND a creator with a device bound to them; missing either is a 400 on physical_device. Pass it with an EXPLICIT channels: [] for a device-only post (omitting channels still means every connected channel).
TikTok photo carousels: let TikTok add a soundtrack. On by default.
TikTok photo carousels: which image is the cover, 0-based into asset_ids.
x >= 0Per-platform overrides, keyed by a channel the post actually targets. Every channel takes caption and scheduled_for; YouTube also takes title and visibility. A key naming an untargeted channel, or a setting the platform does not take, is a 400 rather than a value quietly dropped on the way to the platform.
Show child attributes
Show child attributes
Response
The post, awaiting review.
clip draft_sent is a post handed to the creator's app inbox as a draft. It is terminal for us: we never learn whether the creator posted it, so it never becomes published.
generating, pending_review, approved, scheduled, published, draft_sent, failed, rejected photo, video, carousel Present only when the post is handed over as a draft.
The AI-disclosure flag the post carries.
Present only when the post goes out from the creator's bound physical phone. A post with no channels goes there alone.
The phone hand-off's id, set once the device destination accepted the post.
Per-platform overrides, keyed by a channel the post actually targets. Every channel takes caption and scheduled_for; YouTube also takes title and visibility. A key naming an untargeted channel, or a setting the platform does not take, is a 400 rather than a value quietly dropped on the way to the platform.
Show child attributes
Show child attributes
Per-platform publish state, filled in as each platform confirms.
Show child attributes
Show child attributes