> ## Documentation Index
> Fetch the complete documentation index at: https://ayrshare.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Publish a Post API: Đăng bài lên bất kỳ mạng xã hội nào | Ayrshare Docs

> Xuất bản lên Facebook, Instagram, X, LinkedIn, TikTok, YouTube, và nhiều hơn nữa chỉ với một lệnh gọi Ayrshare API. Xem các tham số, ví dụ code, và phương tiện được hỗ trợ.

export const XByoNotice = () => <Info>
  <strong>Targeting X/Twitter?</strong> Starting March 31, 2026, all X operations require your own API credentials. After linking X via OAuth, include these 2 headers in your request:
  <br /><br />
  <code>X-Twitter-OAuth1-Api-Key</code> — Your API Key (Consumer Key)<br />
  <code>X-Twitter-OAuth1-Api-Secret</code> — Your API Key Secret (Consumer Secret)
  <br /><br />
  <strong>One-time setup per Ayrshare account.</strong> You create one X Developer App and reuse the same API Key and Secret across every sub-profile / end-user you link. You do <em>not</em> create a new app per customer.
  <br /><br />
  Not linked yet? See the <a href="/dashboard/connect-social-accounts/x-twitter-byo-keys">full setup guide</a> to connect your X account.
  <br /><br />
  Your keys are never logged or stored by Ayrshare.
</Info>;

export const PlansAvailable = ({plans = [], maxPackRequired}) => {
  let displayPlans = plans;
  if (plans && plans.length === 1) {
    const lowerCasePlan = plans[0].toLowerCase();
    if (lowerCasePlan === "business") {
      displayPlans = ["Launch", "Business", "Enterprise"];
    } else if (lowerCasePlan === "premium") {
      displayPlans = ["Premium", "Launch", "Business", "Enterprise"];
    }
  }
  return <Note>
Available on {displayPlans.length === 1 ? "the " : ""}
{displayPlans.join(", ").replace(/\b\w/g, l => l.toUpperCase())}{" "}
{displayPlans.length > 1 ? "plans" : "plan"}.

{maxPackRequired && <span onClick={() => window.open('https://www.ayrshare.com/docs/additional/maxpack', '_self')} className="flex items-center mt-2 cursor-pointer">
 <span className="px-1.5 py-0.5 rounded text-sm" style={{
    backgroundColor: '#C264B6',
    color: 'white',
    fontSize: '12px'
  }}>
   Max Pack required
 </span>
</span>}
</Note>;
};

export const HeaderAPI = ({noProfileKey, profileKeyRequired}) => <>
    <ParamField header="Authorization" type="string" required>
      <a href="/apis/overview#authorization">API Key</a> of the Primary Profile.
      <br />
      <br />
      Format: <code>Authorization: Bearer API_KEY</code>
    </ParamField>
    {!noProfileKey && (profileKeyRequired ? <ParamField header="Profile-Key" type="string" required>
          <a href="/apis/overview#profile-key-format">Profile Key</a> of a User Profile.
          <br />
          <br />
          Format: <code>Profile-Key: PROFILE_KEY</code>
        </ParamField> : <ParamField header="Profile-Key" type="string">
          <a href="/apis/overview#profile-key-format">Profile Key</a> of a User Profile.
          <br />
          <br />
          Format: <code>Profile-Key: PROFILE_KEY</code>
        </ParamField>)}
  </>;

<PlansAvailable plans={["premium"]} maxPackRequired={false} />

<XByoNotice />

Xuất bản bài đăng đến các mạng xã hội mà bạn hoặc người dùng của bạn đã liên kết.
Nếu bạn muốn xuất bản bài đăng đến các User Profile, vui lòng xem [endpoint /profiles](/apis/profiles/overview) để biết thêm chi tiết.

