APIsThread

Twitter Thread Scheduling API

Overview

The Twitter Thread Scheduling API allows you to programmatically create and schedule multi-tweet Twitter threads. This powerful endpoint supports both text-only threads and threads with image attachments, giving you complete control over your Twitter storytelling and content strategy.

What You Can Do

  • Create multi-tweet Twitter threads with sequential content
  • Schedule threads for future publication at optimal times
  • Include images in individual thread tweets for enhanced engagement
  • Create draft threads for review and approval workflows
  • Manage complex Twitter narratives programmatically
  • Automate your Twitter thread publishing strategy

Common Use Cases

  • Storytelling: Break down complex narratives into digestible thread sequences
  • Educational Content: Create step-by-step tutorials and how-to guides
  • Marketing Campaigns: Launch product announcements across multiple connected tweets
  • Thought Leadership: Share detailed insights and industry analysis
  • News Organizations: Break down complex stories into thread format
  • Content Creators: Publish episodic content and series
  • Technical Documentation: Share code examples and technical explanations
  • Event Coverage: Live-tweet events with connected narrative threads

Authentication

All API requests require authentication using an API key passed in the request header.

X-API-KEY: your_api_key_here

Security Note: Keep your API key secure and never expose it in client-side code or public repositories.


Rate Limiting

Daily Limit: 30 requests per day per API key

  • Resets at midnight UTC
  • Plan your thread publishing schedule accordingly
  • Consider using draft status for content that needs review
  • Monitor your usage to avoid hitting the daily limit
  • Each thread creation counts as one request regardless of thread length

Thread Structure and Limitations

Twitter Thread Requirements

  • Maximum Thread Length: Up to 25 tweets per thread
  • Character Limit: Each tweet in the thread follows Twitter’s 280-character limit
  • Image Limit: Up to 4 images per individual tweet within the thread
  • Supported Formats: JPEG, PNG, GIF, WebP for images
  • File Size: Maximum 5MB per image file
  • Thread Continuity: Tweets are automatically connected in sequence

Thread Content Strategy

  • Opening Tweet: Make it compelling to encourage users to read the full thread
  • Sequential Flow: Ensure each tweet flows logically to the next
  • Closing Tweet: End with a strong conclusion or call-to-action
  • Engagement Hooks: Use questions, cliffhangers, or teasers between tweets
  • Visual Consistency: Maintain consistent image style throughout the thread

API Variants

The Twitter Thread API supports two main variants:

1. Thread with Images

Create threads where individual tweets can include image attachments.

  • File: thread_with_image.mdx
  • Use Case: Visual storytelling, tutorials with screenshots, product showcases
  • Image Support: Up to 4 images per tweet, multiple supported formats

2. Thread without Images

Create text-only threads for pure content storytelling.

  • File: thread_without_image.mdx
  • Use Case: Written narratives, text-based tutorials, opinion pieces
  • Focus: Pure text content with optimal character utilization

Thread Content Structure

Threads use a structured JSON format in the post_content parameter:

{
  "0": {
    "text": "First tweet in the thread...",
    "images": [] // or ["image_url1", "image_url2"]
  },
  "1": {
    "text": "Second tweet continues the story...",
    "images": []
  },
  "2": {
    "text": "Final tweet with conclusion...",
    "images": []
  }
}

Structure Rules

  • Sequential Numbering: Start from “0” and increment sequentially
  • Text Field: Required for each thread segment, up to 280 characters
  • Images Array: Empty array for text-only tweets, populated for image tweets
  • Consistency: All thread segments must follow the same structure

Best Practices

Content Planning for Threads

  • Thread Outline: Plan your entire thread before writing individual tweets
  • Hook Strategy: Start with a compelling opening that promises value
  • Logical Flow: Ensure each tweet builds upon the previous one
  • Pacing: Balance information density across tweets
  • Visual Breaks: Use images strategically to break up text-heavy content
  • Conclusion: End with a memorable takeaway or call-to-action

Optimal Thread Timing

  • Peak Hours: Schedule during high-engagement periods (8-10 AM, 7-9 PM)
  • Audience Consideration: Time threads when your specific audience is most active
  • Content Type: Educational threads perform well during business hours
  • Weekend Strategy: Storytelling threads often perform well on weekends
  • Time Zone Awareness: Consider your global audience’s active hours

