Hanzo
CLISocial

Social

13 `hanzo` commands for Social, each calling one operation on api.hanzo.ai.

Package social is posting to every social account you own, now or on a schedule.

13 commands · API reference →

CommandCallsWhat it does
hanzo social accounts get <id>GET /v1/social/accounts/{id}Returns one of the org's connected accounts by id — its network, handle, status and timestamps — or 404.
hanzo social accounts set <id>PUT /v1/social/accounts/{id}Replaces the account's network, handle and status with what the body carries, and answers with the stored row.
hanzo social accounts rm <id>DELETE /v1/social/accounts/{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 listGET /v1/social/accountsReturns the org's connected accounts — each one's id, network, handle, status and timestamps, most-recently-updated…
hanzo social accounts createPOST /v1/social/accountsRecords a social account for the org and answers 201 with the stored row, including the generated id later calls…
hanzo social posts publish <id>POST /v1/social/posts/{id}/publishPublishes the post immediately to the connected accounts on its channel and answers with the updated row, carrying the…
hanzo social posts get <id>GET /v1/social/posts/{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 set <id>PUT /v1/social/posts/{id}Replaces the post's content, channel, status, scheduled time and media with what the body carries, and answers with the…
hanzo social posts rm <id>DELETE /v1/social/posts/{id}Removes one post from the org and answers 204 with no body; an id that is not there is 404.
hanzo social posts listGET /v1/social/postsReturns the org's posts — content, channel, status, scheduled time, media and timestamps — most-recently-updated first.
hanzo social posts createPOST /v1/social/postsStores a post for the org and answers 201 with the stored row.
hanzo social providersGET /v1/social/providersReports each supported network's publish-readiness: whether this deployment holds the OAuth application credentials for…
hanzo social summaryGET /v1/social/summaryReturns four counts for the caller's org: total posts, how many are scheduled, how many have published, and how many…

How is this guide?