Authentication
Health
Upload
- calls Mallary to create a presigned upload URL
- uploads the local bytes for you
- returns the final Mallary media URL
media[].url for media, or as media[].thumbnail_url for video thumbnails in file-mode post payloads.
Posts
Comments
Jobs
platform_post_id and platform_post_url in JSON mode, and print Post ID / Post URL in normal output when available.
Analytics
--status, --media-type, --search, and --json. The JSON result includes each post’s platform metrics, total, and next_cursor.
Audience
Get the latest follower or subscriber count for every connected account in a profile:permission_required until Mallary adds the permission it needs.
Profiles
Webhooks
List:Settings
Platforms
platforms list includes each destination’s selectable post_types. Platforms whose format is chosen from the content and media report automatic selection.
Drafts
Requires CLI 0.2.18 or later. Saved drafts are available to all users. Draft saves use no posting allowance. They never publish or assign a date.409 means you must read again. Supplied lists and platform settings replace their saved values; omitted fields stay unchanged. Use --file changes.json with empty arrays to clear media, comments, or destinations.
Create and edit support --message, repeated --platform, --profile-id, repeated --media, --thumbnail, repeated --comment, --post-type, --auto-reply-enabled, or --file. File mode supports the draft API content fields. --expected-revision is required for edits and can be supplied with file mode. Local media files upload to Mallary before saving. A saved draft does not make uploaded media private.
Publish or Schedule
Only use these commands when the user asks to publish or schedule the saved post:submission. Do not create a new post as a retry.
Draft saves reject schedule fields, webhook URLs, and publishing idempotency keys. List and get use read scope. Save, edit, delete, and submit use publish scope. For reads, deletes, and submissions, --profile-id optionally verifies the source profile. For edits, it changes the saved profile. A draft uses one connection profile.
