---
canonical_url: "https://docs.composio.dev/toolkits/postwire"
markdown_url: "https://docs.composio.dev/toolkits/postwire.md"
product: "platform"
version: null
last_updated: null
---

# PostWire

PostWire is a social publishing platform for creating, scheduling, and managing posts across multiple networks.

- **Category:** social media marketing
- **Auth:** API_KEY
- **Composio-managed OAuth available?** N/A
- **Tools:** 88
- **Triggers:** 0
- **Slug:** `POSTWIRE`
- **Version:** 00000000_00

## Tools

### Check Feed Now

**Slug:** `POSTWIRE_CHECK_FEED_NOW`

Read a feed immediately and process newly discovered items. Depending on the feed rules, processing can publish, queue, hold for approval, skip, or reject posts, so inspect each returned item result.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | Feed ID to read immediately. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Connect Credential Platform

**Slug:** `POSTWIRE_CONNECT_CREDENTIAL_PLATFORM`

Connect or test a credential-based publishing platform. Downstream credentials are sent only to PostWire for verification and are never returned by this action.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `dry_run` | boolean | No | True tests the credentials without saving a connection. |
| `brand_id` | string | No | Brand that should own the connection; omit to use the account default. |
| `platform` | string ("telegram" | "bluesky" | "mastodon" | "discord" | "wordpress" | "devto" | "hashnode" | "slack" | "nostr") | Yes | Credential-based publishing platform to connect. |
| `connection_details` | object | Yes | Sensitive downstream credentials; never log, display, or reuse them. Use telegram {bot_token, chat_id}, bluesky {handle, app_password}, mastodon {instance_url, access_token}, discord {webhook_url}, wordpress {site_url, username, app_password, default_status?}, devto {api_key, default_status?}, hashnode {token, publication?, default_status?}, slack {webhook_url}, or nostr {nsec, relays?}. PostWire checks the credentials with the network before saving them. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Account

**Slug:** `POSTWIRE_CREATE_ACCOUNT`

Create an unverified PostWire account for an email address. PostWire emails a one-time confirmation link and never returns an API key from this action.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `email` | string | Yes | Email address that will receive the one-time confirmation link. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create AI Credits Checkout

**Slug:** `POSTWIRE_CREATE_AI_CREDITS_CHECKOUT`

Create and return a hosted checkout URL for a one-time AI credit pack. This action only returns a URL for a person to open; it does not purchase credits or charge a payment method automatically.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `pack` | string ("5" | "20") | Yes | Pack price in USD: 5 buys about 40 drafts; 20 buys about 190 drafts. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create API Key

**Slug:** `POSTWIRE_CREATE_API_KEY`

Create a PostWire API key, optionally named and expiring in 1 to 3650 days. Store the returned secret immediately because PostWire shows it only once.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | Optional name used to identify the new API key. |
| `expires_in_days` | integer | No | Number of days until the key expires, from 1 through 3650. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Billing Portal

**Slug:** `POSTWIRE_CREATE_BILLING_PORTAL`

Create and return a hosted billing-portal URL for changing a plan, updating a card, or canceling. This action only returns a URL for a person to open; it does not change billing or make a purchase automatically.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Brand

**Slug:** `POSTWIRE_CREATE_BRAND`

Create a brand that groups one business's connected publishing accounts. The account plan limits how many brands may exist.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | Human-readable name for the new brand. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Bulk Schedule

**Slug:** `POSTWIRE_CREATE_BULK_SCHEDULE`

Validate CSV or JSON rows, then atomically schedule every row when dry_run is false. If any row is invalid, PostWire stores none; dry_run defaults to true.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `csv` | string | No | CSV text whose first line contains column names, up to 3 MB. |
| `rows` | array | No | Objects with the same column names as the CSV format. |
| `dry_run` | boolean | No | Validate and preview without storing posts when true. |
| `batch_id` | string | No | Caller-defined upload ID using letters, digits, hyphens, or underscores. |
| `brand_id` | string | No | Default brand ID or name for rows without a brand column. |
| `timezone` | string | No | IANA timezone for dates that omit one. |
| `check_media` | boolean | No | Check each media link before scheduling. |
| `date_format` | string ("ymd" | "dmy" | "mdy") | No | Ordering used for ambiguous numeric dates. |
| `fit_long_text` | boolean | No | Fit overlong text at a sentence or word instead of reporting an error. |
| `allow_duplicate` | boolean | No | Allow a duplicate of an earlier upload. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Coach Share Image

**Slug:** `POSTWIRE_CREATE_COACH_SHARE_IMAGE`

Create a signed public 1080x1080 PNG of this week's coaching numbers and a suggested caption. The URL is valid for 180 days and exposes only the numbers embedded in the signed link.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `tz` | string | No | IANA timezone used to calculate this week's numbers. |
| `name` | string | No | Optional name printed on the image, up to 40 characters. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Content Week

