Create a post
curl --request POST \
--url https://posttu.com/api/v1/posts/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"postDetails": {
"base": {
"text": "Launching our new feature today across all platforms!",
"richText": "<p>Hello <span class=\"m-editor-fs__l\"><strong>world</strong></span></p>",
"title": "Product Launch Announcement",
"firstComment": "Read more details on our blog: https://example.com/blog",
"media": [
"med_abc123",
"med_xyz789"
],
"timestamp": "2026-11-08T15:00:00.000Z",
"shouldPostImmediately": true,
"useNextSlot": false,
"isNsfw": false,
"postType": "post",
"assignedApprovers": [
"usr_approver123"
],
"requireAllApprovers": false,
"generateShortLink": false,
"thread": [
{
"text": "Second post in the thread sequence",
"richText": "<string>",
"media": [
"med_thread_123"
]
}
],
"other": {
"REDDIT": {
"subreddit": "technology",
"spoiler": false
}
}
},
"channels": {
"ch_twitter_123": {
"text": "Shorter tweet version for X"
},
"ch_linkedin_456": {
"title": "Professional Announcement"
}
}
},
"isDraft": false,
"autoShiftOnLimit": false
}
'import requests
url = "https://posttu.com/api/v1/posts/create"
payload = {
"postDetails": {
"base": {
"text": "Launching our new feature today across all platforms!",
"richText": "<p>Hello <span class=\"m-editor-fs__l\"><strong>world</strong></span></p>",
"title": "Product Launch Announcement",
"firstComment": "Read more details on our blog: https://example.com/blog",
"media": ["med_abc123", "med_xyz789"],
"timestamp": "2026-11-08T15:00:00.000Z",
"shouldPostImmediately": True,
"useNextSlot": False,
"isNsfw": False,
"postType": "post",
"assignedApprovers": ["usr_approver123"],
"requireAllApprovers": False,
"generateShortLink": False,
"thread": [
{
"text": "Second post in the thread sequence",
"richText": "<string>",
"media": ["med_thread_123"]
}
],
"other": { "REDDIT": {
"subreddit": "technology",
"spoiler": False
} }
},
"channels": {
"ch_twitter_123": { "text": "Shorter tweet version for X" },
"ch_linkedin_456": { "title": "Professional Announcement" }
}
},
"isDraft": False,
"autoShiftOnLimit": False
}
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({
postDetails: {
base: {
text: 'Launching our new feature today across all platforms!',
richText: '<p>Hello <span class="m-editor-fs__l"><strong>world</strong></span></p>',
title: 'Product Launch Announcement',
firstComment: 'Read more details on our blog: https://example.com/blog',
media: ['med_abc123', 'med_xyz789'],
timestamp: '2026-11-08T15:00:00.000Z',
shouldPostImmediately: true,
useNextSlot: false,
isNsfw: false,
postType: 'post',
assignedApprovers: ['usr_approver123'],
requireAllApprovers: false,
generateShortLink: false,
thread: [
{
text: 'Second post in the thread sequence',
richText: '<string>',
media: ['med_thread_123']
}
],
other: {REDDIT: {subreddit: 'technology', spoiler: false}}
},
channels: {
ch_twitter_123: {text: 'Shorter tweet version for X'},
ch_linkedin_456: {title: 'Professional Announcement'}
}
},
isDraft: false,
autoShiftOnLimit: false
})
};
fetch('https://posttu.com/api/v1/posts/create', 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://posttu.com/api/v1/posts/create",
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([
'postDetails' => [
'base' => [
'text' => 'Launching our new feature today across all platforms!',
'richText' => '<p>Hello <span class="m-editor-fs__l"><strong>world</strong></span></p>',
'title' => 'Product Launch Announcement',
'firstComment' => 'Read more details on our blog: https://example.com/blog',
'media' => [
'med_abc123',
'med_xyz789'
],
'timestamp' => '2026-11-08T15:00:00.000Z',
'shouldPostImmediately' => true,
'useNextSlot' => false,
'isNsfw' => false,
'postType' => 'post',
'assignedApprovers' => [
'usr_approver123'
],
'requireAllApprovers' => false,
'generateShortLink' => false,
'thread' => [
[
'text' => 'Second post in the thread sequence',
'richText' => '<string>',
'media' => [
'med_thread_123'
]
]
],
'other' => [
'REDDIT' => [
'subreddit' => 'technology',
'spoiler' => false
]
]
],
'channels' => [
'ch_twitter_123' => [
'text' => 'Shorter tweet version for X'
],
'ch_linkedin_456' => [
'title' => 'Professional Announcement'
]
]
],
'isDraft' => false,
'autoShiftOnLimit' => false
]),
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://posttu.com/api/v1/posts/create"
payload := strings.NewReader("{\n \"postDetails\": {\n \"base\": {\n \"text\": \"Launching our new feature today across all platforms!\",\n \"richText\": \"<p>Hello <span class=\\\"m-editor-fs__l\\\"><strong>world</strong></span></p>\",\n \"title\": \"Product Launch Announcement\",\n \"firstComment\": \"Read more details on our blog: https://example.com/blog\",\n \"media\": [\n \"med_abc123\",\n \"med_xyz789\"\n ],\n \"timestamp\": \"2026-11-08T15:00:00.000Z\",\n \"shouldPostImmediately\": true,\n \"useNextSlot\": false,\n \"isNsfw\": false,\n \"postType\": \"post\",\n \"assignedApprovers\": [\n \"usr_approver123\"\n ],\n \"requireAllApprovers\": false,\n \"generateShortLink\": false,\n \"thread\": [\n {\n \"text\": \"Second post in the thread sequence\",\n \"richText\": \"<string>\",\n \"media\": [\n \"med_thread_123\"\n ]\n }\n ],\n \"other\": {\n \"REDDIT\": {\n \"subreddit\": \"technology\",\n \"spoiler\": false\n }\n }\n },\n \"channels\": {\n \"ch_twitter_123\": {\n \"text\": \"Shorter tweet version for X\"\n },\n \"ch_linkedin_456\": {\n \"title\": \"Professional Announcement\"\n }\n }\n },\n \"isDraft\": false,\n \"autoShiftOnLimit\": false\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://posttu.com/api/v1/posts/create")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"postDetails\": {\n \"base\": {\n \"text\": \"Launching our new feature today across all platforms!\",\n \"richText\": \"<p>Hello <span class=\\\"m-editor-fs__l\\\"><strong>world</strong></span></p>\",\n \"title\": \"Product Launch Announcement\",\n \"firstComment\": \"Read more details on our blog: https://example.com/blog\",\n \"media\": [\n \"med_abc123\",\n \"med_xyz789\"\n ],\n \"timestamp\": \"2026-11-08T15:00:00.000Z\",\n \"shouldPostImmediately\": true,\n \"useNextSlot\": false,\n \"isNsfw\": false,\n \"postType\": \"post\",\n \"assignedApprovers\": [\n \"usr_approver123\"\n ],\n \"requireAllApprovers\": false,\n \"generateShortLink\": false,\n \"thread\": [\n {\n \"text\": \"Second post in the thread sequence\",\n \"richText\": \"<string>\",\n \"media\": [\n \"med_thread_123\"\n ]\n }\n ],\n \"other\": {\n \"REDDIT\": {\n \"subreddit\": \"technology\",\n \"spoiler\": false\n }\n }\n },\n \"channels\": {\n \"ch_twitter_123\": {\n \"text\": \"Shorter tweet version for X\"\n },\n \"ch_linkedin_456\": {\n \"title\": \"Professional Announcement\"\n }\n }\n },\n \"isDraft\": false,\n \"autoShiftOnLimit\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://posttu.com/api/v1/posts/create")
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 \"postDetails\": {\n \"base\": {\n \"text\": \"Launching our new feature today across all platforms!\",\n \"richText\": \"<p>Hello <span class=\\\"m-editor-fs__l\\\"><strong>world</strong></span></p>\",\n \"title\": \"Product Launch Announcement\",\n \"firstComment\": \"Read more details on our blog: https://example.com/blog\",\n \"media\": [\n \"med_abc123\",\n \"med_xyz789\"\n ],\n \"timestamp\": \"2026-11-08T15:00:00.000Z\",\n \"shouldPostImmediately\": true,\n \"useNextSlot\": false,\n \"isNsfw\": false,\n \"postType\": \"post\",\n \"assignedApprovers\": [\n \"usr_approver123\"\n ],\n \"requireAllApprovers\": false,\n \"generateShortLink\": false,\n \"thread\": [\n {\n \"text\": \"Second post in the thread sequence\",\n \"richText\": \"<string>\",\n \"media\": [\n \"med_thread_123\"\n ]\n }\n ],\n \"other\": {\n \"REDDIT\": {\n \"subreddit\": \"technology\",\n \"spoiler\": false\n }\n }\n },\n \"channels\": {\n \"ch_twitter_123\": {\n \"text\": \"Shorter tweet version for X\"\n },\n \"ch_linkedin_456\": {\n \"title\": \"Professional Announcement\"\n }\n }\n },\n \"isDraft\": false,\n \"autoShiftOnLimit\": false\n}"
response = http.request(request)
puts response.read_body{
"data": {
"ids": [
"post_new123"
],
"scheduledFor": "2023-11-07T05:31:56Z"
},
"success": true,
"error": "<string>",
"message": "<string>"
}{
"error": "<string>"
}Posts
Create a post
Create and optionally schedule one or more posts across platforms.
POST
/
api
/
v1
/
posts
/
create
Create a post
curl --request POST \
--url https://posttu.com/api/v1/posts/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"postDetails": {
"base": {
"text": "Launching our new feature today across all platforms!",
"richText": "<p>Hello <span class=\"m-editor-fs__l\"><strong>world</strong></span></p>",
"title": "Product Launch Announcement",
"firstComment": "Read more details on our blog: https://example.com/blog",
"media": [
"med_abc123",
"med_xyz789"
],
"timestamp": "2026-11-08T15:00:00.000Z",
"shouldPostImmediately": true,
"useNextSlot": false,
"isNsfw": false,
"postType": "post",
"assignedApprovers": [
"usr_approver123"
],
"requireAllApprovers": false,
"generateShortLink": false,
"thread": [
{
"text": "Second post in the thread sequence",
"richText": "<string>",
"media": [
"med_thread_123"
]
}
],
"other": {
"REDDIT": {
"subreddit": "technology",
"spoiler": false
}
}
},
"channels": {
"ch_twitter_123": {
"text": "Shorter tweet version for X"
},
"ch_linkedin_456": {
"title": "Professional Announcement"
}
}
},
"isDraft": false,
"autoShiftOnLimit": false
}
'import requests
url = "https://posttu.com/api/v1/posts/create"
payload = {
"postDetails": {
"base": {
"text": "Launching our new feature today across all platforms!",
"richText": "<p>Hello <span class=\"m-editor-fs__l\"><strong>world</strong></span></p>",
"title": "Product Launch Announcement",
"firstComment": "Read more details on our blog: https://example.com/blog",
"media": ["med_abc123", "med_xyz789"],
"timestamp": "2026-11-08T15:00:00.000Z",
"shouldPostImmediately": True,
"useNextSlot": False,
"isNsfw": False,
"postType": "post",
"assignedApprovers": ["usr_approver123"],
"requireAllApprovers": False,
"generateShortLink": False,
"thread": [
{
"text": "Second post in the thread sequence",
"richText": "<string>",
"media": ["med_thread_123"]
}
],
"other": { "REDDIT": {
"subreddit": "technology",
"spoiler": False
} }
},
"channels": {
"ch_twitter_123": { "text": "Shorter tweet version for X" },
"ch_linkedin_456": { "title": "Professional Announcement" }
}
},
"isDraft": False,
"autoShiftOnLimit": False
}
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({
postDetails: {
base: {
text: 'Launching our new feature today across all platforms!',
richText: '<p>Hello <span class="m-editor-fs__l"><strong>world</strong></span></p>',
title: 'Product Launch Announcement',
firstComment: 'Read more details on our blog: https://example.com/blog',
media: ['med_abc123', 'med_xyz789'],
timestamp: '2026-11-08T15:00:00.000Z',
shouldPostImmediately: true,
useNextSlot: false,
isNsfw: false,
postType: 'post',
assignedApprovers: ['usr_approver123'],
requireAllApprovers: false,
generateShortLink: false,
thread: [
{
text: 'Second post in the thread sequence',
richText: '<string>',
media: ['med_thread_123']
}
],
other: {REDDIT: {subreddit: 'technology', spoiler: false}}
},
channels: {
ch_twitter_123: {text: 'Shorter tweet version for X'},
ch_linkedin_456: {title: 'Professional Announcement'}
}
},
isDraft: false,
autoShiftOnLimit: false
})
};
fetch('https://posttu.com/api/v1/posts/create', 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://posttu.com/api/v1/posts/create",
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([
'postDetails' => [
'base' => [
'text' => 'Launching our new feature today across all platforms!',
'richText' => '<p>Hello <span class="m-editor-fs__l"><strong>world</strong></span></p>',
'title' => 'Product Launch Announcement',
'firstComment' => 'Read more details on our blog: https://example.com/blog',
'media' => [
'med_abc123',
'med_xyz789'
],
'timestamp' => '2026-11-08T15:00:00.000Z',
'shouldPostImmediately' => true,
'useNextSlot' => false,
'isNsfw' => false,
'postType' => 'post',
'assignedApprovers' => [
'usr_approver123'
],
'requireAllApprovers' => false,
'generateShortLink' => false,
'thread' => [
[
'text' => 'Second post in the thread sequence',
'richText' => '<string>',
'media' => [
'med_thread_123'
]
]
],
'other' => [
'REDDIT' => [
'subreddit' => 'technology',
'spoiler' => false
]
]
],
'channels' => [
'ch_twitter_123' => [
'text' => 'Shorter tweet version for X'
],
'ch_linkedin_456' => [
'title' => 'Professional Announcement'
]
]
],
'isDraft' => false,
'autoShiftOnLimit' => false
]),
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://posttu.com/api/v1/posts/create"
payload := strings.NewReader("{\n \"postDetails\": {\n \"base\": {\n \"text\": \"Launching our new feature today across all platforms!\",\n \"richText\": \"<p>Hello <span class=\\\"m-editor-fs__l\\\"><strong>world</strong></span></p>\",\n \"title\": \"Product Launch Announcement\",\n \"firstComment\": \"Read more details on our blog: https://example.com/blog\",\n \"media\": [\n \"med_abc123\",\n \"med_xyz789\"\n ],\n \"timestamp\": \"2026-11-08T15:00:00.000Z\",\n \"shouldPostImmediately\": true,\n \"useNextSlot\": false,\n \"isNsfw\": false,\n \"postType\": \"post\",\n \"assignedApprovers\": [\n \"usr_approver123\"\n ],\n \"requireAllApprovers\": false,\n \"generateShortLink\": false,\n \"thread\": [\n {\n \"text\": \"Second post in the thread sequence\",\n \"richText\": \"<string>\",\n \"media\": [\n \"med_thread_123\"\n ]\n }\n ],\n \"other\": {\n \"REDDIT\": {\n \"subreddit\": \"technology\",\n \"spoiler\": false\n }\n }\n },\n \"channels\": {\n \"ch_twitter_123\": {\n \"text\": \"Shorter tweet version for X\"\n },\n \"ch_linkedin_456\": {\n \"title\": \"Professional Announcement\"\n }\n }\n },\n \"isDraft\": false,\n \"autoShiftOnLimit\": false\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://posttu.com/api/v1/posts/create")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"postDetails\": {\n \"base\": {\n \"text\": \"Launching our new feature today across all platforms!\",\n \"richText\": \"<p>Hello <span class=\\\"m-editor-fs__l\\\"><strong>world</strong></span></p>\",\n \"title\": \"Product Launch Announcement\",\n \"firstComment\": \"Read more details on our blog: https://example.com/blog\",\n \"media\": [\n \"med_abc123\",\n \"med_xyz789\"\n ],\n \"timestamp\": \"2026-11-08T15:00:00.000Z\",\n \"shouldPostImmediately\": true,\n \"useNextSlot\": false,\n \"isNsfw\": false,\n \"postType\": \"post\",\n \"assignedApprovers\": [\n \"usr_approver123\"\n ],\n \"requireAllApprovers\": false,\n \"generateShortLink\": false,\n \"thread\": [\n {\n \"text\": \"Second post in the thread sequence\",\n \"richText\": \"<string>\",\n \"media\": [\n \"med_thread_123\"\n ]\n }\n ],\n \"other\": {\n \"REDDIT\": {\n \"subreddit\": \"technology\",\n \"spoiler\": false\n }\n }\n },\n \"channels\": {\n \"ch_twitter_123\": {\n \"text\": \"Shorter tweet version for X\"\n },\n \"ch_linkedin_456\": {\n \"title\": \"Professional Announcement\"\n }\n }\n },\n \"isDraft\": false,\n \"autoShiftOnLimit\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://posttu.com/api/v1/posts/create")
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 \"postDetails\": {\n \"base\": {\n \"text\": \"Launching our new feature today across all platforms!\",\n \"richText\": \"<p>Hello <span class=\\\"m-editor-fs__l\\\"><strong>world</strong></span></p>\",\n \"title\": \"Product Launch Announcement\",\n \"firstComment\": \"Read more details on our blog: https://example.com/blog\",\n \"media\": [\n \"med_abc123\",\n \"med_xyz789\"\n ],\n \"timestamp\": \"2026-11-08T15:00:00.000Z\",\n \"shouldPostImmediately\": true,\n \"useNextSlot\": false,\n \"isNsfw\": false,\n \"postType\": \"post\",\n \"assignedApprovers\": [\n \"usr_approver123\"\n ],\n \"requireAllApprovers\": false,\n \"generateShortLink\": false,\n \"thread\": [\n {\n \"text\": \"Second post in the thread sequence\",\n \"richText\": \"<string>\",\n \"media\": [\n \"med_thread_123\"\n ]\n }\n ],\n \"other\": {\n \"REDDIT\": {\n \"subreddit\": \"technology\",\n \"spoiler\": false\n }\n }\n },\n \"channels\": {\n \"ch_twitter_123\": {\n \"text\": \"Shorter tweet version for X\"\n },\n \"ch_linkedin_456\": {\n \"title\": \"Professional Announcement\"\n }\n }\n },\n \"isDraft\": false,\n \"autoShiftOnLimit\": false\n}"
response = http.request(request)
puts response.read_body{
"data": {
"ids": [
"post_new123"
],
"scheduledFor": "2023-11-07T05:31:56Z"
},
"success": true,
"error": "<string>",
"message": "<string>"
}{
"error": "<string>"
}Authorizations
Body
application/json
Last modified on June 21, 2026

