To use Postiz in OpenClaw, run `clawhub install postiz` in your terminal, connect your social media accounts in the Postiz dashboard, and add your POSTIZ_API_KEY to OpenClaw's config. Once set up, you can schedule posts across Twitter/X, LinkedIn, Instagram, and other platforms directly from OpenClaw chat — no manual dashboard visits required.
Schedule Social Media Posts Across Platforms from OpenClaw Chat
Managing social media for a business or personal brand means logging into multiple dashboards, copying and pasting content, and manually scheduling each post for the right time on the right platform. Postiz eliminates that friction by centralizing your social media scheduling into one API-accessible platform — and the OpenClaw Postiz skill brings that control directly into your AI agent workflow. Instead of switching tabs, you describe what you want to post and when, and OpenClaw handles the rest.
The Postiz skill is particularly powerful for content creators and founders who want to maintain a consistent social presence without it becoming a time sink. You can dictate a week's worth of posts in a single OpenClaw conversation, ask Postiz to spread them across platforms at optimal times, and walk away. The integration supports all major platforms Postiz connects to: Twitter/X, LinkedIn, Instagram, Facebook, TikTok, Pinterest, Reddit, and more — wherever you have accounts linked in your Postiz dashboard.
Postiz itself is open-source, which means you can self-host it for full data ownership or use the hosted cloud version. Either way, the API key integration works identically through OpenClaw. If you're already using Postiz manually, adding the ClawHub skill takes under ten minutes and immediately upgrades your workflow to AI-assisted scheduling.
Integration method
Postiz is available as a native ClawHub skill, meaning you install it with one command and it connects directly to your Postiz account via API key. Once configured, OpenClaw can create, schedule, and manage social media posts across all platforms linked to your Postiz account without you ever opening the Postiz dashboard. The skill handles authentication, platform routing, and scheduling logic automatically.
Prerequisites
- OpenClaw installed and running (see openclaw.ai for installation instructions)
- ClawHub CLI available in your terminal (bundled with OpenClaw)
- A Postiz account (postiz.com — free plan available, or self-hosted)
- At least one social media account connected to your Postiz dashboard
- Terminal access to run the clawhub install command
Step-by-step guide
Install the Postiz Skill via ClawHub
Install the Postiz Skill via ClawHub
Open your terminal and run the ClawHub install command for the Postiz skill. ClawHub downloads the skill package, validates its integrity against the ClawHub registry, and registers it with your local OpenClaw instance. The installation takes a few seconds and ends with a confirmation message showing the required configuration keys. The Postiz skill requires one environment variable: POSTIZ_API_KEY. You will set this in a later step — the skill installs successfully without it but will show an error if you try to use it before the key is configured. If you see a `clawhub: command not found` error, your OpenClaw PATH may need updating. Check your OpenClaw installation directory (typically `/usr/local/bin/clawhub` on macOS/Linux) and ensure it is included in your shell's PATH variable. Reinstalling OpenClaw from openclaw.ai will also repair a broken ClawHub installation.
1clawhub install postizPro tip: Run `clawhub list` after installation to confirm postiz appears. You can also run `clawhub info postiz` to see all available configuration options and the current skill version.
Expected result: Terminal shows: 'postiz@X.X.X installed successfully. Required config: POSTIZ_API_KEY'. The skill appears in `clawhub list` output.
Get Your Postiz API Key
Get Your Postiz API Key
Log in to your Postiz account at app.postiz.com (or your self-hosted Postiz URL if you're running your own instance). Navigate to Settings — this is usually accessible from the bottom of the left sidebar or the top-right user menu. In the Settings panel, look for the 'API Keys' or 'Integrations' section. Click 'Create new API key' or 'Generate key'. Give it a descriptive name like 'OpenClaw Integration' so you can identify it later. Postiz generates the key immediately — copy it to your clipboard now, as you may not be able to view it again without regenerating. For self-hosted Postiz installations, the API key section is in the same location within your instance's settings panel. The API key format and behavior are identical regardless of whether you use cloud or self-hosted Postiz. Keep this key private. It grants full API access to your Postiz account, including the ability to post on your behalf to all connected social media accounts. If you suspect the key has been compromised, revoke it immediately in the Postiz settings and generate a new one.
Pro tip: If you're using self-hosted Postiz, you'll also need your instance URL. Make note of both POSTIZ_API_KEY and POSTIZ_URL — you'll configure both in the next step.
Expected result: You have a Postiz API key copied to your clipboard. You also know your Postiz instance URL (app.postiz.com for cloud, or your self-hosted domain).
Configure the API Key in OpenClaw
Configure the API Key in OpenClaw
Add your Postiz API key to OpenClaw's configuration. The recommended approach is to add it to your OpenClaw `.env` file or use the `clawhub config set` command, which stores it securely in OpenClaw's local configuration store. Open your OpenClaw configuration directory — this is typically `~/.openclaw/` on macOS/Linux or `%APPDATA%\openclaw\` on Windows. Add the POSTIZ_API_KEY (and optionally POSTIZ_URL for self-hosted installations) as shown in the code block below. If you prefer the command-line approach, use `clawhub config set` to set each variable without opening a text editor. After setting the variables, run `clawhub reload` to apply the configuration change without restarting OpenClaw. For self-hosted Postiz, the POSTIZ_URL variable tells the skill where to send API requests. For cloud Postiz users, the skill defaults to `https://api.postiz.com` and no URL configuration is needed.
1# Option A: Add to ~/.openclaw/.env2POSTIZ_API_KEY=your-postiz-api-key-here3POSTIZ_URL=https://api.postiz.com # omit for cloud; set to your instance URL for self-hosted45# Option B: Set via clawhub config command6clawhub config set POSTIZ_API_KEY your-postiz-api-key-here7clawhub config set POSTIZ_URL https://api.postiz.com89# Verify configuration10clawhub config get POSTIZ_API_KEY1112# Reload config13clawhub reloadPro tip: Never paste your Postiz API key into an OpenClaw chat prompt. If you do this accidentally and the chat log is synced or shared, revoke the key immediately in Postiz settings.
Expected result: Running `clawhub config get POSTIZ_API_KEY` returns your key (partially masked). OpenClaw confirms the postiz skill is active and ready when you run `clawhub list`.
Test the Skill by Scheduling a Post
Test the Skill by Scheduling a Post
Open OpenClaw chat and test the Postiz skill with a simple scheduling request. The skill activates when OpenClaw determines you want to publish or schedule social media content — you can reference Postiz explicitly or simply describe what you want to post and where. For your first test, schedule a simple post to one platform a few hours in the future. This lets you verify the connection is working without immediately publishing anything live. You can cancel or reschedule the post from the Postiz dashboard after confirming it was created successfully. The Postiz skill will confirm the scheduled post with details including the platform, content preview, scheduled time, and post ID. You can use the post ID to reference, modify, or cancel the post later from OpenClaw chat. RapidDev has documented common Postiz skill configurations for teams managing content across five or more social accounts simultaneously — reach out if you need help optimizing multi-account scheduling workflows.
Schedule a test post in Postiz on my LinkedIn account for tomorrow at 2pm EST. The content should be: 'Excited to share something new with the community this week — stay tuned.' Confirm the post ID and scheduled time after creating it.
Paste this in OpenClaw chat
Pro tip: Check your Postiz dashboard after running this prompt to verify the post appears in your scheduled queue. If it doesn't appear, confirm your social accounts are properly connected in Postiz settings.
Expected result: OpenClaw confirms the post was scheduled with a post ID, target platform, content preview, and scheduled time. The post appears in your Postiz dashboard queue.
Advanced Usage: Platform-Specific Scheduling and Queue Management
Advanced Usage: Platform-Specific Scheduling and Queue Management
The Postiz skill supports several advanced scheduling patterns that go beyond basic post creation. You can specify posting times for multiple platforms in a single prompt, request that Postiz automatically space out posts for optimal engagement, check your current queue for gaps, and delete or reschedule existing posts. **Optimal timing**: Postiz knows the best posting times per platform based on your audience analytics. Ask OpenClaw to schedule posts at 'optimal time' for each platform rather than specifying exact times — Postiz will select the window most likely to maximize reach based on your historical data. **Queue management**: Ask OpenClaw to list your upcoming posts, identify days with no scheduled content, or fill gaps automatically with content you specify. **Platform-specific content**: Each social platform has different character limits, media requirements, and audience expectations. When writing prompts, specify how you want content adapted per platform — OpenClaw can rewrite the same core message in platform-appropriate style before passing it to Postiz.
Review my Postiz queue for the next 14 days. Identify any platform that has 2 or fewer posts scheduled and flag those gaps. Then suggest 3 post topics I could create to fill the busiest-looking gaps based on what I've been posting recently.
Paste this in OpenClaw chat
1# Optional: Configure default platforms in skill config2# ~/.openclaw/skills/postiz.yaml3postiz:4 default_platforms:5 - linkedin6 - twitter7 - facebook8 timezone: America/New_York9 optimal_timing: true # let Postiz choose best time per platformPro tip: If you post similar content types regularly (e.g., weekly blog announcements, product updates), describe your content pattern to OpenClaw once and ask it to create a reusable posting template for Postiz. This speeds up your regular scheduling workflow significantly.
Expected result: OpenClaw returns a summary of your 14-day queue, highlights platforms with content gaps, and suggests specific post topics with draft content ready to schedule.
Common use cases
Weekly Content Batch Scheduling
Write or describe a week's worth of social media content in a single OpenClaw session and let Postiz distribute it across platforms at the best times. OpenClaw can help you draft the posts, vary the messaging per platform, and queue everything in Postiz's scheduler.
Schedule these three posts in Postiz for this week: Monday on LinkedIn — 'Just shipped a new feature: dark mode for our dashboard. Our users have been asking for this for months. Link in bio.'; Wednesday on Twitter — 'Dark mode is live 🎉 go check it out'; Friday on Instagram — create a short caption about our dark mode launch with 5 relevant hashtags. Space them out at 9am EST each day.
Copy this prompt to try it in OpenClaw
Cross-Platform Announcement
When you have a product launch, blog post, or event to announce, use OpenClaw to craft platform-appropriate versions of the same message and schedule them all at once across Twitter/X, LinkedIn, and any other channels you use.
I'm launching a new pricing page tomorrow at 10am EST. Schedule posts on LinkedIn, Twitter, and Facebook announcing the launch. LinkedIn should be professional and detail-focused, Twitter should be punchy and under 280 characters, Facebook can be conversational. All three should go out at 10am EST tomorrow.
Copy this prompt to try it in OpenClaw
Content Queue Status Check
Ask OpenClaw to pull your current Postiz queue and give you a summary of what's scheduled, which platforms have gaps, and what's posting next. Useful for a quick content calendar review without opening the Postiz dashboard.
Show me everything scheduled in my Postiz queue for the next 7 days. Group it by platform and tell me if any platform has fewer than 3 posts scheduled this week.
Copy this prompt to try it in OpenClaw
Troubleshooting
OpenClaw returns 'postiz: authentication failed' or '401 Unauthorized' when trying to schedule a post
Cause: The POSTIZ_API_KEY is missing from OpenClaw's configuration, was set under a different variable name, or the key was copied with extra whitespace or truncated.
Solution: Run `clawhub config get POSTIZ_API_KEY` to verify the key is set. If it returns empty, re-run `clawhub config set POSTIZ_API_KEY your-key-here`. Confirm there are no spaces around the `=` sign in your .env file. Also verify the key is still active in your Postiz account settings — keys can be revoked or expire.
1# Verify and re-set API key2clawhub config get POSTIZ_API_KEY3clawhub config set POSTIZ_API_KEY your-postiz-api-key-here4clawhub reloadclawhub install postiz fails with a network error or '429 Too Many Requests'
Cause: The ClawHub skill registry has temporary rate limits during peak usage periods. This is a registry-side issue, not a Postiz issue.
Solution: Wait 2-3 minutes and retry the install. If the issue persists, check the OpenClaw community forums for any known ClawHub registry outages. Force-reinstall with `--force` if a partial installation is causing the failure.
1# Retry after a short wait2clawhub install postiz --forcePosts are scheduled but not appearing on the social platform — Postiz shows them as 'pending' indefinitely
Cause: The social media account connection in Postiz has expired or lost authorization. Social platforms periodically require reauthorization of third-party connections.
Solution: Open the Postiz dashboard, navigate to Connected Accounts, and reconnect the affected platform. OAuth tokens for social platforms expire every 60-90 days for most services. After reconnecting, the pending posts should process automatically.
OpenClaw says 'postiz skill not found' or the skill is missing from `clawhub list`
Cause: The skill installation was incomplete or the ClawHub registry lost track of the installed skill.
Solution: Reinstall the skill with `clawhub install postiz --force`. If the problem persists, check that your OpenClaw version is current — older OpenClaw versions may not support newer skill packages. Run `clawhub update` to update the ClawHub registry index.
1clawhub install postiz --force2clawhub updateBest practices
- Connect all your social accounts to Postiz before installing the skill — OpenClaw can only schedule to platforms that are already linked in your Postiz dashboard.
- Store POSTIZ_API_KEY in your OpenClaw .env file, never in chat history or in code repositories that might be shared or version-controlled.
- Use platform-specific language in your scheduling prompts — ask OpenClaw to adapt the same message for LinkedIn (professional), Twitter (concise), and Instagram (visual/casual) rather than posting identical text everywhere.
- Review scheduled posts in your Postiz dashboard before publication windows, especially for time-sensitive announcements — OpenClaw interprets scheduling instructions literally and may schedule at unexpected times if your timezone is not configured.
- Set a default timezone in your Postiz skill config to avoid scheduling posts at wrong times when you don't specify a timezone in your prompt.
- For high-volume social teams, use platform-specific Postiz queues (morning queue, evening queue) and tell OpenClaw which queue to target rather than specifying exact times — Postiz's smart scheduling fills queues at optimal intervals.
- Periodically audit your connected accounts in Postiz — OAuth tokens expire, and a disconnected account will cause skill errors that are confusing to diagnose if you don't realize the token has expired.
Alternatives
The LinkedIn skill posts directly to LinkedIn without needing a scheduling layer — better for one-off posts, but lacks cross-platform scheduling and queuing.
The X/Twitter skill interacts directly with the Twitter/X API for real-time posting and reading — better for live engagement but only covers one platform.
Upload Post publishes content immediately across platforms without scheduling — choose it when you want instant publishing rather than queued scheduling.
Frequently asked questions
How do I install Postiz in OpenClaw?
Run `clawhub install postiz` in your terminal. Then log into your Postiz account at app.postiz.com, generate an API key in Settings, and add it to OpenClaw with `clawhub config set POSTIZ_API_KEY your-key-here`. Run `clawhub reload` and you can immediately start scheduling posts from OpenClaw chat.
Which social media platforms does the Postiz skill support in OpenClaw?
The Postiz skill supports every platform connected to your Postiz account — this typically includes Twitter/X, LinkedIn, Instagram, Facebook, TikTok, Pinterest, Reddit, and others. The specific platforms available depend on what you have connected in your Postiz dashboard. OpenClaw can list your connected platforms by asking Postiz for your account information.
Can I use the Postiz skill with self-hosted Postiz?
Yes. Set POSTIZ_URL to your self-hosted instance URL in addition to POSTIZ_API_KEY. For example, if your Postiz instance is at `https://social.yourdomain.com`, add `POSTIZ_URL=https://social.yourdomain.com` to your OpenClaw config. The skill works identically with cloud and self-hosted Postiz.
Does RapidDev offer help setting up the Postiz skill in OpenClaw?
Yes — RapidDev can help teams set up Postiz alongside other OpenClaw skills for end-to-end content workflows, including integrating Postiz with research skills (for content ideation) and CRM tools (for tracking engagement). The single-account setup described on this page is straightforward, but multi-account or enterprise configurations benefit from expert guidance.
Why is the OpenClaw Postiz API key configuration not working?
The most common issue is the wrong variable name — it must be exactly `POSTIZ_API_KEY` (all caps, with underscore). Also verify there are no trailing spaces in the value and that the key is still active in your Postiz account. Run `clawhub config get POSTIZ_API_KEY` to check the current value and `clawhub reload` to apply any recent changes.
Can OpenClaw schedule posts to Instagram using the Postiz skill?
Yes, if you have an Instagram business or creator account connected to your Postiz dashboard. Personal Instagram accounts have limitations on third-party scheduling due to API restrictions — Postiz requires a professional account type for full scheduling support. Connect your Instagram account in Postiz first, then OpenClaw can schedule to it via the skill.
Talk to an Expert
Our team has built 600+ apps. Get personalized help with your project.
Book a free consultation