Hanzo
CLIIntegrations

Integrations

40 `hanzo` commands for Integrations, each calling one operation on api.hanzo.ai.

Package integrations is how your org connects third-party accounts like Slack, and revokes them.

40 commands · API reference →

CommandCallsWhat it does
hanzo integrations callback <provider>GET /v1/integrations/{provider}/callbackOAuth return for any connector
hanzo integrations connect <provider>POST /v1/integrations/{provider}/connectAcquires the org's credential for one provider.
hanzo integrations disconnect <provider>POST /v1/integrations/{provider}/disconnectRevokes (best-effort) and forgets an org's connection: it deletes every custodied KMS secret and the connection row.
hanzo integrations verify <provider>POST /v1/integrations/{provider}/verifyRe-checks a CONNECTED apikey connector's stored credential against the provider, live (hanzo connector verify).
hanzo integrations get <provider>GET /v1/integrations/{provider}Returns ONE provider with this org's connection status — the same view list carries, for a single id.
hanzo integrations discord interactionsPOST /v1/integrations/discord/interactionsDiscord interactions endpoint
hanzo integrations discord link callbackGET /v1/integrations/discord/link/callbackComplete the Discord account link
hanzo integrations discord link discordGET /v1/integrations/discord/link/discordDiscord sign-in return leg
hanzo integrations discord link getGET /v1/integrations/discord/linkBegin linking a Hanzo account from Discord
hanzo integrations github claimPOST /v1/integrations/github/claimBinds installations the App ALREADY holds to the org the caller is acting in — the reconciliation for a grant that…
hanzo integrations github forkPOST /v1/integrations/github/forkForks a granted repository.
hanzo integrations github installationsGET /v1/integrations/github/installationsLists the GitHub accounts the caller may see the App installed on, each confirmed against the App's own list, plus…
hanzo integrations github issues backfillPOST /v1/integrations/github/issues/backfillSeeds the native todo with the EXISTING issues across the org's granted repos (default state=open); the webhook keeps…
hanzo integrations github repos pages builds <repo>POST /v1/integrations/github/repos/{repo}/pages/buildsRequests a Pages rebuild and returns the queued build's status.
hanzo integrations github repos pages get <repo>GET /v1/integrations/github/repos/{repo}/pagesReturns the repo's Pages status, live URL, custom domain and build source.
hanzo integrations github repos pages create <repo>POST /v1/integrations/github/repos/{repo}/pagesCreates the repo's Pages site and answers 201 Created with it.
hanzo integrations github repos pages replace <repo>PUT /v1/integrations/github/repos/{repo}/pagesSets or clears the custom domain (cname) and updates HTTPS enforcement, build type, or source.
hanzo integrations github repos pages clear <repo>DELETE /v1/integrations/github/repos/{repo}/pagesDeletes the repo's Pages site.
hanzo integrations github repos importPOST /v1/integrations/github/repos/importImports the selected (or all) granted repos into git.hanzo.ai.
hanzo integrations github repos listGET /v1/integrations/github/reposLists the org's granted GitHub repositories, each annotated with its native import + sync status from the git object…
hanzo integrations github searchPOST /v1/integrations/github/searchFinds repositories on GitHub.
hanzo integrations github webhookPOST /v1/integrations/github/webhookGitHub App webhook
hanzo integrations gitlab projectsGET /v1/integrations/gitlab/projectsLists the projects the org's GitLab connection can reach — membership projects, most recently active first.
hanzo integrations openrouter webhookPOST /v1/integrations/openrouter/webhookReceive OpenRouter Broadcast traces as usage rows
hanzo integrations slack commandsPOST /v1/integrations/slack/commandsSlack slash command webhook
hanzo integrations slack eventsPOST /v1/integrations/slack/eventsSlack Events API webhook
hanzo integrations slack installGET /v1/integrations/slack/installInstall the Hanzo app into a Slack workspace
hanzo integrations slack link callbackGET /v1/integrations/slack/link/callbackComplete the Slack account link
hanzo integrations slack link slackGET /v1/integrations/slack/link/slackSlack sign-in return leg
hanzo integrations slack link getGET /v1/integrations/slack/linkBegin linking a Hanzo account from Slack
hanzo integrations teams eventsPOST /v1/integrations/teams/eventsMicrosoft Teams Bot Framework webhook
hanzo integrations teams link aadGET /v1/integrations/teams/link/aadMicrosoft sign-in return leg
hanzo integrations teams link callbackGET /v1/integrations/teams/link/callbackComplete the Teams account link
hanzo integrations teams link getGET /v1/integrations/teams/linkBegin linking a Hanzo account from Teams
hanzo integrations telegram connectPOST /v1/integrations/telegram/connectMints a short, single-use deep-link code bound to the caller's org and returns the t.me link the console navigates to.
hanzo integrations telegram link authGET /v1/integrations/telegram/link/authTelegram Login Widget return leg
hanzo integrations telegram link callbackGET /v1/integrations/telegram/link/callbackComplete the Telegram account link
hanzo integrations telegram link getGET /v1/integrations/telegram/linkBegin linking a Hanzo account from Telegram
hanzo integrations telegram webhookPOST /v1/integrations/telegram/webhookTelegram Bot API webhook
hanzo integrations listGET /v1/integrationsReturns every registered integration provider together with THIS org's connection status for it — the catalog the…

How is this guide?