Vui lòng đảm bảo thêm `API_KEY` của bạn, và `PROFILE_KEY` nếu xuất bản đến một User Profile, trong [header Authorization](/apis/overview#authorization).
API Key có thể được tìm thấy trong Ayrshare Developer Dashboard tại trang API Key.

Xem [Tổng quan Post API](/apis/post/overview) để biết thêm chi tiết về các tùy chọn đăng bài.

## Tham số Header

<HeaderAPI />

## Tham số Body

<ParamField body="post" type="string" required>
  Nội dung bài đăng được gửi đến các mạng xã hội được chỉ định trong tham số platforms.
  Xem tại đây để biết [các tùy chọn nâng cao](/apis/post/overview), bao gồm cách bao gồm URL và văn bản phong phú.

  Bạn có thể gửi một chuỗi rỗng `""` để xuất bản mà không có văn bản.
</ParamField>

<ParamField body="platforms" type="array" required>
  Các nền tảng mạng xã hội để đăng bài. Chấp nhận một mảng String với các giá trị: `bluesky`, `facebook`, `gmb`, `instagram`, `linkedin`, `pinterest`, `reddit`, `snapchat`, `telegram`, `threads`, `tiktok`, `twitter`, hoặc `youtube`.

  Lưu ý: sử dụng `facebook` cho Facebook Pages, và `gmb` cho Google Business Profile.

  Sử dụng `all` để đăng đến tất cả các mạng xã hội được liên kết. Cũng bao gồm các trường bắt buộc cho tất cả các mạng xã hội.
  Ví dụ: `title` phải được bao gồm trong `youTubeOptions` nếu `youtube` được liên kết.
</ParamField>

<ParamField body="mediaUrls" type="array">
  Một mảng URL hình ảnh hoặc video để bao gồm trong bài đăng. Vui lòng xem [endpoint /media](/apis/media/overview) để tìm hiểu thêm.

  URL phải an toàn và bắt đầu bằng `https://`. Nếu URL có các ký tự đặc biệt, ví dụ ñ, vui lòng mã hóa các ký tự đặc biệt trước khi gửi.

  Video yêu cầu gói trả phí.

  Vui lòng xem tại đây để biết [Yêu cầu về hình ảnh và video](/apis/post/overview#image-%26-video-requirements) và [các tùy chọn nâng cao khác](/apis/post/overview).
</ParamField>

<ParamField body="isVideo" type="boolean" default={false}>
  Ayrshare sẽ cố gắng xác định loại phương tiện dựa trên phần mở rộng file trong URL (.mp4). Bạn có thể đặt phương tiện là video rõ ràng nếu URL không kết thúc bằng phần mở rộng video đã biết, chẳng hạn như GIF động.

  Vui lòng xem [phần mở rộng video](/apis/post/overview#video-extension) để biết chi tiết.
</ParamField>

<ParamField body="scheduleDate" type="string">
  Datetime để lên lịch bài đăng trong tương lai. Chấp nhận thời gian UTC.

  Ví dụ, sử dụng định dạng `YYYY-MM-DDThh:mm:ssZ` và gửi dưới dạng `2026-07-08T12:30:00Z`.
  Vui lòng xem [utctime](https://www.utctime.net/) để biết thêm ví dụ.

  Cũng xem [lên lịch bài đăng](/apis/post/overview#schedule-posts) để biết chi tiết.
</ParamField>

<ParamField body="validateScheduled" type="boolean" default={true}>
  Theo mặc định, các bài đăng đã lên lịch được kiểm tra (pre-validated) cho các vấn đề như yêu cầu phương tiện trước khi chúng được chấp nhận.
  Nếu có bất kỳ vấn đề nào được phát hiện bởi các kiểm tra Ayrshare, bạn sẽ nhận được phản hồi lỗi ngay lập tức và bài đăng sẽ không được lên lịch.
  Khi ngày đã lên lịch đến, bài đăng sẽ được xuất bản, tại thời điểm đó phản hồi thành công hoặc lỗi cuối cùng sẽ được gửi qua webhook hoặc [endpoint /history](/apis/history/overview).

  Để bỏ qua bước xác thực trước này, hãy đặt `validateScheduled` thành `false`.

  Chúng tôi khuyến nghị giữ xác thực được bật cho các bài đăng đã lên lịch để bắt lỗi sớm.
  Nếu không, bài đăng sẽ được lên lịch và bạn sẽ chỉ nhận được lỗi khi nó được xuất bản.

  Vui lòng xem [các hành động webhook đã lên lịch](/apis/webhooks/actions#scheduled-action) để biết thêm chi tiết.
</ParamField>

<ParamField body="firstComment" type="object">
  Tự động thêm bình luận đầu tiên sau khi đăng bài. Xem [bình luận đầu tiên](/apis/post/overview#first-comment) để biết chi tiết.
</ParamField>

<ParamField body="disableComments" type="boolean" default={false}>
  Tắt bình luận cho bài đăng. Chỉ khả dụng cho Instagram, LinkedIn, và TikTok.
</ParamField>

<ParamField body="shortenLinks" type="boolean" default={false}>
  Rút gọn liên kết trong bài đăng cho tất cả các nền tảng bằng [link shortener của Ayrshare](/apis/links/overview).

  Chỉ các URL bắt đầu bằng https sẽ được rút gọn.

  [Yêu cầu Max Pack](/additional/maxpack) cho tính năng rút gọn liên kết.

  Vui lòng xem tại đây để sử dụng [link shorteners bên thứ 3](/apis/links/overview#custom-link-domain).
</ParamField>

<ParamField body="autoSchedule" type="object">
  Vui lòng xem [auto-schedule](/apis/auto-schedule/overview) để biết chi tiết.
</ParamField>

<ParamField body="autoRepost" type="object">
  Tự động đăng lại nội dung của bạn nhiều lần vào các khoảng thời gian đều đặn, tạo ra nội dung evergreen luôn tươi mới và hiển thị với đối tượng của bạn.

  Xem [auto repost](/apis/post/overview#auto-repost) để biết chi tiết.
</ParamField>

<ParamField body="autoHashtag" type="object">
  Xem [auto hashtags](/apis/post/overview#auto-hashtags) để biết chi tiết.
</ParamField>

<ParamField body="unsplash" type="string">
  Xem [unsplash](/apis/post/overview#unsplash) để biết chi tiết.
</ParamField>

<ParamField body="blueskyOptions" type="object">
  Xem [chi tiết Bluesky](/apis/post/social-networks/bluesky).
</ParamField>

<ParamField body="faceBookOptions" type="object">
  Xem [chi tiết Facebook](/apis/post/social-networks/facebook).
</ParamField>

<ParamField body="gmbOptions" type="object">
  Xem [chi tiết Google Business Profile](/apis/post/social-networks/google).
</ParamField>

<ParamField body="instagramOptions" type="object">
  Xem [chi tiết Instagram](/apis/post/social-networks/instagram).
</ParamField>

<ParamField body="linkedInOptions" type="object">
  Xem [chi tiết LinkedIn](/apis/post/social-networks/linkedin).
</ParamField>

<ParamField body="pinterestOptions" type="object">
  Xem [chi tiết Pinterest](/apis/post/social-networks/pinterest).
</ParamField>

<ParamField body="redditOptions" type="object">
  Xem [chi tiết Reddit](/apis/post/social-networks/reddit).
</ParamField>

<ParamField body="snapChatOptions" type="object">
  Xem [chi tiết Snapchat](/apis/post/social-networks/snapchat).
</ParamField>

<ParamField body="telegramOptions" type="object">
  Xem [chi tiết Telegram](/apis/post/social-networks/telegram).
</ParamField>

<ParamField body="threadsOptions" type="object">
  Xem [chi tiết Threads](/apis/post/social-networks/threads).
</ParamField>

<ParamField body="tikTokOptions" type="object">
  Xem [chi tiết TikTok](/apis/post/social-networks/tiktok).
</ParamField>

<ParamField body="twitterOptions" type="object">
  Xem [chi tiết X/Twitter](/apis/post/social-networks/x-twitter).
</ParamField>

<ParamField body="youTubeOptions" type="object">
  Xem [chi tiết YouTube](/apis/post/social-networks/youtube).
</ParamField>

<ParamField body="requiresApproval" type="boolean" default={false}>
  Xem [quy trình phê duyệt](/apis/post/overview#approval-workflow) để biết chi tiết.
</ParamField>

<ParamField body="randomPost" type="boolean" default={false}>
  [Tạo nội dung bài đăng ngẫu nhiên](/quickstart#random-quote) cho việc kiểm thử. `randomPost: true` sẽ bỏ qua trường `post`.
</ParamField>

<ParamField body="randomMediaUrl" type="boolean" default={false}>
  [Tạo hình ảnh phương tiện ngẫu nhiên](/quickstart#random-image) cho việc kiểm thử. `randomMediaUrl: true` sẽ bỏ qua trường `mediaUrls`.
</ParamField>

<ParamField body="idempotencyKey" type="string">
  Một ID duy nhất tùy chọn được liên kết với bài đăng. Các ID trùng lặp sẽ bị từ chối. Vui lòng xem [idempotency](/apis/post/overview#idempotent-posts) để biết chi tiết.
</ParamField>

<ParamField body="notes" type="string">
  Đặt ghi chú trên bài đăng có thể được truy xuất qua [endpoint /history](/apis/history/overview). Ghi chú chỉ để tham khảo và không ảnh hưởng đến bài đăng.
</ParamField>

<RequestExample>
  ```bash cURL theme={"system"}
  curl \
  -H "Authorization: Bearer API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "post": "Today is a great day!",
    "platforms": ["twitter", "facebook", "instagram", "linkedin"],
    "mediaUrls": ["https://img.ayrshare.com/012/gb.jpg"]
  }' \
  -X POST https://api.ayrshare.com/api/post
  ```

  ```javascript JavaScript theme={"system"}
  const API_KEY = "API_KEY";

  fetch("https://api.ayrshare.com/api/post", {
        method: "POST",
        headers: {
          "Content-Type": "application/json",
          "Authorization": `Bearer ${API_KEY}`
        },
        body: JSON.stringify({
          post: "Today is a great day!", // required
          platforms: ["bluesky", "facebook", "instagram", "linkedin", "twitter"], // required
          mediaUrls: ["https://img.ayrshare.com/012/gb.jpg"] //optional
        }),
      })
        .then((res) => res.json())
        .then((json) => console.log(json))
        .catch(console.error);
  ```

  ```python Python theme={"system"}
  import requests

  payload = {'post': 'Today is a great day!',
          'platforms': ['bluesky', 'facebook', 'instagram', 'linkedin', 'twitter'],
          'mediaUrls': ['https://img.ayrshare.com/012/gb.jpg']}
  headers = {'Content-Type': 'application/json',
          'Authorization': 'Bearer API_KEY'}

  r = requests.post('https://api.ayrshare.com/api/post',
      json=payload,
      headers=headers)

  print(r.json())
  ```

  ```php PHP theme={"system"}
  <?php

  $curl = curl_init();
  $data = [
      "post" => "Today is a great day!",
      "platforms" => ["bluesky", "facebook", "instagram", "linkedin", "pinterest", "twitter"],
      "mediaUrls" => ["https://img.ayrshare.com/012/gb.jpg"]
  ];

  curl_setopt_array($curl, [
      CURLOPT_URL => 'https://api.ayrshare.com/api/post',
      CURLOPT_RETURNTRANSFER => true,
      CURLOPT_POST => true,
      CURLOPT_POSTFIELDS => json_encode($data),
      CURLOPT_HTTPHEADER => [
          'Authorization: Bearer API_KEY', // Replace 'API_KEY' with your actual API key
          'Content-Type: application/json'
      ],
  ]);

  $response = curl_exec($curl);
  curl_close($curl);
  echo $response;
  ```

  ```go Go theme={"system"}
  package main

  import (
  	"bytes"
  	"encoding/json"
  	"log"
  	"net/http"
  )

  func main() {
  	message := map[string]interface{}{
  		"post":      "Today is a great day!",
  		"platforms": []string{"bluesky", "facebook", "instagram", "linkedin", "twitter"},
  		"mediaUrls": []string{"https://img.ayrshare.com/012/gb.jpg"}
  	}

  	bytesRepresentation, err := json.Marshal(message)
  	if err != nil {
  		log.Fatalln(err)
  	}

  	req, _ := http.NewRequest("POST", "https://api.ayrshare.com/api/post",
  		bytes.NewBuffer(bytesRepresentation))

  	req.Header.Add("Content-Type", "application/json; charset=UTF-8")
  	req.Header.Add("Authorization", "Bearer API_KEY")

  	res, err := http.DefaultClient.Do(req)
  	if err != nil {
  		log.Fatal("Error:", err)
  	}

  	res.Body.Close()
  }
  ```

  ```csharp C# theme={"system"}
  using System;
  using System.Net.Http;
  using System.Text;
  using System.Threading.Tasks;

  namespace PostPOSTRequest_csharp
  {
    class Post
    {
      private static readonly HttpClient client = new HttpClient();

          static async Task Main(string[] args)
          {
              string API_KEY = "API_KEY";
              string url = "https://api.ayrshare.com/api/post";

              // Set up request headers
              client.DefaultRequestHeaders.Add("Authorization", "Bearer " + API_KEY);

              // Prepare JSON content
              string json = "{\"post\" : \"Today is a great day!\","
                  + "\"platforms\" : [ \"bluesky\", \"facebook\", \"instagram\", \"linkedin\", \"twitter\" ],"
                  + "\"mediaUrls\" : [ \"https://img.ayrshare.com/012/gb.jpg\" ]}";
              var content = new StringContent(json, Encoding.UTF8, "application/json");

              try
              {
                  // Send POST request
                  HttpResponseMessage response = await client.PostAsync(url, content);
                  response.EnsureSuccessStatusCode();

                  // Read response
                  string responseBody = await response.Content.ReadAsStringAsync();
                  Console.WriteLine(responseBody);
              }
              catch (HttpRequestException e)
              {
                  Console.WriteLine($"Error: {e.Message}");
              }
          }
      }
  }
  ```

  ```ruby Ruby theme={"system"}
  require 'httparty'    # gem install httparty

  res = HTTParty.post("https://api.ayrshare.com/api/post",
      headers: {Authorization: "Bearer API_KEY"},
      body: {
          post: "Today is a great day!",
          platforms: ['bluesky', 'facebook', 'instagram', 'linkedin', 'twitter'],
          mediaUrls: ["https://img.ayrshare.com/012/gb.jpg"]
      }).body

  puts res
  ```
</RequestExample>

<ResponseExample>
  ```json 200: Success theme={"system"}
  {
      "status": "success",
      "errors": [],
      "postIds": [
          {
              // Details at https://www.ayrshare.com/docs/apis/post/social-networks/bluesky
              "status": "success",
              "id": "at://did:plc:n7atrjd22xgkmgwig6dzlhzd/app.bsky.feed.post/3lez7fwx452", // Bluesky Social Post ID
              "cid": "bafyreie6n475cd3ynr6sfacvohu5qgjibcooxnug6zcbghkwnrwi5stafy",         // Bluesky Content ID
              "postUrl": "https://bsky.app/profile/madworlds.bsky.social/post/3lez7fwx4572",
              "platform": "bluesky"
          },
          {
              // Details at https://www.ayrshare.com/docs/apis/post/social-networks/facebook
              "status": "success",
              "id": "104923907983682_108329000309742", // Facebook Social Post ID
              "platform": "facebook", 
              "postUrl": "https://www.facebook.com/104923907983682_108329000309742",
          },
          {
              // Details at https://www.ayrshare.com/docs/apis/post/social-networks/google
              "status": "success",
              "id": "3837985438581442258", // Google Business Profile Social Post ID
              "postUrl": "https://local.google.com/place?id=5229466225881728772&use=posts&lpsid=CM",
              "type": "localPosts",
              "platform": "gmb"
          },
          {
              // Details at https://www.ayrshare.com/docs/apis/post/social-networks/instagram
              "status": "success",
              "platform": "instagram", // Instagram Social Post ID
              "id": "17878176260289172",
              "postUrl": "https://www.instagram.com/p/CP1dI9Hp_WO/",
              "usedQuota": 12,
              "contentIssues": {  // Optional — only present when Ayrshare detected and resolved a content issue
                  "originMediaHostFailed": true,
                  "details": ["Media URL could not be retrieved by the social network. Successfully posted using Ayrshare automated media protection."]
              }
          },
          {
              // Details at https://www.ayrshare.com/docs/apis/post/social-networks/linkedin
              "status": "success",
              "id": "urn:li:share:7282181682126807041", // LinkedIn Social Post ID
              "postUrl": "https://www.linkedin.com/feed/update/urn:li:share:7282181682126807041",
              "owner": "urn:li:organization:77682157",
              "platform": "linkedin"
          },
          {
              // Details at https://www.ayrshare.com/docs/apis/post/social-networks/pinterest
              "status": "success",
              "id": "42995371460659062", // Pinterest Social Post ID
              "postUrl": "https://www.pinterest.com/pin/429953714606062/",
              "platform": "pinterest"
          },
          {
              // Details at https://www.ayrshare.com/docs/apis/post/social-networks/reddit
              "status": "success",
              "id": "1hvdvof", // Reddit Social Post ID
              "postUrl": "https://www.reddit.com/r/test/comments/1hvdvof/reddit_post_title/",
              "platform": "reddit"
          },
          {
              // Details at https://www.ayrshare.com/docs/apis/post/social-networks/snapchat
              "status": "success",
              "id": "921ed204-e123-5b08-a9ce-zx489f1f38c5",                             // Snapchat Social Post ID 
              "mediaId": "V6noC6UOQgOcABCDEgFZEwAAgd3F0cnp1eWtxZAb9PsH-MXb9PsIWAAAAAA", // Snapchat Media ID
              "postUrl": "https://www.snapchat.com/add/samsmith1920/921ed204-e123-5b08-a9ce-zx489f1f38c5",
              "type": "stories",
              "ended": "2025-05-23T13:04:30.545Z",
              "platform": "snapchat"
          },
          {
              // Details at https://www.ayrshare.com/docs/apis/post/social-networks/telegram
              "status": "success",
              "id": 635, // Telegram Social Post ID
              "postUrl": "https://t.me/c/1424847122/635",
              "platform": "telegram"
          },
          {
              // Details at https://www.ayrshare.com/docs/apis/post/social-networks/tiktok
              "status": "success",
              "idShare": "v_pub_url~v2.7456954878846683182",
              "id": "pending", // TikTok Social Post ID - see https://www.ayrshare.com/docs/apis/post/social-networks/tiktok
              "isVideo": true,
              "platform": "tiktok"
          },
          {
              // Details at https://www.ayrshare.com/docs/apis/post/social-networks/twitter
              "status": "success",
              "id": "1288899996423983105", // X/Twitter Social Post ID
              "platform": "twitter",
              "postUrl": "https://x.com/handle/status/1288899996423983105"
          },
          {
              // Details at https://www.ayrshare.com/docs/apis/post/social-networks/youtube
              "status": "success",
              "id": "3oQeP-kTsbo", // YouTube Social Post ID
              "postUrl": "https://youtu.be/3oQeP-kTo",
              "platform": "youtube"
          }
      ],
      "id": "RhrbDtYh7hdSMc67zC8H"    // Ayrshare Post ID used for delete, analytics, comments, etc.
  }
  ```

  ```json 200: Success for Scheduled theme={"system"}
  {
    "status": "scheduled",
    "scheduleDate": "2023-04-01T10:04:12Z",
    "id": "IUiaqFkQP96UJJXYjRpv", // Ayrshare Post ID used for delete, comment, analytics, etc.
    "refId": "9abf1426d6ce9122effdeeddfdfdfd",
    "post": "Genius is eternal patience. - Michelangelo"
  }
  ```

  ```json 200: Success with Profile Key theme={"system"}
  {
    "status": "success",
    "posts": [
      {
        "status": "success",
        "errors": [],
        "postIds": [
          {
            "status": "success",
            "id": "1869166036466991888",
            "postUrl": "https://twitter.com/wondrouswaffles/status/1869",
            "platform": "twitter"
          },
          {
            "status": "success",
            "id": "106638148652344_601623445855888",
            "postUrl": "https://www.facebook.com/106638148652329/posts/6016",
            "platform": "facebook"
          }
        ],
        "id": "bVQotNtxgXAUmLtqmw2",
        "refId": "b68bdcabb379be2cf1186c1e595449804b232sa",
        "profileTitle": "The Best Profile",
        "post": "Formal education will make you a living. Self education will make you a fortune. - Jim Rohn"
      }
    ]
  }
  ```

  ```json 200: Success Scheduled Post and Profile Key theme={"system"}
  {
    "status": "success",
    "posts": [
      {
        "status": "scheduled",
        "scheduleDate": "2023-04-01T10:04:12Z",
        "id": "qvu8gysraodz2WFZgRX7", // Ayrshare Post ID used for delete, comment, analytics, etc.
        "refId": "9abf1426d6ce9122effdeeddfdfdfd",
        "profileTitle": "Best Profile",
        "post": "I never thought of myself as being handsome or good-looking or whatever. I always felt like an outsider. - Elton John"
      }
    ]
  }
  ```

  ```json 400: Bad Request theme={"system"}
  {
    "status": "error",
    "errors": [
      {
        "action": "post",
        "status": "error",
        "code": 156,
        "message": "Youtube does not seem to be linked with Ayrshare. Please confirm the linkage on the Social Accounts page in your dashboard. .../ayrshare.com/additional-info/troubleshooting",
        "platform": "youtube"
      },
      {
        "action": "post",
        "status": "error",
        "code": 110,
        "message": "Status is a duplicate.",
        "post": "Today is a great day",
        "platform": "twitter"
      }
    ],
    "postIds": [],
    "id": "0OGBzZssN5hxy8dMSRaD" // Ayrshare Post ID used for delete, comment, analytics, etc.
  }
  ```

  ```json 400: Bad Request with Profile Key theme={"system"}
  {
      "status": "error",
      "posts": [
          {
              "status": "error",
              "errors": [
                  {
                      "action": "post",
                      "status": "error",
                      "code": 156,
                      "message": "Instagram is not linked.
                        Please confirm the linkage on the Social Accounts page in the dashboard. https://www.ayrshare.com/docs/help-center/overview",
                      "platform": "instagram"
                  }
              ],
              "postIds": [],
              "id": "ekftQJ0hFB1Fx6bnM33",
              "refId": "9abf1426d6ce9122effdeeddfdfdfd",
              "profileTitle": "Best Profile",
              "post": "The most common way people give up their power is by thinking they don't have any. - Alice Walker"
          }
      ]
  }
  ```

  ```javascript 500: Internal Server Error theme={"system"}
  {
      "status": "error",
      "errors": [
          {
              "action": "post",
              "status": "error",
              "code": 107,
              "message": "Facebook Error: This status update is identical to the last one you posted. Try posting something different, or delete your previous update.",
              "platform": "facebook"
          }
      ],
      "postIds": [],
      "id": "6APU4qqI7XO7JM3BOy6B" // Ayrshare Post ID used for delete, comment, analytics, etc.
  }
  ```
</ResponseExample>
