Hanzo
API Reference

Hanzo Integrations API

Generic, provider-agnostic OAuth connector plane for Hanzo Cloud — the

Generic, provider-agnostic OAuth connector plane for Hanzo Cloud — the

Hanzo Integrations API · All API references →

Base URLhttps://api.hanzo.ai
Version1.0.0
Operations10

Authentication

  • bearerAuth — HTTP bearer

All Hanzo APIs share one bearer credential and common error and pagination conventions. See API conventions.

curl -H "Authorization: Bearer $HANZO_API_KEY" https://api.hanzo.ai

Endpoints

OAuth

MethodEndpointDescription
POST/v1/integrations/{provider}/connectBegin an OAuth flow (returns the provider authorize URL)
GET/v1/integrations/{provider}/callbackOAuth return — seal tokens and redirect to console
POST/v1/integrations/{provider}/disconnectRevoke and forget an org's connection (idempotent)

Providers

MethodEndpointDescription
GET/v1/integrationsList providers with this org's connection status
GET/v1/integrations/{provider}Get one provider with this org's connection status

Slack

MethodEndpointDescription
POST/v1/integrations/slack/eventsSlack Events API webhook
POST/v1/integrations/slack/commandsSlack slash command webhook
GET/v1/integrations/slack/linkBegin the per-user account link (leg 1 — Slack sign-in)
GET/v1/integrations/slack/link/slackSlack sign-in callback (leg 2)
GET/v1/integrations/slack/link/callbackhanzo.id OIDC callback — bind Slack↔Hanzo (leg 3)

All Hanzo APIs · OpenAPI spec

How is this guide?

On this page