Hanzo
API Reference

Hanzo Authors API

OSS-author royalty program (hanzoai/cloud clients/authors).

OSS-author royalty program (hanzoai/cloud clients/authors).

Hanzo Authors API · All API references →

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

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

Admin

MethodEndpointDescription
GET/v1/admin/authorsList all authors
POST/v1/admin/authors/sweepRun accrual sweep
POST/v1/admin/authors/{id}/approveApprove an author
POST/v1/admin/authors/{id}/suspendSuspend an author
POST/v1/admin/authors/{id}/payoutRecord a payout

Authors

MethodEndpointDescription
GET/v1/authorsGet my author program
POST/v1/authors/connectConnect GitHub
POST/v1/authors/repos/verifyVerify a repo

Deploys

MethodEndpointDescription
POST/v1/authors/deploys/recordRecord a deploy

All Hanzo APIs · OpenAPI spec

How is this guide?

On this page