**Slug:** `POSTWIRE_CREATE_CONTENT_WEEK`

Write and queue one post per day from a topic, starting tomorrow.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `days` | integer | No | Number of daily posts to create. |
| `topic` | string | Yes | Topic from which PostWire writes the week's posts. |
| `brand_id` | string | No | Brand whose accounts should receive the posts. |
| `timezone` | string | No | IANA timezone for scheduled posts. |
| `platforms` | array | Yes | Text-capable networks to receive each daily post. |
| `start_hour` | integer | No | Wall-clock hour in the selected timezone. |
| `brand_voice` | string | No | Brand voice guidance for generated copy. |
| `tz_offset_minutes` | integer | No | Browser getTimezoneOffset-style fallback when timezone is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Feed

**Slug:** `POSTWIRE_CREATE_FEED`

Add an RSS feed or Google Sheet automation and perform its first read.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes | RSS, Atom, or Google Sheets URL to automate. |
| `kind` | string ("rss" | "sheet") | No | Feed kind; Google Sheets links are also detected automatically. |
| `mode` | string ("auto" | "approval") | No | Post automatically or send every item for approval. |
| `title` | string | No | Feed title. |
| `enabled` | boolean | No | Whether polling is enabled. |
| `post_at` | string ("now" | "next_slot") | No | Publish immediately or use the brand's next queue slot. |
| `brand_id` | string | No | Brand whose accounts should publish feed items. |
| `template` | string | No | RSS post template using title, link, and summary placeholders. |
| `timezone` | string | No | Timezone for sheet row times that omit one. |
| `max_items` | integer | No | Maximum new items posted per read. |
| `platforms` | array | No | Publishing networks; required for RSS feeds. |
| `ai_rewrite` | boolean | No | Use an AI draft to rewrite each network's post when available. |
| `post_latest` | boolean | No | Also post the newest existing item during the first read. |
| `include_image` | boolean | No | Include an item image when available. |
| `interval_minutes` | integer | No | Minutes between reads, subject to the plan minimum. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Media Card

**Slug:** `POSTWIRE_CREATE_MEDIA_CARD`

Render post text as a portrait/story image or overlay it on a supplied photo. This creates media but does not publish it.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `text` | string | No | Words to draw; a background slide keeps about 220 characters. May be empty for a photo-only slide. |
| `style` | string ("light" | "dark") | No | Card colors when background_url is omitted. |
| `format` | string ("portrait" | "story") | No | Card size when background_url is omitted. |
| `background_url` | string | No | Public HTTPS JPEG, PNG, or WebP URL up to 15 MB for a 1080x1920 text-over-photo slide. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Media Upload URL

**Slug:** `POSTWIRE_CREATE_MEDIA_UPLOAD_URL`

Create signed storage URLs for uploading a photo or video up to 1 GB. Upload bytes directly to the returned URL or ranges, then finalize the returned path.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `multipart` | boolean | No | True for files over 50 MB so PostWire returns ranged multipart upload URLs. |
| `size_bytes` | integer | No | File size in bytes, when known. |
| `content_type` | string ("image/jpeg" | "image/png" | "image/webp" | "image/gif" | "video/mp4" | "video/quicktime" | "video/webm") | Yes | MIME type of the photo or video to upload. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Media Video

**Slug:** `POSTWIRE_CREATE_MEDIA_VIDEO`

Render post words into a short 1080x1920 MP4 for TikTok or YouTube. This creates stored media but does not publish it.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `text` | string | Yes | Post words; the first line or sentence is the heading and up to two more sentences follow. |
| `music` | string ("auto" | "lofi" | "piano" | "upbeat" | "none") | No | Royalty-free music bed, automatic selection, or none for silence. |
| `style` | string ("light" | "dark") | No | Warm off-white or dark video background. |
| `footer` | string | No | Optional short footer such as a brand or shop name. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Plan Checkout

**Slug:** `POSTWIRE_CREATE_PLAN_CHECKOUT`

Create and return a hosted checkout URL for a PostWire paid plan. This action only returns a URL for a person to open; it does not purchase a plan or charge a payment method automatically.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `plan` | string ("starter" | "pro" | "agency" | "scale") | Yes | Paid PostWire plan to purchase. |
| `interval` | string ("month" | "year") | No | Billing period. Omit for monthly billing; year is billed annually with the provider's documented discount. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Post Draft

**Slug:** `POSTWIRE_CREATE_POST_DRAFT`

