Hanzo
OpenapiCaptable

Define a share class

Creates a class of stock — its authorized share count, votes per share, par and issue price, seniority, conversion rights and liquidation/participation…

POST /v1/captable/classes

Addresshttps://api.hanzo.ai/v1/captable/classes
MethodPOST
Operationpost_captable_classes
AuthAuthorization: Bearer $HANZO_API_KEY

Creates a class of stock — its authorized share count, votes per share, par and issue price, seniority, conversion rights and liquidation/participation multiples — which is what shares, priced rounds and equity plans are then issued against.

Two fields are the company's to assign, not the caller's: the class index auto-increments per company, and the certificate prefix is DERIVED from the class type (CS for COMMON, PS for anything else), so a prefix in the body is ignored.

Writes the caller's OWN cap table: the org resolved from the validated principal selects the tenant's store and scopes every row, so there is no field by which a caller can write into another company's table; a request with no validated org is refused. The whole write runs in one transaction, so a refusal leaves nothing behind. Validation is the cap-table bundle's and so is its refusal: a bad body comes back as {success:false, message, errors:[…]} with the failing fields listed, and numeric fields accept a number OR a numeric string. Bodies are capped at 1 MiB.

Request

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

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 captable classes create

Captable API · All Hanzo APIs · Interactive reference

How is this guide?

On this page