Hanzo
OpenapiKnowledge

StartConnectorOAuth returns the provider authorize URL the console opens to…

StartConnectorOAuth returns the provider authorize URL the console opens to connect this org's account.

GET /v1/knowledge/connectors/{provider}/connect

Addresshttps://api.hanzo.ai/v1/knowledge/connectors/{provider}/connect
MethodGET
Operationget_knowledge_connectors_by_provider_connect
AuthAuthorization: Bearer $HANZO_API_KEY

StartConnectorOAuth returns the provider authorize URL the console opens to connect this org's account. There is no server-side redirect — the console stays in control of the navigation. The URL carries a state this server SIGNED over the caller's validated org, so the connection the callback completes can only ever land in that org.

Request

1 field.

FieldInTypeRequiredDescription
providerpathstringyesProvider is the connector to act on: github, slack, google or notion.

Response

StatusBodyMeaning
200kbAuthorizeOutok

200 body — 1 field.

FieldInTypeAlwaysDescription
authorizeUrlbodystringAuthorizeURL is the provider's authorize endpoint with an org-bound signed state.

Failure carries the platform error shape — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


Knowledge API · All Hanzo APIs · Interactive reference

How is this guide?

On this page