CommunicationDocumentedScanned

postiz

Schedule posts to 28+ channels: X, LinkedIn, Reddit, Instagram, TikTok.

Share:

Installation

npx clawhub@latest install postiz

View the full skill documentation and source below.

Documentation

Postiz Skill

Postiz is a tool to schedule social media and chat posts to 28+ channels:

X, LinkedIn, LinkedIn Page, Reddit, Instagram, Facebook Page, Threads, YouTube, Google My Business, TikTok, Pinterest, Dribbble, Discord, Slack, Kick, Twitch, Mastodon, Bluesky, Lemmy, Farcaster, Telegram, Nostr, VK, Medium, Dev.to, Hashnode, WordPress, ListMonk

Setup

  • Get your API key:

  • Click on "Settings"

  • Click "Reveal"

  • Set environment variables:

  • export POSTIZ_API_KEY="your-api-key"

    Get all added channels

    curl -X GET "" \
      -H "Authorization: $POSTIZ_API_KEY"

    Get the next available slot for a channel

    curl -X GET "" \
      -H "Authorization: $POSTIZ_API_KEY"

    Upload a new file (form-data)

    curl -X POST "" \
      -H "Authorization: $POSTIZ_API_KEY" \
      -F "file=@/path/to/your/file.png"

    Upload a new file from an existing URL

    curl -X POST "" \
      -H "Authorization: $POSTIZ_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "url": ""
      }'

    Post list

    curl -X GET "" \
      -H "Authorization: $POSTIZ_API_KEY"

    Schedule a new post

    Settings for different channels can be found in:

    On the bottom left menu

    curl -X POST "" \
      -H "Authorization: $POSTIZ_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
      "type": "schedule",
      "date": "2024-12-14T10:00:00.000Z",
      "shortLink": false,
      "tags": [],
      "posts": [
        {
          "integration": {
            "id": "your-x-integration-id"
          },
          "value": [
            {
              "content": "Hello from the Postiz API! 🚀",
              "image": [{ "id": "img-123", "path": "" }]
            }
          ],
          "settings": {
            "__type": "provider name",
            rest of the settings
          }
        }
      ]
    }'

    Delete a post

    curl -X DELETE "" \
      -H "Authorization: $POSTIZ_API_KEY"