OpenapiCompany
Records a fundraising round on the org's canonical cap table.
Records a fundraising round on the org's canonical cap table.
POST /v1/company/fundraise/round
| Address | https://api.hanzo.ai/v1/company/fundraise/round |
| Method | POST |
| Operation | post_company_fundraise_round |
| Auth | Authorization: Bearer $HANZO_API_KEY |
Records a fundraising round on the org's canonical cap table. Available only after incorporation (stage company); roundType defaults to PRICED.
Request
6 fields, body application/json (required).
| Field | In | Type | Required | Description |
|---|---|---|---|---|
name | body | string | — | Name is the round's name on the cap table, e.g. |
preMoneyValuation | body | number | — | PreMoneyValuation is the valuation the round prices off, before the new money. |
pricePerShare | body | number | — | PricePerShare is the per-share price of a priced round. |
roundType | body | string | — | RoundType is PRICED, SAFE or CONVERTIBLE_NOTE. |
shareClassId | body | string | — | ShareClassID is the cap table's share class the round issues into. |
targetAmount | body | number | — | TargetAmount is the amount the round is raising, recorded verbatim on the canonical cap table's rounds.create contract. |
Response
| Status | Body | Meaning |
|---|---|---|
201 | roundOut | created |
201 body — 1 field.
| Field | In | Type | Always | Description |
|---|---|---|---|---|
roundId | body | string | — | RoundID is the cap table's id for the recorded round. |
Failure carries the platform error shape — see Errors.
Examples
hanzo company fundraise roundimport { Configuration, CompanyApi } from 'hanzoai';
const api = new CompanyApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.postCompanyFundraiseRound({ name: "<name>", preMoneyValuation: 0 });from hanzoai.cloud import ApiClient, Configuration
from hanzoai.cloud.api import CompanyApi
client = ApiClient(Configuration(access_token=os.environ["HANZO_API_KEY"]))
result = CompanyApi(client).post_company_fundraise_round(name="<name>", pre_money_valuation=0)cfg := cloud.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := cloud.NewAPIClient(cfg)
resp, _, err := client.CompanyAPI.PostCompanyFundraiseRound(context.Background()).Execute()
if err != nil {
return err
}use hanzo_cloud::apis::{configuration::Configuration, company_api};
let mut cfg = Configuration::new();
cfg.bearer_access_token = std::env::var("HANZO_API_KEY").ok();
let result = company_api::post_company_fundraise_round(&cfg, Default::default()).await?;import ai.hanzo.cloud.ApiClient;
import ai.hanzo.cloud.api.CompanyApi;
ApiClient client = new ApiClient();
client.setRequestInterceptor(b -> b.header("Authorization", "Bearer " + System.getenv("HANZO_API_KEY")));
var result = new CompanyApi(client).postCompanyFundraiseRound();curl -X POST https://api.hanzo.ai/v1/company/fundraise/round \
-H "Authorization: Bearer $HANZO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "<name>",
"preMoneyValuation": 0
}'The door reaches company through the company tool, which names its 22 operations with its own verbs — this one among them, under a name only the door 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": "get_company"
}
}
}'How is this guide?