Hanzo AI

Connect user

Begins connecting the caller's own GitHub account: it answers the App's authorization page, carrying a state signed for this org and this person.

POST /v1/provider/github/user/connect

Addresshttps://api.hanzo.ai/v1/provider/github/user/connect
MethodPOST
Operationpost_provider_github_user_connect
AuthAuthorization: Bearer $HANZO_API_KEY

Begins connecting the caller's own GitHub account: it answers the App's authorization page, carrying a state signed for this org and this person. Every member may connect their own; it grants nothing the person does not already hold on GitHub.

Request

The document declares no body for POST /v1/provider/github/user/connect. The handler is typed in cloud but its shape is not yet emitted, so the fields are not listed here — ask MCP's describe for post_provider_github_user_connect, which answers from the running route.

Response

StatusBodyMeaning
200provider.githubUserConnectOutok
defaultproblem-detailsrefused

200 body — 1 field.

FieldInTypeAlwaysDescription
authorizeUrlbodystring—AuthorizeURL is GitHub's authorization page for the App.

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.


Provider API · All Hanzo APIs · Interactive reference

How is this guide?

On this page