publishAt will have stage IDEA.publishAt will have stage DRAFT.type field determines which other fields are required or supported (e.g., LINK posts require links, MEDIA posts require medias).POST /media endpoint to obtain mediaLibId values.facebook, instagram, linkedIn, tiktok) are only applied to posts targeting those networks.net property, or apply to all networks by leaving it null.curl --location --request POST 'https://api.swonkie.dev/v2/posts' \
--header 'X-API-ID: {{apiId}}' \
--header 'X-API-KEY: {{apiKey}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "MEDIA",
"profileIds": [
"Tjg3YjhSU2xZREFqM1RqOTRnZTdpZz09"
],
"publishAt": "2026-01-31T11:30:00.000Z",
"captions": [
{
"plainText": "A post caption!",
"firstComment": {
"plainText": "First comment gets a fix."
},
"net": "facebook"
}
],
"medias": [
{
"mediaFiles": [
{
"mediaLibId": "RDlHZERwbitlK1lmQU0xNW0zWUhWZz09"
}
],
"net": "facebook"
}
],
"links": [
{
"link": "https://brinfer.com",
"linkTitle": "Brinfer - Influencer Marketing",
"linkDescription": "Brinfer is the best influencer marketing marketplace platform!",
"mediaLibId": "RDlHZERwbitlK1lmQU0xNW0zWUhWZz09",
"net": "facebook"
}
],
"briefing": {
"markdown": "# A markdown briefing here!"
},
"facebook": {
"carousels": [
{
"link": "https://brinfer.com",
"title": "Brinfer - Influencer Marketing",
"description": "Brinfer is the best influencer marketing marketplace platform!",
"mediaLibId": "RDlHZERwbitlK1lmQU0xNW0zWUhWZz09",
"callToAction": "NO_BUTTON"
}
],
"carouselEndCard": true
},
"instagram": {
"shareToFeed": true
},
"linkedIn": {
"documentTitle": "Brinfer Document Title"
},
"tiktok": {
"autoAddMusic": true,
"disableComments": true,
"isBrandedContent": true,
"isBrandOrganic": true,
"title": "Brinfer TikTok Title",
"disableDuet": true,
"disableStitch": true,
"isAiGenerated": true
},
"labelIds": [
"RDlHZERwbitlK1lmQU0xNW0zWUhWZz09"
]
}'{
"id": "UG9zdElkMTIzNDU2Nzg5",
"type": "MEDIA",
"stage": "DRAFT",
"publishAt": "2026-02-01T10:00:00.000Z",
"budget": 0,
"profiles": [
{
"id": "Tjg3YjhSU2xZREFqM1RqOTRnZTdpZz09",
"name": "Brand Official Page",
"username": "brandofficial",
"picture": "https://storage.example.com/profiles/abc123.jpg",
"net": {
"code": "facebook",
"name": "Facebook"
},
"publishStatus": null
}
],
"captions": [
{
"plainText": "Excited to announce our new product! 🚀 #innovation",
"net": null,
"firstComment": null
}
],
"medias": [
{
"id": "TWVkaWFJZDk4NzY1NDMyMQ==",
"url": "https://storage.example.com/media/product.jpg",
"type": "image/jpeg",
"net": null
}
],
"links": [],
"labels": [
{
"id": "TGFiZWxJZDExMTExMTEx",
"name": "Product Launch",
"color": "#FF5733"
}
],
"briefing": null
}