How validation works

The PostPulse API validates posts server-side when you create them: text length, media count and mix, file formats and file sizes. A post that breaks one of these rules is rejected with a 400 response that names the rule, before anything is sent to the platform.

Checks that need the media file analyzed — video duration, aspect ratio, resolution and bitrate — are currently enforced in PostPulse Web only. They are marked You must validate in the API column below: when you use the API directly, or through n8n, Make or the MCP server, check these before posting.

Platform Validation Requirements

The following table shows validation requirements across all supported platforms:

Validation RulePostPulse WebPostPulse API (Current)
Twitter/X
Free X accounts can post up to 280 characters (X weighted count: each URL counts as 23, CJK characters count as 2)To Do (UI warning only)Enforced
Paid X accounts can post up to 25,000 characters (same weighted count)EnforcedEnforced
Supported image formats are JPG, PNG, GIF, and WEBPEnforcedEnforced
Supported video formats are MP4, MOV, and WebMEnforcedEnforced
Image size should be less than or equal 5MBEnforcedEnforced
Animated GIF size should be less than or equal 15MBEnforcedEnforced
Video size should be less than or equal 512MBEnforcedEnforced
Maximum 4 media attachmentsEnforcedEnforced
An animated GIF or a video must be the only media in the post (otherwise up to 4 images)EnforcedEnforced
Video duration must be between 0.5 sec and 140 secEnforcedYou must validate
Media aspect ratio between 1:3 and 3:1EnforcedYou must validate
Threads
Post text can be up to 500 UTF-8 bytes (about 250 Cyrillic letters; emoji count 4)EnforcedEnforced
Topic tag can be up to 100 UTF-8 bytesEnforcedEnforced
When no topic tag is specified and content contains a word with # - the first word with # will be used as topic tag (except cases with numbers, like #1)UI warningYou must validate
Image size should be less than or equal 8MBEnforcedEnforced
Media aspect ratio between 0.01:1 and 10:1EnforcedYou must validate
Video duration must be less than 5 minEnforcedYou must validate
Supported formats are JPG and PNG images, and MP4 and MOV videoEnforcedEnforced
YouTube
A post must contain exactly one videoEnforcedEnforced
Title is required and can be up to 100 charactersEnforcedEnforced
Description can be up to 5000 charactersEnforcedEnforced
TikTok
Title is requiredEnforcedEnforced
A post must contain at least one mediaEnforcedEnforced
Title can be up to 2200 characters for video postEnforcedEnforced
Title can be up to 90 characters for image postEnforcedEnforced
Description can be up to 4000 characters for image postEnforcedEnforced
Image size should be less than or equal 20MBEnforcedEnforced
Image picture size must not exceed 1080p (shorter side at most 1080px)To DoEnforced
Supported image formats are JPG, PNG, and WEBPEnforcedEnforced
Supported video formats are MP4, MOV, and WebMEnforcedEnforced
Video duration as per individual limits (typically 1 hour)EnforcedYou must validate
One post is either 1 video or up to 10 imagesEnforcedEnforced
Video should have between 360 and 4096 pixels for both height and widthTo DoYou must validate
Video frame rate must be between 23 and 60 fpsTo DoEnforced
LinkedIn
User can post up to 3000 charactersEnforcedEnforced
One post can contain either 1 video or up to 9 images (or no media at all)EnforcedEnforced
Supported formats are JPG and PNG images, and MP4 and MOV videoEnforcedEnforced
Video size should be less than or equal 500MBEnforcedEnforced
Video duration must be between 3 sec and 30 minEnforcedYou must validate
Facebook
Post text can be up to 63,206 UTF-8 bytesEnforcedEnforced
Supported image formats are JPG and PNGEnforcedEnforced
Image size should be less than or equal 10MBEnforcedEnforced
A feed post can contain either up to 20 images (in a carousel) or up to 1 video, or no media at allEnforcedEnforced
A Reel must contain exactly 1 videoEnforcedEnforced
Feed post media aspect ratio between 1.91:1 and 4:5EnforcedYou must validate
Supported video formats are MP4 and MOVEnforcedEnforced
Video size should be less than or equal 4GBEnforcedEnforced
Feed and Story post video duration must be between 3 sec and 15 minEnforcedEnforced
Reels video duration must be between 3 sec and 90 secEnforcedEnforced
Reels and Story post media aspect ratio between 0.01:1 and 10:1EnforcedYou must validate
Reels and Story recommended aspect ratio is 9:16UI WarningYou must validate
Video should have no more than 1920 horizontal pixelsEnforcedEnforced
The video should have a bitrate of 25 Mbps or lessTo DoEnforced
Facebook Page
Follows all the Facebook rules aboveEnforcedEnforced
Publishes to the Page itself: no Page id is needed (if one is given, it must be this Page)EnforcedEnforced
Instagram
Post text can be up to 2,200 UTF-8 bytesEnforcedEnforced
Supported image formats are JPG and PNGEnforcedEnforced
Image size should be less than or equal 8MBEnforcedEnforced
Feed post must contain at least 1 and up to 10 media (carousel)EnforcedEnforced
A Reel must contain exactly 1 videoEnforcedEnforced
Feed post media aspect ratio between 1.91:1 and 4:5EnforcedYou must validate
Supported video formats are MP4 and MOVEnforcedEnforced
Video size should be less than or equal 300MBEnforcedEnforced
Feed and Story post video duration must be between 3 sec and 15 minEnforcedYou must validate
Reels video duration must be between 3 sec and 15 minEnforcedYou must validate
Reels and Story post media aspect ratio between 0.01:1 and 10:1EnforcedYou must validate
Reels and Story recommended aspect ratio is 9:16UI WarningYou must validate
Video should have no more than 1920 horizontal pixelsEnforcedYou must validate
The video should have a bitrate of 25 Mbps or lessTo DoYou must validate
Bluesky
Users can post up to 300 charactersEnforcedEnforced
Post may contain up to 4 imagesEnforcedEnforced
Only images are supported: JPG, PNG, and WEBPEnforcedEnforced
Telegram
Post text can be up to 4,096 characters when the post has no mediaEnforcedEnforced
Post text can be up to 1,024 characters when the post has mediaEnforcedEnforced
One post may contain up to 10 mediaEnforcedEnforced
Supported image formats are JPG, PNG, and WEBPEnforcedEnforced
Image size should be less than or equal 10MBEnforcedEnforced
Supported video format is MP4EnforcedEnforced
Video size should be less than or equal 49MBEnforcedEnforced
In an album, the uploaded media (images over 5MB and videos over 20MB) together should be less than or equal 49MBEnforcedEnforced
Pinterest
A board must be selected (board ID in chatId)EnforcedEnforced
Description can be up to 800 charactersEnforcedEnforced
Title can be up to 100 charactersEnforcedEnforced
One pin is either 1 image, 1 video, or a carousel of 2 to 5 images (media is required)EnforcedEnforced
Carousels support images only; a video must be posted on its ownEnforcedEnforced
Supported formats are JPG, PNG, WEBP, MP4, and MOVEnforcedEnforced
Image size should be less than or equal 20MBEnforcedEnforced
Video size should be less than or equal 2GBEnforcedEnforced
WhatsApp
A phone number to send from and a contact list are requiredEnforcedEnforced
The contact list must have at least one contact who has not opted outEnforced on saveEnforced
A broadcast can go to at most the configured maximum number of recipients (contacts who opted out are not counted)Enforced on saveEnforced
Template header media: a JPG or PNG image up to 5MB, or an MP4 or 3GPP video up to 16MBEnforcedEnforced
Exactly one attachment when the template has a media header; no attachments otherwiseEnforcedEnforced
Header variable can be up to 60 charactersEnforcedEnforced
Template variables must not contain new lines, tabs, or more than four consecutive spacesEnforcedEnforced