Thread Engagement Optimization

  • Opening Impact: First tweet determines thread success - make it count
  • Thread Indicators: Use 🧵 emoji or “Thread:” to signal multi-tweet content
  • Numbering: Consider adding “1/n” format to help readers track progress
  • Engagement Prompts: Ask questions throughout to encourage interaction
  • Retweet Strategy: End with a request to retweet the first tweet
  • Cross-Promotion: Mention the thread in other content to drive traffic

Technical Implementation

  • Content Validation: Validate each tweet’s character count before submission
  • Image Optimization: Compress images for faster loading while maintaining quality
  • Error Handling: Implement robust error handling for thread creation
  • Draft Workflow: Use draft status for collaborative thread creation
  • Scheduling Strategy: Plan thread timing for maximum impact

Thread Performance Analytics

Key Metrics to Track

  • Thread Completion Rate: Percentage of users who read the entire thread
  • Individual Tweet Performance: Engagement metrics for each thread segment
  • Click-Through Rates: If including links, track clicks per thread position
  • Retweet Distribution: Which tweets in the thread get reshared most
  • Reply Patterns: Where in the thread users engage most frequently

Optimization Insights

  • Optimal Length: Monitor how thread length impacts completion rates
  • Content Positioning: Identify which positions get highest engagement
  • Image Impact: Compare performance of threads with and without images
  • Topic Analysis: Track which thread topics resonate most with your audience
  • Timing Analysis: Optimize posting times based on thread performance data

Content Guidelines

Writing Effective Threads

  • Clarity First: Each tweet should be understandable on its own
  • Transitional Flow: Create smooth transitions between tweets
  • Value Density: Pack valuable information into each segment
  • Readability: Use short sentences and clear language
  • White Space: Don’t fill every character - readability matters
  • Call-to-Actions: Strategically place CTAs throughout the thread

Visual Content Strategy

  • Consistent Style: Maintain visual consistency across thread images
  • Complementary Visuals: Images should enhance, not duplicate, text content
  • Quality Standards: Use high-resolution images that look professional
  • Alternative Text: Always consider accessibility with image descriptions
  • Brand Consistency: Ensure images align with your brand guidelines

Error Handling and Troubleshooting

Common Thread Creation Issues

  • Character Limit Exceeded: Individual tweets exceeding 280 characters
  • Invalid JSON Structure: Malformed post_content parameter
  • Image Upload Failures: File size or format issues
  • Scheduling Conflicts: Past dates or invalid timestamp formats
  • Missing Parameters: Required fields not included in request

Thread-Specific Validations

  • Sequential Numbering: Ensure thread segments are numbered correctly
  • Content Completeness: All thread segments must have text content
  • Image Limits: Respect per-tweet image limitations
  • Thread Length: Stay within maximum thread length limits
  • Consistency: Maintain consistent structure across all segments

API Documentation

For detailed API implementation guides, refer to the specific documentation:

Each guide includes:

  • Detailed parameter specifications
  • Complete example requests and responses
  • Error handling specifics
  • Implementation best practices

Support and Resources

Getting Help

  • API Documentation: Refer to specific implementation guides for detailed examples
  • Error Troubleshooting: Check error codes and messages for specific solutions
  • Rate Limit Monitoring: Track your daily usage to avoid hitting limits
  • Technical Support: Contact our developer support team for assistance
  • Twitter Post API: For creating single Twitter posts
  • Twitter Repost API: For amplifying existing content
  • Content Calendar: For managing your overall Twitter strategy
  • Analytics Dashboard: For tracking thread performance metrics

Community Resources

  • Thread Examples: Browse successful thread templates and formats
  • Best Practices Guide: Advanced strategies for thread engagement
  • Content Planning: Tools and templates for thread content planning
  • Performance Optimization: Advanced analytics and optimization techniques

Thread Creation Workflow

Planning Phase

  1. Content Outline: Map out your complete thread structure
  2. Character Counting: Ensure each segment fits Twitter’s limits
  3. Image Selection: Choose relevant, high-quality images if needed
  4. Flow Testing: Read through the entire thread for logical flow

Implementation Phase

  1. JSON Structure: Format your content according to API requirements
  2. Image Upload: Prepare and optimize images for upload
  3. API Request: Submit thread creation request with all parameters
  4. Validation: Verify successful creation through API response

Publishing Phase

  1. Draft Review: Use draft status for final review and approval
  2. Scheduling: Set optimal publication time for your audience
  3. Monitoring: Track thread performance after publication
  4. Engagement: Actively respond to replies and interactions

Last updated: May 29, 2025