Postpone Logo
Scheduling Posts

Introduction

Learn how to schedule posts across multiple social media platforms using the Postpone API.

Scheduling Posts via API

The Postpone API provides powerful GraphQL mutations to schedule posts across multiple social media platforms. This comprehensive guide will walk you through the process of scheduling posts programmatically.

Before getting started with scheduling posts, make sure you've read through the API introduction to learn how to work with the Postpone API playground and make API calls.

Overview

Postpone supports scheduling posts to the following platforms through dedicated GraphQL mutations:

Reddit

Schedule posts to multiple subreddits with custom timing, flair selection, and more.

X/Twitter

Schedule tweets with media attachments and thread support.

Instagram

Schedule photo and video posts with captions and hashtags.

Facebook

Schedule posts to Facebook Pages.

Threads

Schedule posts to Meta's Threads platform.

Bluesky

Schedule posts to the decentralized Bluesky network.

TikTok

Schedule video content to TikTok.

YouTube Shorts

Schedule short-form video content to YouTube.

LinkedIn

Schedule professional posts to LinkedIn profiles and pages.

Pinterest

Schedule pins to Pinterest boards.

Mastodon

Schedule posts to Mastodon instances.

Tumblr

Schedule posts to Tumblr blogs.

Platform-Specific Mutations

Each platform has its own dedicated GraphQL mutation for scheduling posts. Here's a quick reference:

PlatformMutation NameDescription
RedditscheduleRedditPostSchedule posts to multiple subreddits
X/TwitterscheduleTweetSchedule tweets and threads
InstagramscheduleInstagramPostSchedule feed posts, Reels, and Stories posts
FacebookscheduleFacebookPostSchedule posts to Pages
ThreadsscheduleThreadsPostSchedule posts to Threads
BlueskyscheduleBlueskyPostSchedule posts to Bluesky
TikTokscheduleTikTokPostSchedule video content
YouTube ShortsscheduleYouTubePostSchedule short-form videos
LinkedInscheduleLinkedInPostSchedule professional posts
PinterestschedulePinterestPostSchedule pins to boards
MastodonscheduleMastodonPostSchedule posts to Mastodon
TumblrscheduleTumblrPostSchedule posts to Tumblr

Common Parameters

While each platform has specific requirements, most scheduling mutations share common parameters:

username
String! required
The username of the connected social media account to post from.
postAt
DateTime! required
ISO 8601 timestamp indicating when the post should be published (must be in the future).
text
String
The main text content of your post (character limits vary by platform).
mediaName
String
Name of a file from your Content Library to attach to the post (case-insensitive).
mediaUrl
String
URL of media to upload and attach to the post.
gallery
GalleryInput
Media gallery with multiple images/videos for platforms that support it.
publishingStatus
PublishingStatusType
Publishing status. Options: READY_TO_PUBLISH, DRAFT (default: READY_TO_PUBLISH).
postTags
[ID!]
Array of post tag IDs to organize your content.
id
ID
ID of existing post when updating (only for updates).

Response Format

All scheduling mutations return a consistent response structure:

{
  success: Boolean!
  errors: [ValidationError]
}
success
boolean
Indicates whether the post was successfully scheduled.
errors
[ValidationError]
Array of validation errors with specific error codes and messages.

Common Errors

These errors are commonly encountered across multiple platforms when scheduling posts:

Best Practices

When using the scheduling API, keep these best practices in mind:

Getting Started

To begin scheduling posts via the API:

Connect Your Accounts

Ensure you have connected the social media accounts you want to post to in your Postpone dashboard.

Obtain API Credentials

Get your API token from the Postpone dashboard to authenticate your requests.

Choose Your Platform

Select the platform you want to schedule posts for and refer to the platform-specific documentation.

Test Your Integration

Use the API playground to test your mutations before implementing them in production.

Next Steps

Ready to start scheduling posts? Choose a platform from the list above to see detailed examples and platform-specific requirements.

Each platform has unique features and requirements. Be sure to read the platform-specific documentation for detailed parameter information and examples.