Implementation Guidelines

📝 Text Validation

  • Always check character limits before posting
  • Consider platform-specific features (hashtags, mentions)
  • Account for emoji characters which may count differently
  • Validate special fields like titles and topic tags

🖼️ Image Validation

  • Check file format compatibility with target platforms
  • Validate file size limits for each platform
  • Verify aspect ratio requirements
  • Ensure image dimensions meet platform standards

🎥 Video Validation

  • Verify video format support (MP4, MOV, WebM)
  • Check duration limits for each platform
  • Validate file size restrictions
  • Ensure resolution meets platform requirements

📊 Multi-Media Posts

  • Respect maximum media count per post
  • Understand platform-specific media mixing rules
  • Consider carousel vs. single media requirements
  • Account for thumbnail requirements where applicable

Best Practices

🔍 Pre-Upload Validation

Always validate content before uploading to PostPulse. This saves API calls and prevents failed posts.

📋 Platform-Specific Checks

Implement validation logic that checks requirements for each target platform in your publication list.

⚠️ Error Handling

Provide clear error messages when validation fails, indicating which platform requirements weren't met.

🔄 Future-Proofing

Stay updated with platform changes and monitor PostPulse release notes for validation updates.

🚀 Coming Soon

We're extending server-side validation to the rules still marked You must validate, so API clients get the same checks as our web application. Follow our release notes for updates.