Text-only post: POST /api/content/post
Send a standard content post request with platform threads and no mediaItems. The content field is required for text-only posts.
const API_BASE_URL = 'https://api.wahdx.com';
const API_KEY = process.env.WAHDX_API_KEY;
const headers = {
'X-API-Key': API_KEY,
'Content-Type': 'application/json'
};
// Threads text-only post
await fetch(API_BASE_URL + '/api/content/post', {
method: 'POST',
headers,
body: JSON.stringify(
{
"platform": "threads",
"accountId": "THREADS_ACCOUNT_ID",
"content": "Threads text-only post — no media needed",
"threadsSettings": {
"who_can_reply": "everyone"
}
}
)
});import os
import requests
API_BASE_URL = 'https://api.wahdx.com'
API_KEY = os.environ['WAHDX_API_KEY']
headers = {
'X-API-Key': API_KEY,
'Content-Type': 'application/json',
}
# Threads text-only post
response = requests.post(
API_BASE_URL + '/api/content/post',
headers=headers,
json={
'platform': 'threads',
'accountId': 'THREADS_ACCOUNT_ID',
'content': 'Threads text-only post — no media needed',
'threadsSettings': {
'who_can_reply': 'everyone'
}
},
timeout=30,
)# Threads text-only post
curl -X POST "https://api.wahdx.com/api/content/post" \
-H "X-API-Key: $WAHDX_API_KEY" \
-H "Content-Type: application/json" \
--data-raw '{
"platform": "threads",
"accountId": "THREADS_ACCOUNT_ID",
"content": "Threads text-only post — no media needed",
"threadsSettings": {
"who_can_reply": "everyone"
}
}'