Hanzo AI

Social

The `hanzo social` commands.

Also for this capability: API · CLI · MCP · SDKs

Posting to every social account you own, now or on a schedule.

API reference →

hanzo social posts list

Every command takes --json for the raw response and --help for its own flags. Sign in once with hanzo auth login; the commands below use that session, and the org they act in is the one it carries.

CommandWhat it does
hanzo social providersReports each supported network's publish-readiness: whether this deployment holds the OAuth application credentials for…
hanzo social summaryReturns four counts for the caller's org: total posts, how many are scheduled, how many have published, and how many…

accounts

CommandWhat it does
hanzo social accounts createRecords a social account for the org and answers 201 with the stored row, including the generated id later calls…
hanzo social accounts get <id>Returns one of the org's connected accounts by id — its network, handle, status and timestamps — or 404.
hanzo social accounts listReturns the org's connected accounts — each one's id, network, handle, status and timestamps, most-recently-updated…
hanzo social accounts rm <id>Removes one connected account from the org and answers 204 with no body; an id that is not there is 404.
hanzo social accounts set <id>Replaces the account's network, handle and status with what the body carries, and answers with the stored row.

posts

CommandWhat it does
hanzo social posts createStores a post for the org and answers 201 with the stored row.
hanzo social posts get <id>Returns one of the org's posts by id, with its current status, scheduled time, media and — once it has published — the…
hanzo social posts listReturns the org's posts — content, channel, status, scheduled time, media and timestamps — most-recently-updated first.
hanzo social posts publish <id>Publishes the post immediately to the connected accounts on its channel and answers with the updated row, carrying the…
hanzo social posts rm <id>Removes one post from the org and answers 204 with no body; an id that is not there is 404.
hanzo social posts set <id>Replaces the post's content, channel, status, scheduled time and media with what the body carries, and answers with the…

How is this guide?

On this page