Hanzo
OpenapiIntegrations

Install the Hanzo app into a Slack workspace

The address behind Slack's "Add to Slack" and Marketplace Install buttons.

GET /v1/integrations/slack/install

Addresshttps://api.hanzo.ai/v1/integrations/slack/install
MethodGET
Operationget_integrations_slack_install
AuthAuthorization: Bearer $HANZO_API_KEY

The address behind Slack's "Add to Slack" and Marketplace Install buttons. It answers a 302 to Slack's own consent screen and does nothing else — it is a redirector by design.

It exists because Slack refuses a slack.com URL in that field and requires one of ours that redirects there, which makes the field an ATTRIBUTION hook: routing the click through our own address is what lets an install be counted, and always answering the redirect is what keeps the counter from becoming a detour that never reaches consent. The destination is the same consent URL every time, built from the same scopes the console's Connect button asks for, so a workspace is asked to grant one thing however the install began.

It is PUBLIC and carries no principal, because whoever clicks Install in Slack's directory has no Hanzo session yet. It binds no org either, and that is deliberate rather than missing: the org is resolved at the shared provider callback, from the signed state a console connect minted or from the workspace's existing connection. Minting an org for an anonymous click is the one thing that would break tenant isolation, so an install begun here finishes under exactly the rules every other install obeys.

Where the app is not configured it answers 503, rather than a consent URL carrying an empty client_id that Slack would render as its own dead-end error page.

Request

GET /v1/integrations/slack/install takes no parameters and no body — the credential is the whole request.

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo integrations slack install

Integrations API · All Hanzo APIs · Interactive reference

How is this guide?

On this page