List company

Returns the caller org's cap-table company record.

GET /v1/captable/company

Addresshttps://api.hanzo.ai/v1/captable/company
MethodGET
Operationget_captable_company
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the caller org's cap-table company record. The row is seeded when the tenant's store first opens, so it always exists; its name and incorporation details are set with PUT /v1/captable/company.

Request

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

Response

StatusBodyMeaning
200captable.captableCompanyok
defaultproblem-detailsrefused

200 body — 8 fields.

FieldInTypeAlwaysDescription
createdAtbodyinteger (int64)—CreatedAt is when the company row was seeded, in unix milliseconds.
idbodystring—ID is the company id, which is the tenant's own org id.
incorporationCountrybodystring—IncorporationCountry is the ISO country the entity is incorporated in.
incorporationStatebodystring—IncorporationState is the state or province of incorporation.
incorporationTypebodystring—IncorporationType is the entity kind, e.g. LLC or C_CORP.
namebodystring—Name is the company's legal name.
publicIdbodystring—PublicID is the company's shareable public identifier.
updatedAtbodyinteger (int64)—UpdatedAt is when the company row last changed, in unix milliseconds.

Failure carries the platform error shape — see Errors.

Examples

hanzo captable company get
import { Configuration, CaptableApi } from 'hanzoai';

const api = new CaptableApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getCaptableCompany();
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_company()
cfg := hanzoai.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := hanzoai.NewAPIClient(cfg)

resp, _, err := client.CaptableAPI.GetCaptableCompany(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_company(&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).getCaptableCompany();
curl https://api.hanzo.ai/v1/captable/company \
  -H "Authorization: Bearer $HANZO_API_KEY"

Tool captable, op get_captable_company — POST the JSON-RPC envelope to https://api.hanzo.ai/v1/mcp.

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

Captable API · All Hanzo APIs · Interactive reference

Was this page useful?