Deliver media to a creator's TikTok inbox or save an editable WordPress, Dev.to, or Hashnode article draft without publishing it. Inspect every result because each destination reports acceptance independently.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `text` | string | No | Default caption or article content unless overridden. |
| `media` | array | No | Ordered media items, up to 35. |
| `title` | string | No | Default article title. |
| `options` | object | No | Destination-specific draft content settings. |
| `brand_id` | string | No | Brand whose connected accounts should receive the draft. Required when a destination is connected under multiple brands. |
| `photo_url` | string | No | Public HTTPS URL of one image. |
| `platforms` | array | Yes | Destinations where the draft should be delivered or saved. TikTok sends media to the creator's inbox; article platforms save an editable draft. |
| `video_url` | string | No | Public HTTPS video URL for a TikTok draft. |
| `photo_urls` | array | No | Public HTTPS image URLs in display order. |
| `per_platform` | object | No | Destination-specific content and media overrides. |
| `idempotency_key` | string | No | Caller-generated key reused on retries to prevent duplicate draft creation. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Recurring Post

**Slug:** `POSTWIRE_CREATE_RECURRING_POST`

Create a paid-plan recurring post and queue its near-term occurrences.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `rule` | object | Yes | Rule that determines occurrence dates and times. |
| `text` | string | No | Post text when using one repeated text. |
| `label` | string | No | Caller-visible recurring-post label. |
| `media` | array | No | Media objects attached to every occurrence. |
| `title` | string | No | Post title for networks that use one. |
| `options` | object | No | Per-network publishing options. |
| `brand_id` | string | No | Brand whose accounts should publish occurrences. |
| `variants` | array | No | Up to 50 content variants used in rotation. |
| `photo_url` | string | No | Image URL attached to every occurrence. |
| `platforms` | array | Yes | Networks on which each occurrence should be published. |
| `video_url` | string | No | Video URL attached to every occurrence. |
| `guard_days` | integer | No | Skip a network when the same text was published within this many days; zero disables the guard. |
| `per_platform` | object | No | Per-network content overrides. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Scheduled Post

**Slug:** `POSTWIRE_CREATE_SCHEDULED_POST`

Queue content for a future timestamp or the brand's next available slot. The response distinguishes a normal queue item from queue-cap holding and human approval holding; neither held state means the post was published.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `text` | string | No | Caption or post body. |
| `label` | string | No | Caller-visible label for the queued item, up to 120 characters. |
| `run_at` | string | Yes | ISO 8601 timestamp in the future, up to 365 days ahead, or 'next_slot' to use the brand's next free queue slot. |
| `brand_id` | string | No | Brand ID whose connected accounts should publish the post. |
| `timezone` | string | No | IANA timezone used only with run_at='next_slot' when the brand has no saved timezone; defaults to UTC and is not stored with the post. |
| `platforms` | array | Yes | Connected platforms that should receive the scheduled post. |
| `video_url` | string | No | Public HTTPS video URL for video destinations. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Webhook

**Slug:** `POSTWIRE_CREATE_WEBHOOK`

Register a public HTTPS callback endpoint. The response contains its signing secret exactly once; save it immediately because PostWire never returns it again.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes | Public HTTPS callback URL. PostWire verifies public reachability and does not follow redirects when delivering events. |
| `events` | array | No | Events to deliver. Omit to receive post.published, post.failed, post.not_public, and connection.reauth_required. Approval events are opt-in. |
| `description` | string | No | Optional endpoint description, up to 200 characters. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create X Credits Checkout

**Slug:** `POSTWIRE_CREATE_X_CREDITS_CHECKOUT`

Create and return a hosted checkout URL for one-time X credit top-up. This action only returns a URL for a person to open; it does not purchase credits or charge a payment method automatically.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `pack` | string ("5" | "20") | Yes | Top-up pack price in USD: 5 buys 80 credits; 20 buys 340 credits. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Bio Page

**Slug:** `POSTWIRE_DELETE_BIO_PAGE`

Permanently remove a brand's link-in-bio page, its view and click history, and release the public slug for reuse.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `brand_id` | string | No | Brand ID. Omit to use the account's first brand. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Brand

**Slug:** `POSTWIRE_DELETE_BRAND`

Delete a brand, disconnect its networks, disable its client links, and drop its scheduled posts, or preview those effects with dry_run='1'.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `confirm` | string | No | Set to '1' to confirm turning off active client links with the brand. |
| `dry_run` | string | No | Set to '1' to report what would be deleted without deleting anything. |
| `brand_id` | string | Yes | PostWire brand ID to delete. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Feed

**Slug:** `POSTWIRE_DELETE_FEED`

Remove a feed automation; posts it already queued remain queued.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | Feed ID to remove. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Recurring Post

**Slug:** `POSTWIRE_DELETE_RECURRING_POST`

Delete a recurring post and normally cancel its waiting occurrences.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | Recurring-post ID to delete. |
| `keep_queued` | string | No | Set to '1' to leave already queued occurrences in the queue. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Scheduled Post

**Slug:** `POSTWIRE_DELETE_SCHEDULED_POST`

