1. Social Networks
swonkie.dev
  • Introduction
  • 🆕 MCP Server
  • Changelog
  • Quick Start
  • Social Networks
    • Instagram v2
    • Google My Business
    • YouTube
    • X (Twitter)
    • Threads
    • Instagram
    • LinkedIn
    • TikTok
    • Facebook
  • ✨ Andie
    • Generate an Image
      POST
  • Search
    • Search Profiles
      GET
  • Profiles
    • My Profiles
      GET
    • Competitors
      GET
  • Competitors
    • Add Competitor
      POST
    • Delete Competitor
      DELETE
  • Insights
    • Getting Started
    • My Profile Insights Metrics
      GET
    • My Profile Insights
      GET
    • My Profile Insights Posts
      GET
    • Competitor Insights Metrics
      GET
    • Competitor Insights
      GET
    • Competitor Insights Posts
      GET
  • Posts
    • Getting Started
    • Limits by Social Network
    • List Posts
    • Get a Post
    • Create a Post
    • Update a Post
    • Validate a Post
    • Delete a Post
    • Change Post Stage
  • Labels
    • Getting Started
    • List Labels
    • Create a Label
  • Media
    • Get a Media
    • Create a Media
    • Upload File to Media
    • Confirm Uploaded Media
    • Delete a Media
    • Create a Media from URL
  • Examples
    • Publish
Back to Home
Back to Home
Login
  1. Social Networks

X (Twitter)

X (Twitter) supports text, media, and link post types. The twitter object enables polls, reply restrictions, and content disclosure flags.

Supported Post Types#

Post TypeDescription
MEDIAOne or more images or a video
STATUSText-only post, no media
LINKURL post with optional preview

Network Options#

X-specific settings are passed in the twitter object on the post body.
FieldTypeDescription
pollstring[]Poll options. Provide 2–4 choices, each 1–25 characters.
pollDurationintegerDuration of the poll in minutes. Must be between 5 (5 min) and 10080 (7 days).
replySettingsFOLLOWING | MENTIONED_USERS | SUBSCRIBERS | VERIFIEDRestrict who can reply. Omit to allow everyone.
superFollowersOnlybooleanLimit post visibility to super followers only.
madeWithAibooleanDisclose that the post was made with AI tools.
paidPartnershipbooleanMark the post as a paid partnership.

Examples#

STATUS post#

MEDIA post#

Post with a poll#

Post with reply restrictions#

AI-generated content + paid partnership#


Notes#

X (Twitter) does not support STORY or REEL post types.
poll requires 2–4 options. Each must be 1–25 characters. Polls and media cannot be combined in the same post.
pollDuration must be between 5 (5 minutes) and 10080 (7 days). Omitting it while providing poll will cause a validation error.
replySettings is omitted by default, which allows everyone to reply.
madeWithAi and paidPartnership are optional disclosures required by X's platform policies when applicable.
X (Twitter) is not supported for insights via the API.
Use net: "twitter" on captions, media, and links when targeting X profiles specifically.
Modified at 2026-06-19 15:01:20
Previous
YouTube
Next
Threads
Built with