> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.simplified.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.simplified.com/_mcp/server.

# Social · Posts · Create a social media post

POST https://api.simplified.com/api/v1/service/social-media/create
Content-Type: application/json

Schedule, queue, or draft a social media post. Publishing actions ('schedule', 'add\_to\_queue') require at least one account in account\_ids; 'draft' can be saved without any account. Optionally attach auto-comments via `comments`: a list of `{ "message": string, "delay": seconds }` objects published after the post goes live, in array order. For a LinkedIn document (carousel) post, pass the PDF as `additional.linkedin.document` (see `LinkedinDocument`) with `media: []`.

Reference: https://docs.simplified.com/api-reference/social-media/posts/create-social-media-post

## Authentication

- `Authorization` header (required) (prefixed with ` Api-Key   `) — Header authentication of the form `Api-Key  <token>`
- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Body (application/json)

This endpoint expects a CreatePostRequest.

- `message` (string, required)
- `action` (enum, required)
  - Allowed values: `schedule`, `add_to_queue`, `draft`
- `account_ids` (list of string, optional) — Target social media account IDs. Required for action 'schedule' and 'add_to_queue'. For action 'draft' this may be empty or omitted to create an accountless draft (saved without a connected account).
- `date` (string, optional) — Scheduled datetime in format: YYYY-MM-DD HH:MM
- `media` (list of MediaItem, optional) — Media items attached to the post. Each entry is a Simplified asset UUID, a fully qualified URL, or a `{ url, thumbUrl }` object for video with an explicit poster/thumbnail — see `MediaItem`. Asset UUIDs are resolved server-side to a fresh permanent URL before publishing; pass them whenever the media was produced via `generateImage` with `storage: "asset"`. URLs are passed through as-is and should only be used for media that already lives at a permanent public location.
- `tags` (list of integer, optional) — Tag (label) IDs to attach to the created post(s). Get IDs via `listSocialMediaTags`; create new ones via `createSocialMediaTag`. Tags are used by the user to filter posts in the Drafts/Publishing views and to deep-link the confirmation widget.
- `comments` (list of CreatePostRequestCommentsItems, optional) — Optional auto-comments published to the post after it goes live, in array order. Omit or pass an empty array for no comments. Each entry exposes only `message` + `delay` (no media). `delay` is cast to an integer server-side; a comment with no `message` defaults to "".
- `additional` (AdditionalSettings, optional)

## Response

### 200

Post created successfully

- `any`

## Types

### MediaItem

A single media attachment. One of three forms: * a Simplified asset UUID (resolved server-side to a fresh permanent URL at publish time — use for media produced via `generateImage` with `storage: "asset"`); * a fully qualified media URL, used as-is (media must already live at a permanent public location); * an object with an explicit poster/thumbnail, e.g. `{"url": "https://example.com/v.mp4", "thumbUrl": "https://example.com/poster.jpg"}` — use for video when you want to control the preview frame.

### CreatePostRequestCommentsItems

- `message` (string, optional, default: ) — The comment text.
- `delay` (integer, optional, default: 0) — Seconds to wait after the post is published before posting this comment.

### AdditionalSettings

- `facebook` (AdditionalSettingsFacebook, optional)
- `instagram` (AdditionalSettingsInstagram, optional)
- `tiktok` (AdditionalSettingsTiktok, optional)
- `tiktokBusiness` (AdditionalSettingsTiktokBusiness, optional)
- `youtube` (AdditionalSettingsYoutube, optional)
- `linkedin` (AdditionalSettingsLinkedin, optional)
- `pinterest` (AdditionalSettingsPinterest, optional)
- `threads` (AdditionalSettingsThreads, optional)
- `google` (AdditionalSettingsGoogle, optional)
- `bluesky` (AdditionalSettingsBluesky, optional)

### MediaItem2

- `url` (string, required) — Direct media URL (e.g. an .mp4 video) — used as-is.
- `thumbUrl` (string, optional) — Optional poster/thumbnail image URL shown as the media preview (e.g. the video cover frame).

### AdditionalSettingsFacebook