Cancel and remove a queued or held post before it begins publishing.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `schedule_id` | string | Yes | Queued or held scheduled-post ID to cancel. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Webhook

**Slug:** `POSTWIRE_DELETE_WEBHOOK`

Delete a webhook endpoint and permanently drop all of its pending deliveries.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `webhook_id` | string | Yes | UUID of the webhook endpoint to delete. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Disconnect Platform

**Slug:** `POSTWIRE_DISCONNECT_PLATFORM`

Disconnect one publishing network from one PostWire brand.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `brand_id` | string | No | Brand containing the connection when this platform is connected more than once. |
| `platform` | string ("tiktok" | "instagram" | "youtube" | "linkedin" | "facebook" | "bluesky" | "mastodon" | "telegram" | "discord" | "wordpress" | "devto" | "hashnode" | "slack" | "nostr" | "x") | Yes | Publishing platform to disconnect. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Discover Feed

**Slug:** `POSTWIRE_DISCOVER_FEED`

Find the feed behind a website or inspect a Google Sheet without saving it.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes | Website, blog, YouTube channel, feed, or Google Sheets URL to inspect. |
| `brand_id` | string | No | Brand used to resolve sheet defaults and plan placement. |
| `timezone` | string | No | Timezone for sheet row times that omit one. |
| `platforms` | array | No | Default networks for sheet rows whose networks cell is empty. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Export Activity CSV

**Slug:** `POSTWIRE_EXPORT_ACTIVITY_CSV`

Export up to 5,000 account activity rows as a CSV file using the same time, action, actor, brand, and key filters as the activity log.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `actor` | string ("dashboard" | "api" | "agents" | "automations" | "approver" | "scheduler" | "system") | No | Export activity from only this actor kind. |
| `since` | string | No | Export activity at or after this ISO 8601 timestamp. |
| `until` | string | No | Export activity at or before this ISO 8601 timestamp. |
| `action` | string | No | Exact action, a prefix ending in a dot such as post., or x for rows that used X credits. |
| `key_id` | string | No | Export activity for only this API key or AI app UUID. |
| `brand_id` | string | No | Export activity for only this brand UUID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Finalize Media Upload

**Slug:** `POSTWIRE_FINALIZE_MEDIA_UPLOAD`

Confirm that an upload landed and obtain its publishable PostWire media URL.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `path` | string | Yes | Storage path returned by CREATE_MEDIA_UPLOAD_URL. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Generate Drafts

**Slug:** `POSTWIRE_GENERATE_DRAFTS`

Generate one platform-native draft per requested platform without publishing. Each call consumes PostWire AI draft quota and makes exactly one generation request, so callers should check usage first and must not retry blindly.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `prompt` | string | Yes | Idea and writing instructions to turn into drafts, up to 4,000 characters. |
| `media_url` | string | No | Optional public media URL whose context should inform the drafts. |
| `platforms` | array | Yes | Supported PostWire platforms for which to generate native drafts. |
| `brand_voice` | string | No | Optional tone and style guidance, up to 1,500 characters. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Account

**Slug:** `POSTWIRE_GET_ACCOUNT`

Return the connected PostWire account, workspace role, plan limits, and connection summary without signed purchase or upgrade links.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get AI Credits

**Slug:** `POSTWIRE_GET_AI_CREDITS`

Return the monthly AI draft budget, purchased credits, available packs, and history. Any checkout links in the response are human URLs only and do not purchase credits automatically.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Approval

**Slug:** `POSTWIRE_GET_APPROVAL`

Return one post approval and its preview. API keys can read but cannot decide approvals.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `approval_id` | string | Yes | UUID of the approval to retrieve. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Approval Settings

**Slug:** `POSTWIRE_GET_APPROVAL_SETTINGS`

Return each brand's approval policy and the current plan's governance features. API keys can read but cannot edit these settings.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Billing

**Slug:** `POSTWIRE_GET_BILLING`

Read the connected PostWire workspace's plan price, subscription state, and provider billing-management, upgrade, and refund information.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Bio Page

**Slug:** `POSTWIRE_GET_BIO_PAGE`

Read a brand's link-in-bio page and human-only view and click totals, or check whether a requested public slug is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `check` | string | No | Link-in-bio slug to check for availability instead of reading a page. |
| `brand_id` | string | No | Brand ID. Omit to use the account's first brand. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Brand

**Slug:** `POSTWIRE_GET_BRAND`

Get one PostWire brand and the publishing accounts grouped under it.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `brand_id` | string | Yes | PostWire brand ID to retrieve. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Brand Schedule Slots

**Slug:** `POSTWIRE_GET_BRAND_SCHEDULE_SLOTS`

Get a brand's weekly queue slots and timezone by network.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | Brand ID whose weekly queue slots to return. |
| `timezone` | string | No | IANA timezone to show when the brand has no saved timezone. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Bulk Template

