Skip to content
Postiz logo

Connectors / Marketing · HTTP Connector

Postiz integration and API

Create a post, upload a file and start a clipping in Postiz, and start a workflow when Postiz sends “Post published”.

What can you do with Postiz on Tray.ai?

Postiz is a social media scheduling tool for planning, publishing and measuring posts across many social channels, available as a cloud service or self-hosted. Tray.ai connects to Postiz through the HTTP Connector, so your workflows can call the Postiz API alongside the rest of your stack.

  • When Postiz sends “Post published”, share the link in your marketing team chat.
  • Create a post for each new product launched in your online store.
  • Get post analytics weekly and add engagement to your marketing report.
Connects through
HTTP Connector
Authentication
An API key in a request header or OAuth 2.0
Base URL
https://api.postiz.com/public/v1

Set it up

Connect Postiz to Tray.ai

Each step uses Postiz's own API details, from its documentation.

Save Postiz's API key

Save the key as a Tray.ai authentication. The HTTP Client puts it in the request header, read from $.auth. The key stays out of the workflow and out of the logs.

Point the HTTP Client at the API

Add an HTTP Client step and use https://api.postiz.com/public/v1 as the base URL. Or paste a cURL example from Postiz's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List channels”

It's one of 16 documented actions, under Channels. The response comes back as data the next step can map into your other apps.

Start workflows from Postiz events

Give Postiz the URL of a Tray.ai webhook trigger. “Post published” can then start a workflow.

Workflows to build with Postiz

Connect Postiz with Slack, Airtable and Google Sheets

Each one uses actions and events from Postiz's own API documentation.

Share published posts in a Slack channel

When

Post published

Then

  1. Get post analytics
  2. Post a message with the link to the marketing channel in Slack

With Slack

Schedule social posts from an Airtable calendar

When

On a schedule

Then

  1. Find approved posts in the content calendar in Airtable
  2. Find an available slot
  3. Create a post

With Airtable

Track social analytics in Google Sheets

When

On a schedule

Then

  1. Get platform analytics
  2. Add a row per channel in Google Sheets

With Google Sheets

Apps you can build on Postiz data

Internal tools your team can build with an AI assistant, each one using Postiz calls from its API documentation.

Content calendar board

Lists posts across channels with their status and lets an editor move a post between draft and scheduled.

Social analytics report

Shows platform and post analytics for each channel so the team can compare what performed best.

Postiz MCP server for AI agents

Build an MCP server on Postiz in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List channels
  • List posts
  • Upload a file
  • Get platform analytics
  • Start a clipping
  • Delete a channel
  • Check a connection
  • Find an available slot

What the Postiz API covers

5 resources and 16 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Channels

  • List channels
  • Delete a channel
  • Check a connection
  • Find an available slot

Posts

  • List posts
  • Create a post
  • Delete a post
  • Change post status

Media

  • Upload a file
  • Upload from a URL
  • List media

Analytics

  • Get platform analytics
  • Get post analytics

Clippings

  • Start a clipping
  • Get a clipping
  • List clippings

Events Postiz can send to a Tray.ai webhook trigger

  • Post published

Checked against Postiz's own documentation on 2026-10-22

docs.postiz.com/public-api

Frequently asked questions

What can a Tray.ai workflow do in Postiz?

The Postiz API documents 16 actions across 5 resources (Channels, Posts, Media, Analytics, Clippings). For example: List channels; List posts; Upload a file. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Postiz?

The Postiz API uses an API key in a request header and OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which Postiz events can start a Tray.ai workflow?

Postiz sends one event to a webhook URL, for example: Post published. A Tray.ai webhook trigger receives them and starts a workflow.

See Postiz working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great, a couple more details

This helps us connect you with the right person. Optional, and you can skip it.