ap post
ap post [content] [options]Options
Section titled “Options”| Option | Description |
|---|---|
--media <path> | Attach an image or video |
--connection <id> | Target a specific connection |
--schedule <iso> | Schedule for a future time (ISO 8601) |
--now | Publish immediately (default) |
--dry-run | Preview without publishing |
--json | Output JSON result |
Examples
Section titled “Examples”# Post immediatelyap post "Just shipped v2.0!"
# Post with an imageap post "Check out our new feature" --media screenshot.png
# Schedule for laterap post "Coming soon" --schedule 2026-03-15T14:00:00Z
# Pipe content from stdinecho "Hello world" | ap post