**Slug:** `POSTWIRE_GET_BULK_TEMPLATE`

Download PostWire's CSV template with every bulk scheduling column and example rows.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Coach

**Slug:** `POSTWIRE_GET_COACH`

Return deterministic coaching from the account's own results: weekly goal progress, streak, recent change, best post, milestones, and one next action. Networks without shared metrics are reported with a reason, not as zero.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `tz` | string | No | IANA timezone for week, day, and streak calculations. Defaults to UTC. |
| `brand_id` | string | No | Limit coaching results to one brand's posts and networks. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Connection Health

**Slug:** `POSTWIRE_GET_CONNECTION_HEALTH`

Ask a connected network whether its stored login still works. A null health result means that network does not provide a check.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `brand_id` | string | No | Brand containing the connection when this platform is connected more than once. |
| `platform` | string ("tiktok" | "instagram" | "youtube" | "linkedin" | "facebook" | "bluesky" | "mastodon" | "telegram" | "discord" | "wordpress" | "devto" | "hashnode" | "slack" | "nostr" | "x") | Yes | Connected platform to check. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Insights

**Slug:** `POSTWIRE_GET_INSIGHTS`

Rank posts from the last 90 days against each social account's own median. Free plans receive the three best posts and locked pattern previews; paid plans can receive full rankings and patterns.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `tz` | string | No | IANA timezone for day and time patterns. Defaults to UTC. |
| `brand_id` | string | No | Limit insights to one brand ID. |
| `platform` | string | No | Limit insights to one publishing platform. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Next Schedule Slot

**Slug:** `POSTWIRE_GET_NEXT_SCHEDULE_SLOT`

Preview the next free queue slot shared by selected platforms without creating a scheduled post. A returned slot does not prove the platforms are connected or schedulable.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `brand_id` | string | No | Brand whose slot rules and occupied queue should be checked. |
| `timezone` | string | No | IANA timezone used when the brand has no saved timezone. |
| `platforms` | array | Yes | Platforms that must share the returned schedule slot. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Plan

**Slug:** `POSTWIRE_GET_PLAN`

Return the connected PostWire workspace's current plan, included features, limits, current usage, grandfathering, and next-plan information.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Post Status

**Slug:** `POSTWIRE_GET_POST_STATUS`

Check a PostWire or network post ID for pending approval, scheduling, processing, rejection, completion, and per-platform results.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `post_id` | string | Yes | PostWire post ID, schedule ID, or provider post ID returned by a publish or schedule result. |
| `platform` | string ("tiktok" | "instagram" | "youtube" | "linkedin" | "facebook" | "bluesky" | "mastodon" | "telegram" | "discord" | "wordpress" | "devto" | "hashnode" | "slack" | "nostr" | "x") | No | Platform for a provider-native post ID. Omit when post_id is PostWire's waiting or scheduled ID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Recurring Post

**Slug:** `POSTWIRE_GET_RECURRING_POST`

Get one recurring post with upcoming occurrences and history.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | Recurring-post ID to retrieve. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Scheduled Post

**Slug:** `POSTWIRE_GET_SCHEDULED_POST`

Return one queued, held, publishing, or completed scheduled post with each platform's latest result and upload progress when present.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `schedule_id` | string | Yes | Scheduled-post ID returned by create, list, publish deferral, or asynchronous upload. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Service Status

**Slug:** `POSTWIRE_GET_SERVICE_STATUS`

Return PostWire's public service components and 30-day delivery success status by publishing network.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Team

**Slug:** `POSTWIRE_GET_TEAM`

Return the current PostWire workspace, caller permissions, seat usage, roles, members, visible open invitations, and brands.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get TikTok Creator Info

**Slug:** `POSTWIRE_GET_TIKTOK_CREATOR_INFO`

Get TikTok's current creator identity, allowed privacy levels, interaction settings, and maximum video duration for a connected account.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `brand_id` | string | No | Brand containing the TikTok connection when TikTok is connected more than once. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Trial

**Slug:** `POSTWIRE_GET_TRIAL`

Inspect the connected free account's no-card Pro trial eligibility, current or completed trial, usage facts, retained data, and end-of-trial effects.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Usage

**Slug:** `POSTWIRE_GET_USAGE`

Return current post, AI draft, brand, network, and scheduled-queue usage against the connected PostWire account's plan limits.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get X Credits

**Slug:** `POSTWIRE_GET_X_CREDITS`

Return X availability, credit pricing, current balance, daily usage, packs, and history. Any checkout links in the response are human URLs only and do not purchase credits automatically.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get X Credit Quote

**Slug:** `POSTWIRE_GET_X_CREDIT_QUOTE`

