@wirecat/hubspot-cli 0.1.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +41 -0
- package/README.md +40 -16
- package/contracts/wirecat.json +1516 -173
- package/dist/bin/hubspot.js +2 -2
- package/dist/bundle/agent-A7ARC3QB.js +40 -0
- package/dist/bundle/{all-profiles-64JAUYW4.js → all-profiles-6452VSJB.js} +64 -22
- package/dist/bundle/{anthropic-VJOS4OUM.js → anthropic-VQUOVYOW.js} +6 -6
- package/dist/bundle/{app-server-422MCA7S.js → app-server-FFYKM37G.js} +79 -68
- package/dist/bundle/{bun-M3J2QTR3.js → bun-AJPJ4ZUN.js} +2 -2
- package/dist/bundle/{bun-sqlite-IX3XYA5F.js → bun-sqlite-AGXGSF6D.js} +7 -7
- package/dist/bundle/{chunk-N2XADGL4.js → chunk-2A64XS22.js} +4 -4
- package/dist/bundle/{chunk-HTAN663T.js → chunk-2HYGCLKN.js} +93 -565
- package/dist/bundle/{chunk-FOZYMDRL.js → chunk-2NCO4E4T.js} +6 -6
- package/dist/bundle/{chunk-FBCCBCFH.js → chunk-2PRVWEJC.js} +3 -3
- package/dist/bundle/{chunk-LOBVOGOE.js → chunk-3DIXAEGH.js} +4 -4
- package/dist/bundle/{chunk-O3DYRCIT.js → chunk-3I2FGNWO.js} +1 -1
- package/dist/bundle/{chunk-65TWQ7BV.js → chunk-3PEKYGZ3.js} +2 -2
- package/dist/bundle/{chunk-DRWWJLI6.js → chunk-3R4KRNUZ.js} +8 -8
- package/dist/bundle/{chunk-2VGD63G6.js → chunk-3TEFE6YU.js} +7 -7
- package/dist/bundle/{chunk-BKXDHU3G.js → chunk-3WIVJJNB.js} +19 -17
- package/dist/bundle/{chunk-TI46WQXQ.js → chunk-4DNHXRCJ.js} +7 -7
- package/dist/bundle/{chunk-QU25DA5N.js → chunk-5AYKCKSE.js} +11 -11
- package/dist/bundle/chunk-5HD64ETI.js +561 -0
- package/dist/bundle/{chunk-CWXOXIWS.js → chunk-5K3FGXZH.js} +1 -1
- package/dist/bundle/{chunk-24ERVFJP.js → chunk-5YNAVVCW.js} +3 -3
- package/dist/bundle/chunk-77CUE3VX.js +46 -0
- package/dist/bundle/{chunk-36ITRDYY.js → chunk-7LQRXVQ3.js} +783 -482
- package/dist/bundle/{chunk-E5WLE7BM.js → chunk-7NZT7Y55.js} +1 -1
- package/dist/bundle/{chunk-C32AKHTY.js → chunk-7UEL65GQ.js} +35 -12
- package/dist/bundle/chunk-7VHBS5BJ.js +108 -0
- package/dist/bundle/{chunk-O55RWNSH.js → chunk-A6UFH3QU.js} +4 -4
- package/dist/bundle/{chunk-WE4UFASG.js → chunk-ABXVU5O4.js} +8 -1
- package/dist/bundle/{chunk-4W6BMH45.js → chunk-AF7DANIR.js} +2 -100
- package/dist/bundle/{chunk-LNV33FDC.js → chunk-AFL2C4JR.js} +60 -50
- package/dist/bundle/{chunk-2VGZRYEH.js → chunk-ARTJLL7W.js} +6 -6
- package/dist/bundle/chunk-AVUMH42T.js +194 -0
- package/dist/bundle/chunk-B2W3C4N6.js +338 -0
- package/dist/bundle/{chunk-FKA7DOCK.js → chunk-B3EH22CO.js} +1 -1
- package/dist/bundle/{chunk-E52JAS35.js → chunk-BAUK2MD5.js} +6 -6
- package/dist/bundle/{chunk-JLDBMEKZ.js → chunk-BN22EKQQ.js} +2 -2
- package/dist/bundle/{chunk-DB2XKHI4.js → chunk-BUGROVF3.js} +2 -2
- package/dist/bundle/{chunk-DSP36YHQ.js → chunk-CBCEMFCF.js} +2 -2
- package/dist/bundle/{chunk-WQBX7XYP.js → chunk-CYADK744.js} +1559 -1888
- package/dist/bundle/{chunk-HZRQLAHO.js → chunk-DQB5JMTY.js} +1 -1
- package/dist/bundle/{chunk-JRCPCVPI.js → chunk-DQP2GAAO.js} +75 -66
- package/dist/bundle/{chunk-FPUGMDJV.js → chunk-DSRXCLPO.js} +1 -1
- package/dist/bundle/{chunk-UUMUL4L3.js → chunk-DW23LM47.js} +2 -2
- package/dist/bundle/{chunk-TKVL2C3B.js → chunk-E4X7JAFC.js} +3 -3
- package/dist/bundle/{chunk-NUU4WZVL.js → chunk-EE4JSYGZ.js} +3 -3
- package/dist/bundle/{chunk-NWHEHV3K.js → chunk-EMOVVERN.js} +5 -5
- package/dist/bundle/{chunk-PVKF24ZW.js → chunk-FIVD4HM4.js} +8 -8
- package/dist/bundle/{chunk-QJW35N5V.js → chunk-GC6FLHZF.js} +12 -12
- package/dist/bundle/{chunk-TP7GDWVF.js → chunk-GRFICQTZ.js} +1 -1
- package/dist/bundle/{chunk-X2M6NIQG.js → chunk-HPZRUY6S.js} +1 -1
- package/dist/bundle/{chunk-CLAN3FES.js → chunk-IBTMK5KD.js} +54 -34
- package/dist/bundle/{chunk-5A6ZYNAQ.js → chunk-IQ2XZ62J.js} +18 -18
- package/dist/bundle/{chunk-DBEQI5YM.js → chunk-ITGNDZRR.js} +3 -3
- package/dist/bundle/{chunk-W53EJOFQ.js → chunk-IXZLMFPO.js} +1 -1
- package/dist/bundle/{chunk-TOSCB4SO.js → chunk-J5P5VSRG.js} +16 -10
- package/dist/bundle/{chunk-VIEYMDBR.js → chunk-J6C2QWL5.js} +3 -3
- package/dist/bundle/{chunk-ZBDSHFG4.js → chunk-JG7YMHNB.js} +3427 -3284
- package/dist/bundle/{chunk-RMIYKDUL.js → chunk-JK2SNLU5.js} +17 -17
- package/dist/bundle/{chunk-43EKCUBJ.js → chunk-JP2HJXFO.js} +3 -3
- package/dist/bundle/{chunk-DFCHHR5M.js → chunk-JUKAIXKY.js} +1 -1
- package/dist/bundle/{chunk-5GBUCHRU.js → chunk-KO4VR5NK.js} +4 -4
- package/dist/bundle/{chunk-PPHBRESD.js → chunk-KVXEEKBB.js} +2 -2
- package/dist/bundle/{chunk-SDQGB4KB.js → chunk-L433IDOX.js} +9 -9
- package/dist/bundle/chunk-LA3YU4K7.js +40 -0
- package/dist/bundle/{chunk-ECEZOLOD.js → chunk-LKSNISYV.js} +4 -4
- package/dist/bundle/{chunk-5K7QLJMM.js → chunk-LT5KE44Q.js} +226 -226
- package/dist/bundle/chunk-M763RNWP.js +733 -0
- package/dist/bundle/chunk-M7XLG6AN.js +353 -0
- package/dist/bundle/{chunk-IMJQRPLN.js → chunk-NNMU2TDU.js} +1 -1
- package/dist/bundle/chunk-NTQBS2JL.js +52 -0
- package/dist/bundle/{chunk-HCAZV5NP.js → chunk-NZGI74GS.js} +6 -6
- package/dist/bundle/{chunk-W7HM2VGO.js → chunk-O3VM5PTJ.js} +1 -1
- package/dist/bundle/chunk-OPVNUI4M.js +195 -0
- package/dist/bundle/{chunk-7ELMWE3P.js → chunk-PHXOL5HZ.js} +176 -160
- package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
- package/dist/bundle/{chunk-B3MANLNK.js → chunk-PLRUUXK7.js} +19 -233
- package/dist/bundle/{chunk-RR5MX5TM.js → chunk-PMP37KLR.js} +4 -4
- package/dist/bundle/{chunk-FTFV3HFW.js → chunk-Q27QAB4X.js} +9 -9
- package/dist/bundle/{chunk-2TWQIWWG.js → chunk-QFZD6MTF.js} +35 -29
- package/dist/bundle/{chunk-2QZK5BEP.js → chunk-RVWGFD32.js} +30 -15
- package/dist/bundle/{chunk-MVA5HVKL.js → chunk-S4UUN6LD.js} +18 -0
- package/dist/bundle/{chunk-QGFX5MXL.js → chunk-SEELWPRD.js} +9 -9
- package/dist/bundle/{chunk-SAKK2YRU.js → chunk-SMTTIKZ5.js} +12 -12
- package/dist/bundle/{chunk-X7XUX7A4.js → chunk-TDQJS3JG.js} +10 -10
- package/dist/bundle/{chunk-HC5ZWE5X.js → chunk-TIHDBKA7.js} +2 -2
- package/dist/bundle/{chunk-NHHJHXMQ.js → chunk-U6XA3OOM.js} +2 -2
- package/dist/bundle/{chunk-NXERIDPJ.js → chunk-VQEAZXTV.js} +7 -7
- package/dist/bundle/{chunk-P5BHKKBI.js → chunk-VW5F6FK3.js} +4 -4
- package/dist/bundle/{chunk-XRREFEIW.js → chunk-WCQW4GYO.js} +7 -7
- package/dist/bundle/{chunk-H3TNVEQX.js → chunk-WGBVRDY3.js} +29 -4
- package/dist/bundle/chunk-WRCKE5ND.js +80 -0
- package/dist/bundle/{chunk-TBJYLC5K.js → chunk-X5S5KUSU.js} +75 -75
- package/dist/bundle/command-contract-R2FGN7CQ.js +40 -0
- package/dist/bundle/{command-server-entry-DJKVVZCQ.js → command-server-entry-GJSMDSNE.js} +29 -29
- package/dist/bundle/{decode-FC65Y4IV.js → decode-6PLXHVHW.js} +6 -6
- package/dist/bundle/{dispatch-KOISQ5QJ.js → dispatch-TAQ7635E.js} +8 -8
- package/dist/bundle/{dist-MYZZKZJ7.js → dist-7TGU56B2.js} +1 -1
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/{echarts-FVTUDXDU.js → echarts-UZ7QLRE2.js} +2 -2
- package/dist/bundle/{embed-VNBZFPYH.js → embed-AWLL4EBF.js} +7 -7
- package/dist/bundle/{embedder-6U4NOFRO.js → embedder-MM225YJ6.js} +10 -10
- package/dist/bundle/{failure-FZ6VYKEQ.js → failure-MR2XVHFP.js} +3 -3
- package/dist/bundle/first-run-MAUI6QJ7.js +29 -0
- package/dist/bundle/first-screen-SCDV7TXT.js +40 -0
- package/dist/bundle/hubspot.js +26 -26
- package/dist/bundle/{instructions-HET7BCYK.js → instructions-ZJ7U3QUE.js} +1 -1
- package/dist/bundle/{mcp-RGNRW77S.js → mcp-CNV7F2XZ.js} +2 -2
- package/dist/bundle/meeting-combined-EL5XZIJ5.js +25 -0
- package/dist/bundle/meeting-model-OYXB2NOE.js +25 -0
- package/dist/bundle/{meeting-semantic-JY3OGCBS.js → meeting-semantic-S3DBB7XD.js} +7 -7
- package/dist/bundle/{node-CXZIFHZC.js → node-HGCZGZ4R.js} +2 -2
- package/dist/bundle/{node-sqlite-P3O7XN7Q.js → node-sqlite-RKYSRKEB.js} +8 -8
- package/dist/bundle/oauth-PYDCAQ7Y.js +20 -0
- package/dist/bundle/{open-F4P6YV54.js → open-UCDSQUN2.js} +6 -6
- package/dist/bundle/{openai-4AICLIK3.js → openai-Y4F5ZC7O.js} +16 -16
- package/dist/bundle/{process-5RUXWGYS.js → process-P7FB7YO7.js} +1 -1
- package/dist/bundle/{program-POG5GHUQ.js → program-2D5D32HK.js} +835 -261
- package/dist/bundle/{prompt-NFMDVBZ4.js → prompt-E5TKZ37Q.js} +6 -6
- package/dist/bundle/{recognize-DKN3RY4V.js → recognize-5NYPTSLT.js} +5 -5
- package/dist/bundle/{remote-6QHAGQWY.js → remote-U4LUAHF2.js} +10 -10
- package/dist/bundle/{rerank-M4KHEHUZ.js → rerank-AJAVKK5L.js} +8 -8
- package/dist/bundle/{schemas-JRL3DLMP.js → schemas-QLQ2K6DL.js} +7 -33
- package/dist/bundle/{serve-DNU43ND6.js → serve-4UJ3R5IP.js} +11 -11
- package/dist/bundle/server-CN6VQNNF.js +86 -0
- package/dist/bundle/{server-XJSNF3K5.js → server-OJPCTV77.js} +73 -61
- package/dist/bundle/{source-A3SBLHC4.js → source-VHDK74YS.js} +133 -399
- package/dist/bundle/{sqlite-runtime-EMQAC63N.js → sqlite-runtime-KLEA4XAU.js} +7 -7
- package/dist/bundle/{state-T45CX7VY.js → state-COGSYMVH.js} +7 -7
- package/dist/bundle/{store-6TZ2FCVA.js → store-BJXCSP26.js} +25 -24
- package/dist/bundle/store-HXA2MRWI.js +32 -0
- package/dist/bundle/{store-6LCEVBAZ.js → store-V5UMSWK4.js} +27 -22
- package/dist/bundle/store-maintenance-command-AC7GGLYC.js +73 -0
- package/dist/bundle/surface-ZZNG3OW2.js +72 -0
- package/dist/bundle/writer-CZYA657G.js +86 -0
- package/dist/commands/api.d.ts +4 -4
- package/dist/commands/api.d.ts.map +1 -1
- package/dist/commands/api.js +12 -7
- package/dist/commands/api.js.map +1 -1
- package/dist/commands/crm-shared.d.ts +2 -2
- package/dist/commands/crm-shared.d.ts.map +1 -1
- package/dist/commands/crm-shared.js +20 -4
- package/dist/commands/crm-shared.js.map +1 -1
- package/dist/config.d.ts +46 -8
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +133 -12
- package/dist/config.js.map +1 -1
- package/dist/context.d.ts +2 -2
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +1 -1
- package/dist/context.js.map +1 -1
- package/dist/crm/source.d.ts +7 -2
- package/dist/crm/source.d.ts.map +1 -1
- package/dist/crm/source.js +26 -29
- package/dist/crm/source.js.map +1 -1
- package/dist/crm/writer.d.ts +15 -0
- package/dist/crm/writer.d.ts.map +1 -0
- package/dist/crm/writer.js +199 -0
- package/dist/crm/writer.js.map +1 -0
- package/dist/generated/manifest.d.ts.map +1 -1
- package/dist/generated/manifest.js +6 -116
- package/dist/generated/manifest.js.map +1 -1
- package/dist/generated/types.d.ts +160 -0
- package/dist/generated/types.d.ts.map +1 -1
- package/dist/hubspot/transport.d.ts +6 -1
- package/dist/hubspot/transport.d.ts.map +1 -1
- package/dist/hubspot/transport.js +13 -5
- package/dist/hubspot/transport.js.map +1 -1
- package/dist/identity.js +3 -3
- package/dist/identity.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +2 -1
- package/dist/program.js.map +1 -1
- package/dist/setup/texts.en.json +3 -3
- package/dist/setup/texts.es.json +3 -3
- package/dist/setup/texts.ru.json +3 -3
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- package/skills/hubspot-cli/SKILL.md +13 -8
- package/skills/hubspot-cli/references/api/api-advanced.md +51 -0
- package/skills/hubspot-cli/references/api/api-basic.md +602 -0
- package/skills/hubspot-cli/references/api/api-batch.md +575 -0
- package/skills/hubspot-cli/references/api.md +3 -2
- package/dist/bundle/command-contract-C6CBFXZF.js +0 -40
- package/dist/bundle/first-run-RPIJZEDT.js +0 -29
- package/dist/bundle/first-screen-RTVMGHAE.js +0 -40
- package/dist/bundle/meeting-combined-L5AGBPYX.js +0 -25
- package/dist/bundle/meeting-model-NTB4RK3F.js +0 -25
- package/dist/bundle/oauth-HNCY4B2S.js +0 -20
- package/dist/bundle/server-C3ZHA7AZ.js +0 -77
- package/dist/bundle/store-CCDNUB6A.js +0 -32
- package/dist/bundle/store-maintenance-command-BRCG6MNA.js +0 -68
- package/dist/commands/comments.d.ts +0 -3
- package/dist/commands/comments.d.ts.map +0 -1
- package/dist/commands/comments.js +0 -114
- package/dist/commands/comments.js.map +0 -1
- package/dist/sample/comments.d.ts +0 -61
- package/dist/sample/comments.d.ts.map +0 -1
- package/dist/sample/comments.js +0 -39
- package/dist/sample/comments.js.map +0 -1
- package/dist/sample/records.d.ts +0 -16
- package/dist/sample/records.d.ts.map +0 -1
- package/dist/sample/records.js +0 -22
- package/dist/sample/records.js.map +0 -1
- package/dist/sample/transport.d.ts +0 -42
- package/dist/sample/transport.d.ts.map +0 -1
- package/dist/sample/transport.js +0 -153
- package/dist/sample/transport.js.map +0 -1
|
@@ -12,6 +12,19 @@
|
|
|
12
12
|
- What: Retrieve account details
|
|
13
13
|
- Call: `GET /account-info/2026-03/details`, effect: read
|
|
14
14
|
|
|
15
|
+
## `hubspot api associations-delete [options]`
|
|
16
|
+
|
|
17
|
+
- What: delete-/crm/objects/2026-03/{objectType}/{objectId}/associations/{toObjectType}/{toObjectId}_/crm/objects/2026-03/{objectType}/{objectId}/associations/{toObjectType}/{toObjectId}
|
|
18
|
+
- Call: `DELETE /crm/objects/2026-03/{objectType}/{objectId}/associations/{toObjectType}/{toObjectId}`, effect: destructive
|
|
19
|
+
- Permission keys: `associations.delete`
|
|
20
|
+
|
|
21
|
+
| Flag | Required | What |
|
|
22
|
+
|---|---|---|
|
|
23
|
+
| `--object-id <value>` | yes | objectId |
|
|
24
|
+
| `--object-type <value>` | yes | objectType |
|
|
25
|
+
| `--to-object-id <value>` | yes | toObjectId |
|
|
26
|
+
| `--to-object-type <value>` | yes | toObjectType |
|
|
27
|
+
|
|
15
28
|
## `hubspot api associations-get [options]`
|
|
16
29
|
|
|
17
30
|
- What: Retrieve all associations by object type
|
|
@@ -27,6 +40,54 @@
|
|
|
27
40
|
| `--limit <value>` | no | The maximum number of results to display per page. |
|
|
28
41
|
| `--all` | no | read every page, as the API pages it |
|
|
29
42
|
|
|
43
|
+
## `hubspot api associations-replace [options]`
|
|
44
|
+
|
|
45
|
+
- What: put-/crm/objects/2026-03/{objectType}/{objectId}/associations/{toObjectType}/{toObjectId}_/crm/objects/2026-03/{objectType}/{objectId}/associations/{toObjectType}/{toObjectId}
|
|
46
|
+
- Call: `PUT /crm/objects/2026-03/{objectType}/{objectId}/associations/{toObjectType}/{toObjectId}`, effect: write
|
|
47
|
+
- Permission keys: `associations.write`
|
|
48
|
+
- Body: `PutCrmObjects202603ObjectTypeObjectIdAssociationsToObjectTypeToObjectIdCrmObjects202603ObjectTypeObjectIdAssociationsToObjectTypeToObjectIdRequest`, required
|
|
49
|
+
|
|
50
|
+
| Flag | Required | What |
|
|
51
|
+
|---|---|---|
|
|
52
|
+
| `--object-id <value>` | yes | objectId |
|
|
53
|
+
| `--object-type <value>` | yes | objectType |
|
|
54
|
+
| `--to-object-id <value>` | yes | toObjectId |
|
|
55
|
+
| `--to-object-type <value>` | yes | toObjectType |
|
|
56
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
57
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
58
|
+
|
|
59
|
+
## `hubspot api associations-usage-high-usage-report-update [options]`
|
|
60
|
+
|
|
61
|
+
- What: Report high usage
|
|
62
|
+
- Call: `POST /crm/associations/2026-03/usage/high-usage-report/{userId}`, effect: write
|
|
63
|
+
- Permission keys: `associations.write`
|
|
64
|
+
|
|
65
|
+
| Flag | Required | What |
|
|
66
|
+
|---|---|---|
|
|
67
|
+
| `--user-id <value>` | yes | userId |
|
|
68
|
+
|
|
69
|
+
## `hubspot api calls-create [options]`
|
|
70
|
+
|
|
71
|
+
- What: Create
|
|
72
|
+
- Call: `POST /crm/objects/2026-03/calls`, effect: write
|
|
73
|
+
- Permission keys: `calls.write`, `crm.assign-others`
|
|
74
|
+
- Body: `SimplePublicObjectInputForCreate`, required
|
|
75
|
+
|
|
76
|
+
| Flag | Required | What |
|
|
77
|
+
|---|---|---|
|
|
78
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
79
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
80
|
+
|
|
81
|
+
## `hubspot api calls-delete [options]`
|
|
82
|
+
|
|
83
|
+
- What: Archive
|
|
84
|
+
- Call: `DELETE /crm/objects/2026-03/calls/{callId}`, effect: destructive
|
|
85
|
+
- Permission keys: `calls.delete`
|
|
86
|
+
|
|
87
|
+
| Flag | Required | What |
|
|
88
|
+
|---|---|---|
|
|
89
|
+
| `--call-id <value>` | yes | callId |
|
|
90
|
+
|
|
30
91
|
## `hubspot api calls-get [options]`
|
|
31
92
|
|
|
32
93
|
- What: Read
|
|
@@ -57,6 +118,42 @@
|
|
|
57
118
|
| `--properties-with-history <value>` | no | A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored. Usage of this parameter will reduce the maximum number of objects that can be read by a single request. |
|
|
58
119
|
| `--all` | no | read every page, as the API pages it |
|
|
59
120
|
|
|
121
|
+
## `hubspot api calls-update [options]`
|
|
122
|
+
|
|
123
|
+
- What: Update
|
|
124
|
+
- Call: `PATCH /crm/objects/2026-03/calls/{callId}`, effect: write
|
|
125
|
+
- Permission keys: `calls.write`, `crm.assign-others`
|
|
126
|
+
- Body: `SimplePublicObjectInput`, required
|
|
127
|
+
|
|
128
|
+
| Flag | Required | What |
|
|
129
|
+
|---|---|---|
|
|
130
|
+
| `--call-id <value>` | yes | callId |
|
|
131
|
+
| `--id-property <value>` | no | The name of a property whose values are unique for this object type |
|
|
132
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
133
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
134
|
+
|
|
135
|
+
## `hubspot api companies-create [options]`
|
|
136
|
+
|
|
137
|
+
- What: Create a company
|
|
138
|
+
- Call: `POST /crm/objects/2026-03/companies`, effect: write
|
|
139
|
+
- Permission keys: `organizations.write`, `organizations.create`, `crm.assign-others`
|
|
140
|
+
- Body: `SimplePublicObjectInputForCreate`, required
|
|
141
|
+
|
|
142
|
+
| Flag | Required | What |
|
|
143
|
+
|---|---|---|
|
|
144
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
145
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
146
|
+
|
|
147
|
+
## `hubspot api companies-delete [options]`
|
|
148
|
+
|
|
149
|
+
- What: Archive a company
|
|
150
|
+
- Call: `DELETE /crm/objects/2026-03/companies/{companyId}`, effect: destructive
|
|
151
|
+
- Permission keys: `organizations.delete`
|
|
152
|
+
|
|
153
|
+
| Flag | Required | What |
|
|
154
|
+
|---|---|---|
|
|
155
|
+
| `--company-id <value>` | yes | companyId |
|
|
156
|
+
|
|
60
157
|
## `hubspot api companies-get [options]`
|
|
61
158
|
|
|
62
159
|
- What: Retrieve a company
|
|
@@ -87,6 +184,42 @@
|
|
|
87
184
|
| `--properties-with-history <value>` | no | A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored. Usage of this parameter will reduce the maximum number of objects that can be read by a single request. |
|
|
88
185
|
| `--all` | no | read every page, as the API pages it |
|
|
89
186
|
|
|
187
|
+
## `hubspot api companies-update [options]`
|
|
188
|
+
|
|
189
|
+
- What: Update a company
|
|
190
|
+
- Call: `PATCH /crm/objects/2026-03/companies/{companyId}`, effect: write
|
|
191
|
+
- Permission keys: `organizations.write`, `organizations.update`, `crm.assign-others`
|
|
192
|
+
- Body: `SimplePublicObjectInput`, required
|
|
193
|
+
|
|
194
|
+
| Flag | Required | What |
|
|
195
|
+
|---|---|---|
|
|
196
|
+
| `--company-id <value>` | yes | companyId |
|
|
197
|
+
| `--id-property <value>` | no | The name of a property whose values are unique for this object type |
|
|
198
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
199
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
200
|
+
|
|
201
|
+
## `hubspot api contacts-create [options]`
|
|
202
|
+
|
|
203
|
+
- What: Create a contact
|
|
204
|
+
- Call: `POST /crm/objects/2026-03/contacts`, effect: write
|
|
205
|
+
- Permission keys: `people.write`, `people.create`, `crm.assign-others`
|
|
206
|
+
- Body: `SimplePublicObjectInputForCreate`, required
|
|
207
|
+
|
|
208
|
+
| Flag | Required | What |
|
|
209
|
+
|---|---|---|
|
|
210
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
211
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
212
|
+
|
|
213
|
+
## `hubspot api contacts-delete [options]`
|
|
214
|
+
|
|
215
|
+
- What: Archive a contact
|
|
216
|
+
- Call: `DELETE /crm/objects/2026-03/contacts/{contactId}`, effect: destructive
|
|
217
|
+
- Permission keys: `people.delete`
|
|
218
|
+
|
|
219
|
+
| Flag | Required | What |
|
|
220
|
+
|---|---|---|
|
|
221
|
+
| `--contact-id <value>` | yes | contactId |
|
|
222
|
+
|
|
90
223
|
## `hubspot api contacts-get [options]`
|
|
91
224
|
|
|
92
225
|
- What: Retrieve a contact
|
|
@@ -117,6 +250,42 @@
|
|
|
117
250
|
| `--properties-with-history <value>` | no | A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored. Usage of this parameter will reduce the maximum number of objects that can be read by a single request. |
|
|
118
251
|
| `--all` | no | read every page, as the API pages it |
|
|
119
252
|
|
|
253
|
+
## `hubspot api contacts-update [options]`
|
|
254
|
+
|
|
255
|
+
- What: Update a contact
|
|
256
|
+
- Call: `PATCH /crm/objects/2026-03/contacts/{contactId}`, effect: write
|
|
257
|
+
- Permission keys: `people.write`, `people.update`, `crm.assign-others`
|
|
258
|
+
- Body: `SimplePublicObjectInput`, required
|
|
259
|
+
|
|
260
|
+
| Flag | Required | What |
|
|
261
|
+
|---|---|---|
|
|
262
|
+
| `--contact-id <value>` | yes | contactId |
|
|
263
|
+
| `--id-property <value>` | no | The name of a property whose values are unique for this object type |
|
|
264
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
265
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
266
|
+
|
|
267
|
+
## `hubspot api deals-create [options]`
|
|
268
|
+
|
|
269
|
+
- What: Create
|
|
270
|
+
- Call: `POST /crm/objects/2026-03/0-3`, effect: write
|
|
271
|
+
- Permission keys: `deals.write`, `deals.create`, `crm.assign-others`, `deals.move`, `deals.close`
|
|
272
|
+
- Body: `SimplePublicObjectInputForCreate`, required
|
|
273
|
+
|
|
274
|
+
| Flag | Required | What |
|
|
275
|
+
|---|---|---|
|
|
276
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
277
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
278
|
+
|
|
279
|
+
## `hubspot api deals-delete [options]`
|
|
280
|
+
|
|
281
|
+
- What: Archive
|
|
282
|
+
- Call: `DELETE /crm/objects/2026-03/0-3/{dealId}`, effect: destructive
|
|
283
|
+
- Permission keys: `deals.delete`
|
|
284
|
+
|
|
285
|
+
| Flag | Required | What |
|
|
286
|
+
|---|---|---|
|
|
287
|
+
| `--deal-id <value>` | yes | dealId |
|
|
288
|
+
|
|
120
289
|
## `hubspot api deals-get [options]`
|
|
121
290
|
|
|
122
291
|
- What: Read
|
|
@@ -147,6 +316,54 @@
|
|
|
147
316
|
| `--properties-with-history <value>` | no | A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored. Usage of this parameter will reduce the maximum number of objects that can be read by a single request. |
|
|
148
317
|
| `--all` | no | read every page, as the API pages it |
|
|
149
318
|
|
|
319
|
+
## `hubspot api deals-merge [options]`
|
|
320
|
+
|
|
321
|
+
- What: Merge two deals with same type
|
|
322
|
+
- Call: `POST /crm/objects/2026-03/0-3/merge`, effect: destructive
|
|
323
|
+
- Permission keys: `deals.delete`
|
|
324
|
+
- Body: `PublicMergeInput`, required
|
|
325
|
+
|
|
326
|
+
| Flag | Required | What |
|
|
327
|
+
|---|---|---|
|
|
328
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
329
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
330
|
+
|
|
331
|
+
## `hubspot api deals-update [options]`
|
|
332
|
+
|
|
333
|
+
- What: Update
|
|
334
|
+
- Call: `PATCH /crm/objects/2026-03/0-3/{dealId}`, effect: write
|
|
335
|
+
- Permission keys: `deals.write`, `deals.update`, `crm.assign-others`, `deals.move`, `deals.close`
|
|
336
|
+
- Body: `SimplePublicObjectInput`, required
|
|
337
|
+
|
|
338
|
+
| Flag | Required | What |
|
|
339
|
+
|---|---|---|
|
|
340
|
+
| `--deal-id <value>` | yes | dealId |
|
|
341
|
+
| `--id-property <value>` | no | The name of a property whose values are unique for this object type |
|
|
342
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
343
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
344
|
+
|
|
345
|
+
## `hubspot api emails-create [options]`
|
|
346
|
+
|
|
347
|
+
- What: Create
|
|
348
|
+
- Call: `POST /crm/objects/2026-03/emails`, effect: write
|
|
349
|
+
- Permission keys: `emails.write`, `crm.assign-others`
|
|
350
|
+
- Body: `SimplePublicObjectInputForCreate`, required
|
|
351
|
+
|
|
352
|
+
| Flag | Required | What |
|
|
353
|
+
|---|---|---|
|
|
354
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
355
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
356
|
+
|
|
357
|
+
## `hubspot api emails-delete [options]`
|
|
358
|
+
|
|
359
|
+
- What: Archive
|
|
360
|
+
- Call: `DELETE /crm/objects/2026-03/emails/{emailId}`, effect: destructive
|
|
361
|
+
- Permission keys: `emails.delete`
|
|
362
|
+
|
|
363
|
+
| Flag | Required | What |
|
|
364
|
+
|---|---|---|
|
|
365
|
+
| `--email-id <value>` | yes | emailId |
|
|
366
|
+
|
|
150
367
|
## `hubspot api emails-get [options]`
|
|
151
368
|
|
|
152
369
|
- What: Read
|
|
@@ -177,6 +394,42 @@
|
|
|
177
394
|
| `--properties-with-history <value>` | no | A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored. Usage of this parameter will reduce the maximum number of objects that can be read by a single request. |
|
|
178
395
|
| `--all` | no | read every page, as the API pages it |
|
|
179
396
|
|
|
397
|
+
## `hubspot api emails-update [options]`
|
|
398
|
+
|
|
399
|
+
- What: Update
|
|
400
|
+
- Call: `PATCH /crm/objects/2026-03/emails/{emailId}`, effect: write
|
|
401
|
+
- Permission keys: `emails.write`, `crm.assign-others`
|
|
402
|
+
- Body: `SimplePublicObjectInput`, required
|
|
403
|
+
|
|
404
|
+
| Flag | Required | What |
|
|
405
|
+
|---|---|---|
|
|
406
|
+
| `--email-id <value>` | yes | emailId |
|
|
407
|
+
| `--id-property <value>` | no | The name of a property whose values are unique for this object type |
|
|
408
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
409
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
410
|
+
|
|
411
|
+
## `hubspot api leads-create [options]`
|
|
412
|
+
|
|
413
|
+
- What: Create
|
|
414
|
+
- Call: `POST /crm/objects/2026-03/leads`, effect: write
|
|
415
|
+
- Permission keys: `leads.write`, `crm.assign-others`
|
|
416
|
+
- Body: `SimplePublicObjectInputForCreate`, required
|
|
417
|
+
|
|
418
|
+
| Flag | Required | What |
|
|
419
|
+
|---|---|---|
|
|
420
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
421
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
422
|
+
|
|
423
|
+
## `hubspot api leads-delete [options]`
|
|
424
|
+
|
|
425
|
+
- What: Archive
|
|
426
|
+
- Call: `DELETE /crm/objects/2026-03/leads/{leadsId}`, effect: destructive
|
|
427
|
+
- Permission keys: `leads.delete`
|
|
428
|
+
|
|
429
|
+
| Flag | Required | What |
|
|
430
|
+
|---|---|---|
|
|
431
|
+
| `--leads-id <value>` | yes | leadsId |
|
|
432
|
+
|
|
180
433
|
## `hubspot api leads-get [options]`
|
|
181
434
|
|
|
182
435
|
- What: Read
|
|
@@ -207,6 +460,42 @@
|
|
|
207
460
|
| `--properties-with-history <value>` | no | A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored. Usage of this parameter will reduce the maximum number of objects that can be read by a single request. |
|
|
208
461
|
| `--all` | no | read every page, as the API pages it |
|
|
209
462
|
|
|
463
|
+
## `hubspot api leads-update [options]`
|
|
464
|
+
|
|
465
|
+
- What: Update
|
|
466
|
+
- Call: `PATCH /crm/objects/2026-03/leads/{leadsId}`, effect: write
|
|
467
|
+
- Permission keys: `leads.write`, `crm.assign-others`
|
|
468
|
+
- Body: `SimplePublicObjectInput`, required
|
|
469
|
+
|
|
470
|
+
| Flag | Required | What |
|
|
471
|
+
|---|---|---|
|
|
472
|
+
| `--leads-id <value>` | yes | leadsId |
|
|
473
|
+
| `--id-property <value>` | no | The name of a property whose values are unique for this object type |
|
|
474
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
475
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
476
|
+
|
|
477
|
+
## `hubspot api meetings-create [options]`
|
|
478
|
+
|
|
479
|
+
- What: Create
|
|
480
|
+
- Call: `POST /crm/objects/2026-03/meetings`, effect: write
|
|
481
|
+
- Permission keys: `meetings.write`, `crm.assign-others`
|
|
482
|
+
- Body: `SimplePublicObjectInputForCreate`, required
|
|
483
|
+
|
|
484
|
+
| Flag | Required | What |
|
|
485
|
+
|---|---|---|
|
|
486
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
487
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
488
|
+
|
|
489
|
+
## `hubspot api meetings-delete [options]`
|
|
490
|
+
|
|
491
|
+
- What: Archive
|
|
492
|
+
- Call: `DELETE /crm/objects/2026-03/meetings/{meetingId}`, effect: destructive
|
|
493
|
+
- Permission keys: `meetings.delete`
|
|
494
|
+
|
|
495
|
+
| Flag | Required | What |
|
|
496
|
+
|---|---|---|
|
|
497
|
+
| `--meeting-id <value>` | yes | meetingId |
|
|
498
|
+
|
|
210
499
|
## `hubspot api meetings-get [options]`
|
|
211
500
|
|
|
212
501
|
- What: Read
|
|
@@ -237,6 +526,42 @@
|
|
|
237
526
|
| `--properties-with-history <value>` | no | A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored. Usage of this parameter will reduce the maximum number of objects that can be read by a single request. |
|
|
238
527
|
| `--all` | no | read every page, as the API pages it |
|
|
239
528
|
|
|
529
|
+
## `hubspot api meetings-update [options]`
|
|
530
|
+
|
|
531
|
+
- What: Update
|
|
532
|
+
- Call: `PATCH /crm/objects/2026-03/meetings/{meetingId}`, effect: write
|
|
533
|
+
- Permission keys: `meetings.write`, `crm.assign-others`
|
|
534
|
+
- Body: `SimplePublicObjectInput`, required
|
|
535
|
+
|
|
536
|
+
| Flag | Required | What |
|
|
537
|
+
|---|---|---|
|
|
538
|
+
| `--meeting-id <value>` | yes | meetingId |
|
|
539
|
+
| `--id-property <value>` | no | The name of a property whose values are unique for this object type |
|
|
540
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
541
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
542
|
+
|
|
543
|
+
## `hubspot api notes-create [options]`
|
|
544
|
+
|
|
545
|
+
- What: Create
|
|
546
|
+
- Call: `POST /crm/objects/2026-03/notes`, effect: write
|
|
547
|
+
- Permission keys: `notes.write`, `crm.assign-others`
|
|
548
|
+
- Body: `SimplePublicObjectInputForCreate`, required
|
|
549
|
+
|
|
550
|
+
| Flag | Required | What |
|
|
551
|
+
|---|---|---|
|
|
552
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
553
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
554
|
+
|
|
555
|
+
## `hubspot api notes-delete [options]`
|
|
556
|
+
|
|
557
|
+
- What: Archive
|
|
558
|
+
- Call: `DELETE /crm/objects/2026-03/notes/{noteId}`, effect: destructive
|
|
559
|
+
- Permission keys: `notes.delete`
|
|
560
|
+
|
|
561
|
+
| Flag | Required | What |
|
|
562
|
+
|---|---|---|
|
|
563
|
+
| `--note-id <value>` | yes | noteId |
|
|
564
|
+
|
|
240
565
|
## `hubspot api notes-get [options]`
|
|
241
566
|
|
|
242
567
|
- What: Read
|
|
@@ -267,6 +592,20 @@
|
|
|
267
592
|
| `--properties-with-history <value>` | no | A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored. Usage of this parameter will reduce the maximum number of objects that can be read by a single request. |
|
|
268
593
|
| `--all` | no | read every page, as the API pages it |
|
|
269
594
|
|
|
595
|
+
## `hubspot api notes-update [options]`
|
|
596
|
+
|
|
597
|
+
- What: Update
|
|
598
|
+
- Call: `PATCH /crm/objects/2026-03/notes/{noteId}`, effect: write
|
|
599
|
+
- Permission keys: `notes.write`, `crm.assign-others`
|
|
600
|
+
- Body: `SimplePublicObjectInput`, required
|
|
601
|
+
|
|
602
|
+
| Flag | Required | What |
|
|
603
|
+
|---|---|---|
|
|
604
|
+
| `--note-id <value>` | yes | noteId |
|
|
605
|
+
| `--id-property <value>` | no | The name of a property whose values are unique for this object type |
|
|
606
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
607
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
608
|
+
|
|
270
609
|
## `hubspot api owners-get [options]`
|
|
271
610
|
|
|
272
611
|
- What: Retrieve a specific owner by ID
|
|
@@ -302,6 +641,32 @@
|
|
|
302
641
|
| `--object-type <value>` | yes | objectType |
|
|
303
642
|
| `--pipeline-id <value>` | yes | pipelineId |
|
|
304
643
|
|
|
644
|
+
## `hubspot api pipelines-create [options]`
|
|
645
|
+
|
|
646
|
+
- What: Create a pipeline
|
|
647
|
+
- Call: `POST /crm/pipelines/2026-03/{objectType}`, effect: write
|
|
648
|
+
- Permission keys: `pipelines.write`
|
|
649
|
+
- Body: `PipelineInput`, required
|
|
650
|
+
|
|
651
|
+
| Flag | Required | What |
|
|
652
|
+
|---|---|---|
|
|
653
|
+
| `--object-type <value>` | yes | objectType |
|
|
654
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
655
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
656
|
+
|
|
657
|
+
## `hubspot api pipelines-delete [options]`
|
|
658
|
+
|
|
659
|
+
- What: Delete a pipeline
|
|
660
|
+
- Call: `DELETE /crm/pipelines/2026-03/{objectType}/{pipelineId}`, effect: destructive
|
|
661
|
+
- Permission keys: `pipelines.delete`
|
|
662
|
+
|
|
663
|
+
| Flag | Required | What |
|
|
664
|
+
|---|---|---|
|
|
665
|
+
| `--object-type <value>` | yes | objectType |
|
|
666
|
+
| `--pipeline-id <value>` | yes | pipelineId |
|
|
667
|
+
| `--validate-deal-stage-usages-before-delete <value>` | no | validateDealStageUsagesBeforeDelete |
|
|
668
|
+
| `--validate-references-before-delete <value>` | no | validateReferencesBeforeDelete |
|
|
669
|
+
|
|
305
670
|
## `hubspot api pipelines-get [options]`
|
|
306
671
|
|
|
307
672
|
- What: Return a pipeline by ID
|
|
@@ -321,6 +686,22 @@
|
|
|
321
686
|
|---|---|---|
|
|
322
687
|
| `--object-type <value>` | yes | objectType |
|
|
323
688
|
|
|
689
|
+
## `hubspot api pipelines-replace [options]`
|
|
690
|
+
|
|
691
|
+
- What: Replace a pipeline
|
|
692
|
+
- Call: `PUT /crm/pipelines/2026-03/{objectType}/{pipelineId}`, effect: destructive
|
|
693
|
+
- Permission keys: `pipelines.delete`
|
|
694
|
+
- Body: `PipelineReplaceInput`, required
|
|
695
|
+
|
|
696
|
+
| Flag | Required | What |
|
|
697
|
+
|---|---|---|
|
|
698
|
+
| `--object-type <value>` | yes | objectType |
|
|
699
|
+
| `--pipeline-id <value>` | yes | pipelineId |
|
|
700
|
+
| `--validate-deal-stage-usages-before-delete <value>` | no | validateDealStageUsagesBeforeDelete |
|
|
701
|
+
| `--validate-references-before-delete <value>` | no | validateReferencesBeforeDelete |
|
|
702
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
703
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
704
|
+
|
|
324
705
|
## `hubspot api pipelines-stages-audit-list [options]`
|
|
325
706
|
|
|
326
707
|
- What: Retrieve a reverse chronological list of all changes made to a specific pipeline stage.
|
|
@@ -332,6 +713,33 @@
|
|
|
332
713
|
| `--pipeline-id <value>` | yes | pipelineId |
|
|
333
714
|
| `--stage-id <value>` | yes | stageId |
|
|
334
715
|
|
|
716
|
+
## `hubspot api pipelines-stages-create [options]`
|
|
717
|
+
|
|
718
|
+
- What: Create a pipeline stage
|
|
719
|
+
- Call: `POST /crm/pipelines/2026-03/{objectType}/{pipelineId}/stages`, effect: write
|
|
720
|
+
- Permission keys: `pipelines.write`
|
|
721
|
+
- Body: `PipelineStageInput`, required
|
|
722
|
+
|
|
723
|
+
| Flag | Required | What |
|
|
724
|
+
|---|---|---|
|
|
725
|
+
| `--object-type <value>` | yes | objectType |
|
|
726
|
+
| `--pipeline-id <value>` | yes | pipelineId |
|
|
727
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
728
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
729
|
+
|
|
730
|
+
## `hubspot api pipelines-stages-delete [options]`
|
|
731
|
+
|
|
732
|
+
- What: Delete a pipeline stage
|
|
733
|
+
- Call: `DELETE /crm/pipelines/2026-03/{objectType}/{pipelineId}/stages/{stageId}`, effect: destructive
|
|
734
|
+
- Permission keys: `pipelines.delete`
|
|
735
|
+
|
|
736
|
+
| Flag | Required | What |
|
|
737
|
+
|---|---|---|
|
|
738
|
+
| `--object-type <value>` | yes | objectType |
|
|
739
|
+
| `--pipeline-id <value>` | yes | pipelineId |
|
|
740
|
+
| `--stage-id <value>` | yes | stageId |
|
|
741
|
+
| `--validate-references-before-delete <value>` | no | validateReferencesBeforeDelete |
|
|
742
|
+
|
|
335
743
|
## `hubspot api pipelines-stages-get [options]`
|
|
336
744
|
|
|
337
745
|
- What: Return a pipeline stage by ID
|
|
@@ -353,6 +761,76 @@
|
|
|
353
761
|
| `--object-type <value>` | yes | objectType |
|
|
354
762
|
| `--pipeline-id <value>` | yes | pipelineId |
|
|
355
763
|
|
|
764
|
+
## `hubspot api pipelines-stages-replace [options]`
|
|
765
|
+
|
|
766
|
+
- What: Replace a pipeline stage
|
|
767
|
+
- Call: `PUT /crm/pipelines/2026-03/{objectType}/{pipelineId}/stages/{stageId}`, effect: write
|
|
768
|
+
- Permission keys: `pipelines.write`
|
|
769
|
+
- Body: `PipelineStageReplaceInput`, required
|
|
770
|
+
|
|
771
|
+
| Flag | Required | What |
|
|
772
|
+
|---|---|---|
|
|
773
|
+
| `--object-type <value>` | yes | objectType |
|
|
774
|
+
| `--pipeline-id <value>` | yes | pipelineId |
|
|
775
|
+
| `--stage-id <value>` | yes | stageId |
|
|
776
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
777
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
778
|
+
|
|
779
|
+
## `hubspot api pipelines-stages-update [options]`
|
|
780
|
+
|
|
781
|
+
- What: Update specific properties of an existing pipeline stage.
|
|
782
|
+
- Call: `PATCH /crm/pipelines/2026-03/{objectType}/{pipelineId}/stages/{stageId}`, effect: write
|
|
783
|
+
- Permission keys: `pipelines.write`
|
|
784
|
+
- Body: `PipelineStagePatchInput`, required
|
|
785
|
+
|
|
786
|
+
| Flag | Required | What |
|
|
787
|
+
|---|---|---|
|
|
788
|
+
| `--object-type <value>` | yes | objectType |
|
|
789
|
+
| `--pipeline-id <value>` | yes | pipelineId |
|
|
790
|
+
| `--stage-id <value>` | yes | stageId |
|
|
791
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
792
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
793
|
+
|
|
794
|
+
## `hubspot api pipelines-update [options]`
|
|
795
|
+
|
|
796
|
+
- What: Perform a partial update of the pipeline identified by pipelineId.
|
|
797
|
+
- Call: `PATCH /crm/pipelines/2026-03/{objectType}/{pipelineId}`, effect: write
|
|
798
|
+
- Permission keys: `pipelines.write`
|
|
799
|
+
- Body: `PipelinePatchInput`, required
|
|
800
|
+
|
|
801
|
+
| Flag | Required | What |
|
|
802
|
+
|---|---|---|
|
|
803
|
+
| `--object-type <value>` | yes | objectType |
|
|
804
|
+
| `--pipeline-id <value>` | yes | pipelineId |
|
|
805
|
+
| `--validate-deal-stage-usages-before-delete <value>` | no | validateDealStageUsagesBeforeDelete |
|
|
806
|
+
| `--validate-references-before-delete <value>` | no | validateReferencesBeforeDelete |
|
|
807
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
808
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
809
|
+
|
|
810
|
+
## `hubspot api properties-create [options]`
|
|
811
|
+
|
|
812
|
+
- What: Create a property
|
|
813
|
+
- Call: `POST /crm/properties/2026-03/{objectType}`, effect: write
|
|
814
|
+
- Permission keys: `fields.write`
|
|
815
|
+
- Body: `PropertyCreate`, required
|
|
816
|
+
|
|
817
|
+
| Flag | Required | What |
|
|
818
|
+
|---|---|---|
|
|
819
|
+
| `--object-type <value>` | yes | The type of object for which the property is being created, such as contacts, companies, or deals. |
|
|
820
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
821
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
822
|
+
|
|
823
|
+
## `hubspot api properties-delete [options]`
|
|
824
|
+
|
|
825
|
+
- What: Archive a property
|
|
826
|
+
- Call: `DELETE /crm/properties/2026-03/{objectType}/{propertyName}`, effect: destructive
|
|
827
|
+
- Permission keys: `fields.delete`
|
|
828
|
+
|
|
829
|
+
| Flag | Required | What |
|
|
830
|
+
|---|---|---|
|
|
831
|
+
| `--object-type <value>` | yes | The type of CRM object that the property belongs to, such as contacts, companies, or deals. |
|
|
832
|
+
| `--property-name <value>` | yes | The unique name of the property to delete. |
|
|
833
|
+
|
|
356
834
|
## `hubspot api properties-get [options]`
|
|
357
835
|
|
|
358
836
|
- What: Read a property
|
|
@@ -367,6 +845,30 @@
|
|
|
367
845
|
| `--locale <value>` | no | The locale to use for property labels and descriptions. |
|
|
368
846
|
| `--properties <value>` | no | A comma-separated list of property names to include in the response. |
|
|
369
847
|
|
|
848
|
+
## `hubspot api properties-groups-create [options]`
|
|
849
|
+
|
|
850
|
+
- What: Create a property group
|
|
851
|
+
- Call: `POST /crm/properties/2026-03/{objectType}/groups`, effect: write
|
|
852
|
+
- Permission keys: `fields.write`
|
|
853
|
+
- Body: `PropertyGroupCreate`, required
|
|
854
|
+
|
|
855
|
+
| Flag | Required | What |
|
|
856
|
+
|---|---|---|
|
|
857
|
+
| `--object-type <value>` | yes | The type of object for which the property group is being created, such as contacts, companies, or deals. |
|
|
858
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
859
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
860
|
+
|
|
861
|
+
## `hubspot api properties-groups-delete [options]`
|
|
862
|
+
|
|
863
|
+
- What: Archive a property group
|
|
864
|
+
- Call: `DELETE /crm/properties/2026-03/{objectType}/groups/{groupName}`, effect: destructive
|
|
865
|
+
- Permission keys: `fields.delete`
|
|
866
|
+
|
|
867
|
+
| Flag | Required | What |
|
|
868
|
+
|---|---|---|
|
|
869
|
+
| `--group-name <value>` | yes | The unique name of the property group to be deleted. |
|
|
870
|
+
| `--object-type <value>` | yes | The type of object for which the property group is defined, such as contacts, companies, or deals. |
|
|
871
|
+
|
|
370
872
|
## `hubspot api properties-groups-get [options]`
|
|
371
873
|
|
|
372
874
|
- What: Read a property group
|
|
@@ -388,6 +890,20 @@
|
|
|
388
890
|
| `--object-type <value>` | yes | The type of CRM object for which to retrieve property groups, such as 'contacts' or 'deals'. |
|
|
389
891
|
| `--locale <value>` | no | The language locale to use for property group labels. This can help in displaying labels in the preferred language. |
|
|
390
892
|
|
|
893
|
+
## `hubspot api properties-groups-update [options]`
|
|
894
|
+
|
|
895
|
+
- What: Update a property group
|
|
896
|
+
- Call: `PATCH /crm/properties/2026-03/{objectType}/groups/{groupName}`, effect: write
|
|
897
|
+
- Permission keys: `fields.write`
|
|
898
|
+
- Body: `PropertyGroupUpdate`, required
|
|
899
|
+
|
|
900
|
+
| Flag | Required | What |
|
|
901
|
+
|---|---|---|
|
|
902
|
+
| `--group-name <value>` | yes | The name of the property group to update. |
|
|
903
|
+
| `--object-type <value>` | yes | The type of object for which the property group is being updated, such as contacts, companies, or deals. |
|
|
904
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
905
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
906
|
+
|
|
391
907
|
## `hubspot api properties-list [options]`
|
|
392
908
|
|
|
393
909
|
- What: Read all properties
|
|
@@ -401,6 +917,42 @@
|
|
|
401
917
|
| `--locale <value>` | no | Specify the locale to retrieve properties in a particular language or regional format. |
|
|
402
918
|
| `--properties <value>` | no | A comma-separated list of property names to include in the response. |
|
|
403
919
|
|
|
920
|
+
## `hubspot api properties-update [options]`
|
|
921
|
+
|
|
922
|
+
- What: Update a property
|
|
923
|
+
- Call: `PATCH /crm/properties/2026-03/{objectType}/{propertyName}`, effect: write
|
|
924
|
+
- Permission keys: `fields.write`
|
|
925
|
+
- Body: `PropertyUpdate`, required
|
|
926
|
+
|
|
927
|
+
| Flag | Required | What |
|
|
928
|
+
|---|---|---|
|
|
929
|
+
| `--object-type <value>` | yes | The type of object for which the property is being updated, such as contacts, companies, or deals. |
|
|
930
|
+
| `--property-name <value>` | yes | The unique name of the property to update. |
|
|
931
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
932
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
933
|
+
|
|
934
|
+
## `hubspot api tasks-create [options]`
|
|
935
|
+
|
|
936
|
+
- What: Create
|
|
937
|
+
- Call: `POST /crm/objects/2026-03/tasks`, effect: write
|
|
938
|
+
- Permission keys: `tasks.write`, `crm.assign-others`
|
|
939
|
+
- Body: `SimplePublicObjectInputForCreate`, required
|
|
940
|
+
|
|
941
|
+
| Flag | Required | What |
|
|
942
|
+
|---|---|---|
|
|
943
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
944
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
945
|
+
|
|
946
|
+
## `hubspot api tasks-delete [options]`
|
|
947
|
+
|
|
948
|
+
- What: Archive
|
|
949
|
+
- Call: `DELETE /crm/objects/2026-03/tasks/{taskId}`, effect: destructive
|
|
950
|
+
- Permission keys: `tasks.delete`
|
|
951
|
+
|
|
952
|
+
| Flag | Required | What |
|
|
953
|
+
|---|---|---|
|
|
954
|
+
| `--task-id <value>` | yes | taskId |
|
|
955
|
+
|
|
404
956
|
## `hubspot api tasks-get [options]`
|
|
405
957
|
|
|
406
958
|
- What: Read
|
|
@@ -431,6 +983,42 @@
|
|
|
431
983
|
| `--properties-with-history <value>` | no | A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored. Usage of this parameter will reduce the maximum number of objects that can be read by a single request. |
|
|
432
984
|
| `--all` | no | read every page, as the API pages it |
|
|
433
985
|
|
|
986
|
+
## `hubspot api tasks-update [options]`
|
|
987
|
+
|
|
988
|
+
- What: Update
|
|
989
|
+
- Call: `PATCH /crm/objects/2026-03/tasks/{taskId}`, effect: write
|
|
990
|
+
- Permission keys: `tasks.write`, `crm.assign-others`
|
|
991
|
+
- Body: `SimplePublicObjectInput`, required
|
|
992
|
+
|
|
993
|
+
| Flag | Required | What |
|
|
994
|
+
|---|---|---|
|
|
995
|
+
| `--task-id <value>` | yes | taskId |
|
|
996
|
+
| `--id-property <value>` | no | The name of a property whose values are unique for this object type |
|
|
997
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
998
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
999
|
+
|
|
1000
|
+
## `hubspot api tickets-create [options]`
|
|
1001
|
+
|
|
1002
|
+
- What: Create
|
|
1003
|
+
- Call: `POST /crm/objects/2026-03/tickets`, effect: write
|
|
1004
|
+
- Permission keys: `tickets.write`, `crm.assign-others`
|
|
1005
|
+
- Body: `SimplePublicObjectInputForCreate`, required
|
|
1006
|
+
|
|
1007
|
+
| Flag | Required | What |
|
|
1008
|
+
|---|---|---|
|
|
1009
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
1010
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
1011
|
+
|
|
1012
|
+
## `hubspot api tickets-delete [options]`
|
|
1013
|
+
|
|
1014
|
+
- What: Archive
|
|
1015
|
+
- Call: `DELETE /crm/objects/2026-03/tickets/{ticketId}`, effect: destructive
|
|
1016
|
+
- Permission keys: `tickets.delete`
|
|
1017
|
+
|
|
1018
|
+
| Flag | Required | What |
|
|
1019
|
+
|---|---|---|
|
|
1020
|
+
| `--ticket-id <value>` | yes | ticketId |
|
|
1021
|
+
|
|
434
1022
|
## `hubspot api tickets-get [options]`
|
|
435
1023
|
|
|
436
1024
|
- What: Read
|
|
@@ -460,3 +1048,17 @@
|
|
|
460
1048
|
| `--properties <value>` | no | A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored. |
|
|
461
1049
|
| `--properties-with-history <value>` | no | A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored. Usage of this parameter will reduce the maximum number of objects that can be read by a single request. |
|
|
462
1050
|
| `--all` | no | read every page, as the API pages it |
|
|
1051
|
+
|
|
1052
|
+
## `hubspot api tickets-update [options]`
|
|
1053
|
+
|
|
1054
|
+
- What: Update
|
|
1055
|
+
- Call: `PATCH /crm/objects/2026-03/tickets/{ticketId}`, effect: write
|
|
1056
|
+
- Permission keys: `tickets.write`, `crm.assign-others`
|
|
1057
|
+
- Body: `SimplePublicObjectInput`, required
|
|
1058
|
+
|
|
1059
|
+
| Flag | Required | What |
|
|
1060
|
+
|---|---|---|
|
|
1061
|
+
| `--ticket-id <value>` | yes | ticketId |
|
|
1062
|
+
| `--id-property <value>` | no | The name of a property whose values are unique for this object type |
|
|
1063
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
1064
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|