TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/groniz/groniz-cli/llms.txt
Use this file to discover all available pages before exploring further.
groniz posts commands are the primary way to create and manage content across your connected social channels. This page covers creating immediate and scheduled posts, building thread chains, working with drafts, and resolving missing release IDs that block analytics.
Creating a post
Post immediately
Omit the-s flag to publish a post right away. Pass your content with -c and target one or more integrations with -i.
Schedule a post
Add the-s flag with an ISO 8601 datetime to schedule the post for a future time.
Post to multiple channels
Repeat the-i flag for each channel, or pass a comma-separated list of integration IDs in a single flag.
JSON mode
Pass--json to supply a full JSON payload for the post, which is required when attaching media or setting platform-specific fields beyond the basic flags.
JSON output
Allgroniz posts commands return JSON. A successful posts create response looks like this:
Pipe any command’s output to
jq for readable, filterable JSON: groniz posts create ... | jq '.'Schedule a post — step by step
Find your integration ID
Run
groniz integrations list and note the id of the channel you want to post to. See Integrations for details.Check the channel's settings
Run
groniz integrations settings <id> to confirm required fields and character limits for that platform before composing your content.Create the scheduled post
Pass your content, integration ID, and an ISO 8601 datetime to the
-s flag:Thread posts
To create a thread, repeat the-c flag for each post in the chain. Groniz publishes them in order as a connected thread on platforms that support it (e.g. X, Threads).
-c value becomes one node in the thread chain in the order you supply them.
Draft posts
Add--draft to save a post without publishing or validating it. Drafts are useful when you want to stage content and review it before committing.
Listing posts
groniz posts list returns a JSON array of your posts. Use it to audit scheduled content or find post IDs for downstream commands.
--from and --to flags, each accepting an ISO 8601 date:
Deleting a post
Delete a post by its ID. This action cannot be undone.Release IDs and analytics
Every published post should receive a release ID — the identifier that links your Groniz post record to the content as it exists on the platform. When a release ID is missing, analytics for that post are unavailable.Find available published content
If a post has no release ID, useposts missing to list content that the platform has available and that could be connected to it:
Connect a post to its release ID
Once you’ve identified the correct release ID from the output above, useposts connect with --post-id and --release-id to link the post:
See Analytics for details on which platforms support analytics and what metrics are available.