Quote the X credits needed for one post, thread, and optional reply without publishing it.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `text` | string | No | Main X post text; links, including bare domains, affect the quote. |
| `reply` | string | No | Reply posted under the main post or final thread post. |
| `video` | boolean | No | Whether one video is attached on its own. |
| `images` | integer | No | Number of attached images, from 0 through 4. |
| `thread` | array | No | Thread posts after the main text, in order; at most 25. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Activity

**Slug:** `POSTWIRE_LIST_ACTIVITY`

List account activity with actor, action, brand, network, and X-credit filters and cursor-like before_id paging.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `actor` | string ("dashboard" | "api" | "agents" | "automations" | "approver" | "scheduler" | "system") | No | Return activity from only this actor kind. |
| `limit` | integer | No | Maximum rows to return; default 100. |
| `since` | string | No | Return activity at or after this ISO 8601 timestamp. |
| `until` | string | No | Return activity at or before this ISO 8601 timestamp. |
| `action` | string | No | Exact action, a prefix ending in a dot such as post., or x for rows that used X credits. |
| `key_id` | string | No | Return activity for only this API key or AI app UUID. |
| `brand_id` | string | No | Return activity for only this brand UUID. |
| `before_id` | integer | No | Return rows older than this activity row ID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List API Keys

**Slug:** `POSTWIRE_LIST_API_KEYS`

List the connected PostWire workspace's API keys using non-secret prefixes. The provider never returns existing key secrets.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Approvals

**Slug:** `POSTWIRE_LIST_APPROVALS`

List waiting and decided post approvals with reasons, previews, and decision state. API keys can read but cannot decide approvals.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | Maximum approvals to return; default 50. |
| `before` | string | No | Return approvals created before this ISO 8601 timestamp for paging. |
| `status` | string ("pending" | "approved" | "rejected" | "canceled") | No | Return only approvals with this lifecycle status. |
| `brand_id` | string | No | Return approvals for only this brand UUID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Brands

**Slug:** `POSTWIRE_LIST_BRANDS`

List brands and the publishing accounts grouped under each brand, including brand IDs usable by publish and schedule actions.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Connections

**Slug:** `POSTWIRE_LIST_CONNECTIONS`

List connected publishing accounts with their platform, brand, label, network identity, and outstanding requirements.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Feeds

**Slug:** `POSTWIRE_LIST_FEEDS`

List RSS feeds and Google Sheets automations with polling status and plan limits.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Feed Items

**Slug:** `POSTWIRE_LIST_FEED_ITEMS`

List what happened to recently observed items from a feed.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | Feed ID whose item outcomes to list. |
| `limit` | integer | No | Maximum number of item outcomes to return. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Guardrails

**Slug:** `POSTWIRE_LIST_GUARDRAILS`

List per-API-key and connected-app publishing limits with this month's usage. API keys can read but cannot edit guardrails.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Plans

**Slug:** `POSTWIRE_LIST_PLANS`

List PostWire plans and compare their prices, brand allowances, monthly posts, daily AI drafts, networks per post, and scheduled-post capacity.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Platforms

**Slug:** `POSTWIRE_LIST_PLATFORMS`

List PostWire's supported social and publishing platforms with availability, connection requirements, and media capabilities.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Recurring Posts

**Slug:** `POSTWIRE_LIST_RECURRING_POSTS`

List recurring posts with their status, rule, and upcoming occurrences.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Scheduled Posts

**Slug:** `POSTWIRE_LIST_SCHEDULED_POSTS`

List queued and held posts, optionally limited to a due-time range.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `to_time` | string | No | Return posts due at or before this ISO 8601 timestamp. |
| `from_time` | string | No | Return posts due at or after this ISO 8601 timestamp. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Webhooks

**Slug:** `POSTWIRE_LIST_WEBHOOKS`

List registered webhook endpoints, supported event types, defaults, and the current plan limit. Signing secrets are never returned by this action.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Webhook Deliveries

**Slug:** `POSTWIRE_LIST_WEBHOOK_DELIVERIES`

Return up to 100 recent deliveries for one webhook endpoint.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | Maximum recent deliveries to return, from 1 to 100. Defaults to 50. |
| `webhook_id` | string | Yes | UUID of the webhook endpoint whose delivery log should be returned. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Workspaces

**Slug:** `POSTWIRE_LIST_WORKSPACES`

List workspaces the connected member belongs to with role, plan, ownership, member count, and read-only state. An API key remains bound to its workspace and cannot switch to another listed workspace.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Move Connection

**Slug:** `POSTWIRE_MOVE_CONNECTION`

