Welcome to Postiz API
The Postiz Public API enables you to programmatically manage your social media content across 28+ platforms. Schedule posts, manage integrations, upload media, and more.Base URL
All API endpoints are relative to:API Version
The current API version isv1. All endpoints are prefixed with /public/v1/.
Key Features
Schedule Posts
Create and schedule posts across multiple social media platforms simultaneously
Media Management
Upload images, videos, and other media files for your posts
Integration Control
List and manage your connected social media accounts
Rate Limited
30 requests per hour by default to ensure optimal performance
Quick Start
- Get your API key from the Postiz dashboard under Settings → API Keys
- Authenticate your requests by including the API key in the
Authorizationheader - Make your first request to create a post or list integrations
SDKs and Tools
Postiz provides official SDKs and CLI tools to make integration easier:- Node.js SDK:
@postiz/node- Full TypeScript support - CLI Tool:
postiz- Command-line interface for all API operations
Response Format
All API responses are returned in JSON format:Error Handling
The API uses standard HTTP status codes:200- Success400- Bad Request (validation error)401- Unauthorized (invalid API key)404- Not Found429- Too Many Requests (rate limit exceeded)500- Internal Server Error
Available Endpoints
The Public API provides the following endpoints:Posts
POST /public/v1/posts- Create and schedule postsGET /public/v1/posts- List all posts with filteringDELETE /public/v1/posts/:id- Delete a specific postDELETE /public/v1/posts/group/:group- Delete all posts in a groupGET /public/v1/posts/:id/missing- Get missing content requirementsPUT /public/v1/posts/:id/release-id- Update post release ID
Media
POST /public/v1/upload- Upload media filesPOST /public/v1/upload-from-url- Upload media from URLPOST /public/v1/generate-video- Generate AI videosPOST /public/v1/video/function- Video processing functions
Integrations
GET /public/v1/integrations- List connected platformsGET /public/v1/is-connected- Check connection statusGET /public/v1/integration-settings/:id- Get platform-specific settings
Analytics & Notifications
GET /public/v1/analytics/:integration- Get platform analyticsGET /public/v1/notifications- List notifications
Utilities
GET /public/v1/find-slot/:id- Find next available time slot
Core endpoints are documented in detail in the Endpoints section. Advanced endpoints are available but may have limited documentation.
Next Steps
Authentication
Learn how to authenticate your API requests
Create Your First Post
Schedule a post to your social media accounts
Rate Limits
Understand API rate limiting policies
Node.js SDK
Use the official Node.js SDK