SocialAPI icon

SocialAPI

Manage social accounts, posts, and the inbox via SocialAPI

Post → Unpublish

AI-generated

Summary

Unpublishes a post through SocialAPI. Provide the required Post ID; optionally enter comma-separated Account IDs to limit which accounts it is unpublished from. Leave Account IDs blank to use the API’s default of all accounts.

Inputs

  • Post ID (required) — The ID of the post to unpublish.
  • Account IDs — Optional comma-separated account IDs. If provided, the IDs are trimmed and sent as an array; if left blank, the request omits this filter and uses the API default of all accounts.

Output shape

A list of n8n items containing the API response.

Sends a POST request to the post’s unpublish endpoint and wraps the response as JSON items. With Continue On Fail enabled, a failed request produces an item containing an error message.

Links

Discussion