Preview or move a connected account to another brand without changing its network login or token.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `confirm` | boolean | No | True performs the move; otherwise PostWire returns a preview without changing it. |
| `platform` | string ("tiktok" | "instagram" | "youtube" | "linkedin" | "facebook" | "bluesky" | "mastodon" | "telegram" | "discord" | "wordpress" | "devto" | "hashnode" | "slack" | "nostr" | "x") | Yes | Connected publishing platform to move. |
| `to_brand_id` | string | Yes | Destination PostWire brand ID. |
| `from_brand_id` | string | No | Source brand ID, required only when the platform is connected in multiple brands. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Preview Feed

**Slug:** `POSTWIRE_PREVIEW_FEED`

Read a feed and preview its newest items and rendered network posts without saving it.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes | RSS or Atom URL to preview. |
| `template` | string | No | Post template using title, link, and summary placeholders. |
| `platforms` | array | No | Networks for which to render post previews. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Preview Recurring Post

**Slug:** `POSTWIRE_PREVIEW_RECURRING_POST`

Preview upcoming recurrence times and variants without saving anything.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `rule` | object | No | Recurrence rule to preview. |
| `limit` | integer | No | Maximum number of future occurrences to return. |
| `brand_id` | string | No | Brand used to resolve defaults. |
| `variants` | array | No | Text variants used in rotation. |
| `guard_days` | integer | No | Duplicate guard duration to evaluate. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Publish Post

**Slug:** `POSTWIRE_PUBLISH_POST`

Publish or cross-post content to one or more connected platforms. This action always requests publication; use Create Post Draft to save or deliver a draft. Inspect every result because acceptance can include failed, held, deferred, processing, or approval-pending platforms.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `text` | string | No | Default caption, post body, or article content unless overridden. |
| `media` | array | No | Ordered media items, up to 35. |
| `title` | string | No | Default title for video and article platforms. |
| `options` | object | No | Platform-keyed privacy, format, disclosure, comment, and article options. |
| `privacy` | string ("private" | "public" | "unlisted") | No | Default privacy for platforms that support private or unlisted posts. |
| `brand_id` | string | No | Brand whose connected accounts publish. Required when one platform is connected under multiple brands. |
| `photo_url` | string | No | Public HTTPS URL of one image. |
| `platforms` | array | Yes | Connected platforms to publish to in parallel. Use List Connections and List Platforms to select valid names. |
| `video_url` | string | No | Public HTTPS video URL for destinations that need video. |
| `photo_urls` | array | No | Public HTTPS image URLs; shorthand for an ordered image-only media list. |
| `per_platform` | object | No | Platform-keyed content, media, thread, and first-comment overrides. |
| `idempotency_key` | string | No | Caller-generated key reused on retries to prevent duplicate publication within 24 hours. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Replicate Insight

**Slug:** `POSTWIRE_REPLICATE_INSIGHT`

Create new platform drafts modelled on the structure, opening, length, format, and tone of a top post without reusing its sentences or publishing. This paid-plan action consumes daily AI quota.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `topic` | string | No | New topic or angle for the adapted drafts. |
| `post_id` | string | Yes | ID of a top post returned by GET_INSIGHTS to model. |
| `platforms` | array | No | Networks for which to create adapted drafts. |
| `brand_voice` | string | No | Tone and style guidance for the adapted drafts. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Revoke API Key

**Slug:** `POSTWIRE_REVOKE_API_KEY`

Immediately revoke a PostWire API key by its record ID. Calls made with that key stop authenticating after revocation.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `api_key_id` | string | Yes | ID of the API key to revoke immediately. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Score Post Hook

**Slug:** `POSTWIRE_SCORE_POST_HOOK`

Score a post's first line from 0 to 100 per network using deterministic rules for opening type, fold, links, hashtags, capitals, and network limits.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `text` | string | No | Default post text whose first line should be scored. |
| `drafts` | object | No | Network-specific post text keyed by platform when it differs from text. |
| `platforms` | array | No | Networks on which to score the opening. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Set Coach Goal

**Slug:** `POSTWIRE_SET_COACH_GOAL`

Set the outcome and optional weekly posting target that drive PostWire's coaching ideas and progress measurement.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `goal` | string ("grow_audience" | "get_clients" | "sell_product" | "personal_brand") | Yes | Coaching outcome: grow an audience, get clients, sell a product, or build a personal brand. |
| `cadence` | integer ("3" | "5" | "7" | "10") | No | Weekly post target: 3, 5, 7, or 10. Cross-posting one idea counts once. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Start Trial

**Slug:** `POSTWIRE_START_TRIAL`

Start the one-time seven-day no-card Pro trial for an eligible free PostWire account. This changes account limits immediately and does not add a card.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `source` | string | No | Where the trial-start prompt appeared. Use 'bizcard' only for the provider's approvals-and-team prompt. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Test Webhook

**Slug:** `POSTWIRE_TEST_WEBHOOK`

Immediately send a signed webhook.test event to a registered callback and report the callback's response. This performs an external delivery.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `webhook_id` | string | Yes | UUID of the webhook endpoint that should receive the signed test event. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Undo Bulk Upload

