List classes

Returns the caller org's share classes, in creation order.

GET /v1/captable/classes

Addresshttps://api.hanzo.ai/v1/captable/classes
MethodGET
Operationget_captable_classes
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the caller org's share classes, in creation order. A share class is what a certificate is issued in, and every class the company has authorized appears. The response is a bare JSON array, not an envelope.

Request

GET /v1/captable/classes takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200captable.captableShareClass[]ok
defaultproblem-detailsrefused

200 body — 14 fields.

FieldInTypeAlwaysDescription
[].classTypebodystring—ClassType is COMMON or PREFERRED.
[].companyNamebodystring—CompanyName is the name of the company whose cap table this is.
[].conversionRightsbodystring—ConversionRights describes what the class converts into, e.g. CONVERTS_TO_FUTURE_ROUND.
[].idbodystring—ID is the share class id.
[].idxbodyinteger (int64)—Idx is the class's 1-based position within the company, in creation order.
[].initialSharesAuthorizedbodyinteger (int64)—InitialSharesAuthorized is how many shares of this class are authorized.
[].liquidationPreferenceMultiplebodynumber (double)—LiquidationPreferenceMultiple is the preference multiple on liquidation.
[].namebodystring—Name is the class name, e.g. "Common" or "Series A Preferred".
[].parValuebodynumber (double)—ParValue is the par value per share.
[].participationCapMultiplebodynumber (double)—ParticipationCapMultiple caps participation on liquidation; 0 is uncapped.
[].prefixbodystring—Prefix is the certificate prefix, CS for common and PS for preferred.
[].pricePerSharebodynumber (double)—PricePerShare is the issue price per share.
[].senioritybodyinteger (int64)—Seniority orders classes in a liquidation waterfall; higher is more senior.
[].votesPerSharebodyinteger (int64)—VotesPerShare is how many votes one share of this class carries.

Failure carries the platform error shape — see Errors.

Examples

hanzo captable classes list
import { Configuration, CaptableApi } from 'hanzoai';

const api = new CaptableApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getCaptableClasses();
from hanzoai.cloud import ApiClient, Configuration
from hanzoai.cloud.api import CaptableApi

client = ApiClient(Configuration(access_token=os.environ["HANZO_API_KEY"]))
result = CaptableApi(client).get_captable_classes()
cfg := hanzoai.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := hanzoai.NewAPIClient(cfg)

resp, _, err := client.CaptableAPI.GetCaptableClasses(context.Background()).Execute()
if err != nil {
	return err
}
use hanzo_client::apis::{configuration::Configuration, captable_api};

let mut cfg = Configuration::new();
cfg.bearer_access_token = std::env::var("HANZO_API_KEY").ok();

let result = captable_api::get_captable_classes(&cfg, Default::default()).await?;
import ai.hanzo.cloud.ApiClient;
import ai.hanzo.cloud.api.CaptableApi;

ApiClient client = new ApiClient();
client.setBearerToken(System.getenv("HANZO_API_KEY"));

var result = new CaptableApi(client).getCaptableClasses();
curl https://api.hanzo.ai/v1/captable/classes \
  -H "Authorization: Bearer $HANZO_API_KEY"

MCP reaches captable through the captable tool, which names its 30 operations with its own verbs — this one among them, under a name only MCP declares. describe explains any of them:

curl -X POST https://api.hanzo.ai/v1/mcp \
  -H "Content-Type: application/json" \
  -d '{
       "jsonrpc": "2.0",
       "id": 1,
       "method": "tools/call",
       "params": {
         "name": "describe",
         "arguments": {
           "op": "list_captable_classes"
         }
       }
     }'

Captable API · All Hanzo APIs · Interactive reference

Was this page useful?