- `postType` (FacebookPostType, optional)

### AdditionalSettingsInstagram

- `postType` (InstagramPostType, optional)
- `channel` (InstagramChannel, optional)
- `postReel` (InstagramPostReel, optional)

### AdditionalSettingsTiktok

- `postType` (TiktokPostType, optional)
- `post` (TiktokPost, optional)
- `channel` (TiktokChannel, optional)
- `postPhoto` (TiktokPostPhoto, optional)

### AdditionalSettingsTiktokBusiness

- `postType` (TiktokPostType, optional)
- `post` (TiktokBusinessPost, optional)
- `postPhoto` (TiktokPostPhoto, optional)

### AdditionalSettingsYoutube

- `postType` (YoutubePostType, optional)
- `post` (YoutubePost, optional)

### AdditionalSettingsLinkedin

- `audience` (LinkedinAudience, optional)
- `document` (LinkedinDocument, optional) — LinkedIn document post — LinkedIn's carousel format: one PDF whose pages are the slides. `url` is a fully qualified PDF URL; a freshly signed Simplified asset URL (the `file_url` from `getAsset` once a PDF asset created with `asset_type: 17` reaches status 4) is the usual source. Asset UUIDs are not resolved here — unlike `media`, this field is passed to the social service as-is. Send `media: []` with a document — LinkedIn renders the PDF, not photos. PDF only, up to 300 pages / 100 MB.

### AdditionalSettingsPinterest

- `post` (PinterestPost, optional)

### AdditionalSettingsThreads

- `channel` (ThreadsChannel, optional)

### AdditionalSettingsGoogle

- `post` (GooglePost, optional)

### AdditionalSettingsBluesky

### FacebookPostType

- `value` (enum, optional, default: post)
  - Allowed values: `post`, `reel`, `story`

### InstagramPostType

- `value` (enum, optional, default: post)
  - Allowed values: `post`, `reel`, `story`

### InstagramChannel

- `value` (enum, optional, default: direct)
  - Allowed values: `direct`, `reminder`

### InstagramPostReel

- `audioName` (string, optional)
- `shareToFeed` (boolean, optional, default: true)

### TiktokPostType

- `value` (enum, optional, default: video)
  - Allowed values: `video`, `photo`

### TiktokPost

- `privacyStatus` (enum, optional, default: PUBLIC_TO_EVERYONE)
  - Allowed values: `PUBLIC_TO_EVERYONE`, `MUTUAL_FOLLOW_FRIENDS`, `FOLLOWER_OF_CREATOR`, `SELF_ONLY`
- `brandContent` (boolean, optional, default: false)
- `brandOrganic` (boolean, optional, default: false)
- `duetDisabled` (boolean, optional, default: true)
- `stitchDisabled` (boolean, optional, default: true)
- `commentDisabled` (boolean, optional, default: true)

### TiktokChannel

- `value` (enum, optional, default: direct)
  - Allowed values: `direct`, `reminder`

### TiktokPostPhoto

- `title` (string, optional)
- `privacyStatus` (enum, optional, default: PUBLIC_TO_EVERYONE)
  - Allowed values: `PUBLIC_TO_EVERYONE`, `MUTUAL_FOLLOW_FRIENDS`, `FOLLOWER_OF_CREATOR`, `SELF_ONLY`
- `brandContent` (boolean, optional, default: false)
- `brandOrganic` (boolean, optional, default: false)
- `commentDisabled` (boolean, optional, default: true)
- `autoAddMusic` (boolean, optional, default: false)

### TiktokBusinessPost

- `privacyStatus` (enum, optional, default: PUBLIC_TO_EVERYONE)
  - Allowed values: `PUBLIC_TO_EVERYONE`, `MUTUAL_FOLLOW_FRIENDS`, `FOLLOWER_OF_CREATOR`, `SELF_ONLY`
- `brandContent` (boolean, optional, default: false)
- `brandOrganic` (boolean, optional, default: false)
- `duetDisabled` (boolean, optional, default: true)
- `stitchDisabled` (boolean, optional, default: true)
- `commentDisabled` (boolean, optional, default: true)
- `aiGenerated` (boolean, optional, default: false)
- `uploadToDraft` (boolean, optional, default: false)