**Slug:** `POSTWIRE_UNDO_BULK_UPLOAD`

Cancel every unpublished post from a bulk upload and withdraw pending approvals.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | Batch ID of the bulk upload to undo. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Bio Page

**Slug:** `POSTWIRE_UPDATE_BIO_PAGE`

Create or replace a brand's link-in-bio page. Changes become public within about one minute; hiding the PostWire badge is restricted to paid plans.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `bio` | string | No | Biography text, up to 280 characters. |
| `slug` | string | Yes | Public postwire.io/@ slug: 3-30 lowercase letters, digits, or hyphens; it must start and end with a letter or digit and cannot be reserved. |
| `links` | array | No | Up to 10 labeled HTTP or HTTPS links. |
| `title` | string | No | Displayed name, up to 60 characters; empty uses the brand name. |
| `brand_id` | string | No | Brand ID. Omit to use the account's first brand. |
| `hide_badge` | boolean | No | Request removal of the Made with PostWire badge. Paid plans only; on Free, PostWire keeps the badge visible and explains this in note. |
| `show_socials` | boolean | No | Display the brand's connected profiles as social icons. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Brand

**Slug:** `POSTWIRE_UPDATE_BRAND`

Rename an existing PostWire brand.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | New human-readable brand name. |
| `brand_id` | string | Yes | PostWire brand ID to rename. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Brand Schedule Slots

**Slug:** `POSTWIRE_UPDATE_BRAND_SCHEDULE_SLOTS`

Replace selected network queue slots and the timezone for a brand.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | Brand ID whose weekly queue slots to update. |
| `slots` | object | No | Network schedules to replace; omitted networks remain unchanged. |
| `timezone` | string | No | IANA timezone; null clears the saved timezone. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Feed

**Slug:** `POSTWIRE_UPDATE_FEED`

Change, pause, or enable an RSS feed automation.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | Feed ID to update. |
| `url` | string | No | Replacement RSS or Atom URL. |
| `mode` | string ("auto" | "approval") | No | Replacement automatic or approval mode. |
| `enabled` | boolean | No | Pause or enable polling. |
| `post_at` | string ("now" | "next_slot") | No | Replacement publication timing. |
| `brand_id` | string | No | Replacement brand ID. |
| `template` | string | No | Replacement post template. |
| `max_items` | integer | No | Replacement maximum items per read. |
| `platforms` | array | No | Replacement publishing networks. |
| `ai_rewrite` | boolean | No | Whether to rewrite posts with AI. |
| `post_latest` | boolean | No | Whether a changed URL should also post its newest item. |
| `include_image` | boolean | No | Whether to include item images. |
| `interval_minutes` | integer | No | Replacement polling interval in minutes. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Insights Settings

**Slug:** `POSTWIRE_UPDATE_INSIGHTS_SETTINGS`

Enable or disable paid-plan click tracking for HTTPS links published to Bluesky, Mastodon, LinkedIn, Facebook, Telegram, Discord, and YouTube.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `track_links` | boolean | Yes | Enable or disable rewriting supported-network HTTPS links through PostWire tracked redirects. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Recurring Post

**Slug:** `POSTWIRE_UPDATE_RECURRING_POST`

Edit a recurring post and its waiting occurrences, or pause or resume it.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | Recurring-post ID to update. |
| `rule` | object | No | Replacement recurrence rule. |
| `text` | string | No | Replacement repeated post text. |
| `label` | string | No | Replacement recurring-post label. |
| `media` | array | No | Replacement media objects. |
| `title` | string | No | Replacement title. |
| `status` | string ("active" | "paused") | No | Pause or resume the recurring post. |
| `options` | object | No | Replacement publishing options. |
| `brand_id` | string | No | Replacement brand ID. |
| `variants` | array | No | Replacement content variants. |
| `photo_url` | string | No | Replacement image URL. |
| `platforms` | array | No | Replacement publishing networks. |
| `video_url` | string | No | Replacement video URL. |
| `guard_days` | integer | No | Replacement duplicate guard duration. |
| `per_platform` | object | No | Replacement per-network overrides. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Scheduled Post

**Slug:** `POSTWIRE_UPDATE_SCHEDULED_POST`

Move a queued post, change its label, or replace its payload before processing starts. Payload updates preserve the existing publish-or-draft mode and cannot convert between modes. An empty update is accepted by PostWire.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `label` | string | No | Replacement label, up to 120 characters. |
| `run_at` | string | No | Replacement future publication time in ISO 8601 format, no more than 365 days ahead. |
| `payload` | object | No | Replacement post content and publishing settings. May include text, per-platform overrides, ordered media items, and platform-specific publishing options. |
| `schedule_id` | string | Yes | Queued or held scheduled-post ID to update. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
