Posta icon

Posta

Manage social media posts, media, accounts, analytics, and webhooks via the Posta API

Post → Get Many

AI-generated

Summary

Retrieves a list of posts, optionally filtering by status, draft state, and returning all or a limited subset.

Inputs

  • returnAll — Whether to return all results or only up to a given limit (defaults to false).
  • limit — Maximum number of results to return when returnAll is false (1-100).
  • filters — Collection of optional filters: 'status' (draft, scheduled, processing, posted, partially_posted, failed) and 'isDraft' (boolean).

Output shape

A list of post items, each containing post details in the '' property.

When returnAll is true, the node iterates through pages using offset/limit (max 100 per page) until no more items exist.

Examples

Example 1: Fetch up to 50 posts with a specific status

Set returnAll to false, limit to 50, and filters.status to 'posted'.

Example 2: Retrieve all draft posts without pagination

Set returnAll to true and filters.isDraft to true.

Links

Discussion