### YoutubePostType

- `value` (enum, optional, default: video)
  - Allowed values: `video`, `short`

### YoutubePost

- `title` (string, optional)
- `privacyStatus` (enum, optional, default: )
  - Allowed values: ``, `public`, `private`, `unlisted`
- `license` (enum, optional, default: )
  - Allowed values: ``, `youtube`, `creativeCommon`
- `selfDeclaredMadeForKids` (enum, optional, default: )
  - Allowed values: ``, `yes`, `no`
- `publishAt` (string, optional)

### LinkedinAudience

- `value` (enum, optional, default: PUBLIC)
  - Allowed values: `PUBLIC`, `CONNECTIONS`, `LOGGED_IN`

### LinkedinDocument

LinkedIn document post — LinkedIn's carousel format: one PDF whose pages are the slides. `url` is a fully qualified PDF URL; a freshly signed Simplified asset URL (the `file_url` from `getAsset` once a PDF asset created with `asset_type: 17` reaches status 4) is the usual source. Asset UUIDs are not resolved here — unlike `media`, this field is passed to the social service as-is. Send `media: []` with a document — LinkedIn renders the PDF, not photos. PDF only, up to 300 pages / 100 MB.

- `url` (string, required) — Fully qualified PDF URL (a signed asset URL is fine).
- `title` (string, optional) — Document title shown on LinkedIn. Defaults to the file name; a ".pdf" suffix is added when missing.

### PinterestPost

- `title` (string, optional)
- `link` (string, optional)
- `imageAlt` (string, optional)

### ThreadsChannel

- `value` (enum, optional, default: direct)
  - Allowed values: `direct`, `reminder`

### GooglePost

- `title` (string, optional)
- `topicType` (enum, optional, default: STANDARD)
  - Allowed values: `STANDARD`, `EVENT`, `OFFER`
- `callToActionType` (enum, optional, default: )
  - Allowed values: ``, `BOOK`, `ORDER`, `SHOP`, `LEARN_MORE`, `SIGN_UP`, `CALL`
- `callToActionUrl` (string, optional)
- `startDate` (string, optional)
- `endDate` (string, optional)
- `couponCode` (string, optional)
- `redeemOnlineUrl` (string, optional)
- `termsConditions` (string, optional)

## Examples

**Request**

```json
{
  "message": "string",
  "action": "schedule"
}
```

**SDK Code**

```python
import requests

url = "https://api.simplified.com/api/v1/service/social-media/create"

payload = {
    "message": "string",
    "action": "schedule"
}
headers = {
    "Authorization": "Api-Key  <apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.simplified.com/api/v1/service/social-media/create';
const options = {
  method: 'POST',
  headers: {Authorization: 'Api-Key  <apiKey>', 'Content-Type': 'application/json'},
  body: '{"message":"string","action":"schedule"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.simplified.com/api/v1/service/social-media/create"

	payload := strings.NewReader("{\n  \"message\": \"string\",\n  \"action\": \"schedule\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Api-Key  <apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.simplified.com/api/v1/service/social-media/create")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Api-Key  <apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"message\": \"string\",\n  \"action\": \"schedule\"\n}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.simplified.com/api/v1/service/social-media/create")
  .header("Authorization", "Api-Key  <apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"message\": \"string\",\n  \"action\": \"schedule\"\n}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.simplified.com/api/v1/service/social-media/create', [
  'body' => '{
  "message": "string",
  "action": "schedule"
}',
  'headers' => [
    'Authorization' => 'Api-Key  <apiKey>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.simplified.com/api/v1/service/social-media/create");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Api-Key  <apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"message\": \"string\",\n  \"action\": \"schedule\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "Api-Key  <apiKey>",
  "Content-Type": "application/json"
]
let parameters = [
  "message": "string",
  "action": "schedule"
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.simplified.com/api/v1/service/social-media/create")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```