@wirecat/hubspot-cli 0.0.0-stage → 0.2.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.
Files changed (261) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/LICENSE +204 -0
  3. package/README.md +280 -2
  4. package/contracts/wirecat.json +3270 -0
  5. package/dist/bin/hubspot.d.ts +3 -0
  6. package/dist/bin/hubspot.d.ts.map +1 -0
  7. package/dist/bin/hubspot.js +40 -0
  8. package/dist/bin/hubspot.js.map +1 -0
  9. package/dist/bundle/all-profiles-64JAUYW4.js +279 -0
  10. package/dist/bundle/anthropic-VJOS4OUM.js +91 -0
  11. package/dist/bundle/app-server-GXV2OFML.js +245 -0
  12. package/dist/bundle/bun-M3J2QTR3.js +169 -0
  13. package/dist/bundle/bun-sqlite-IX3XYA5F.js +76 -0
  14. package/dist/bundle/chunk-24ERVFJP.js +73 -0
  15. package/dist/bundle/chunk-2QZK5BEP.js +392 -0
  16. package/dist/bundle/chunk-2UOJ7DLZ.js +46 -0
  17. package/dist/bundle/chunk-2VGD63G6.js +604 -0
  18. package/dist/bundle/chunk-2VGZRYEH.js +334 -0
  19. package/dist/bundle/chunk-36ITRDYY.js +63116 -0
  20. package/dist/bundle/chunk-3WLYWRGG.js +1395 -0
  21. package/dist/bundle/chunk-43EKCUBJ.js +72 -0
  22. package/dist/bundle/chunk-4W6BMH45.js +731 -0
  23. package/dist/bundle/chunk-5A6ZYNAQ.js +2003 -0
  24. package/dist/bundle/chunk-5D4AEUVA.js +24783 -0
  25. package/dist/bundle/chunk-5GBUCHRU.js +274 -0
  26. package/dist/bundle/chunk-5K7QLJMM.js +4072 -0
  27. package/dist/bundle/chunk-65TWQ7BV.js +54 -0
  28. package/dist/bundle/chunk-7ELMWE3P.js +12066 -0
  29. package/dist/bundle/chunk-ADLS6FVG.js +24600 -0
  30. package/dist/bundle/chunk-B3MANLNK.js +602 -0
  31. package/dist/bundle/chunk-C32AKHTY.js +2310 -0
  32. package/dist/bundle/chunk-CLAN3FES.js +1246 -0
  33. package/dist/bundle/chunk-CWXOXIWS.js +46 -0
  34. package/dist/bundle/chunk-D72URWJE.js +532 -0
  35. package/dist/bundle/chunk-DB2XKHI4.js +72 -0
  36. package/dist/bundle/chunk-DBEQI5YM.js +100 -0
  37. package/dist/bundle/chunk-DFCHHR5M.js +38 -0
  38. package/dist/bundle/chunk-DFDN6AUB.js +21 -0
  39. package/dist/bundle/chunk-DRWWJLI6.js +188 -0
  40. package/dist/bundle/chunk-DSP36YHQ.js +29 -0
  41. package/dist/bundle/chunk-E52JAS35.js +1028 -0
  42. package/dist/bundle/chunk-E5WLE7BM.js +78 -0
  43. package/dist/bundle/chunk-ECEZOLOD.js +230 -0
  44. package/dist/bundle/chunk-EH6ZEJGT.js +932 -0
  45. package/dist/bundle/chunk-FBCCBCFH.js +288 -0
  46. package/dist/bundle/chunk-FKA7DOCK.js +53 -0
  47. package/dist/bundle/chunk-FOZYMDRL.js +259 -0
  48. package/dist/bundle/chunk-FPUGMDJV.js +7 -0
  49. package/dist/bundle/chunk-FTFV3HFW.js +721 -0
  50. package/dist/bundle/chunk-GPYCBYX5.js +218 -0
  51. package/dist/bundle/chunk-H3TNVEQX.js +782 -0
  52. package/dist/bundle/chunk-HC5ZWE5X.js +193 -0
  53. package/dist/bundle/chunk-HCAZV5NP.js +95 -0
  54. package/dist/bundle/chunk-HZRQLAHO.js +16 -0
  55. package/dist/bundle/chunk-IJADZW42.js +195 -0
  56. package/dist/bundle/chunk-IMJQRPLN.js +92 -0
  57. package/dist/bundle/chunk-JLDBMEKZ.js +106 -0
  58. package/dist/bundle/chunk-LOBVOGOE.js +66 -0
  59. package/dist/bundle/chunk-LXZ66MCH.js +1328 -0
  60. package/dist/bundle/chunk-MFNMKHML.js +26462 -0
  61. package/dist/bundle/chunk-MVA5HVKL.js +1392 -0
  62. package/dist/bundle/chunk-N2XADGL4.js +76 -0
  63. package/dist/bundle/chunk-NHHJHXMQ.js +58 -0
  64. package/dist/bundle/chunk-NUU4WZVL.js +52 -0
  65. package/dist/bundle/chunk-NWHEHV3K.js +133 -0
  66. package/dist/bundle/chunk-NXERIDPJ.js +319 -0
  67. package/dist/bundle/chunk-O3DYRCIT.js +23 -0
  68. package/dist/bundle/chunk-O55RWNSH.js +161 -0
  69. package/dist/bundle/chunk-P5BHKKBI.js +206 -0
  70. package/dist/bundle/chunk-PPHBRESD.js +82 -0
  71. package/dist/bundle/chunk-PVKF24ZW.js +364 -0
  72. package/dist/bundle/chunk-Q2OLOMHL.js +4045 -0
  73. package/dist/bundle/chunk-QGFX5MXL.js +460 -0
  74. package/dist/bundle/chunk-QJW35N5V.js +761 -0
  75. package/dist/bundle/chunk-QU25DA5N.js +360 -0
  76. package/dist/bundle/chunk-RMIYKDUL.js +1068 -0
  77. package/dist/bundle/chunk-RR5MX5TM.js +142 -0
  78. package/dist/bundle/chunk-SDQGB4KB.js +185 -0
  79. package/dist/bundle/chunk-TBJYLC5K.js +2788 -0
  80. package/dist/bundle/chunk-TI46WQXQ.js +1197 -0
  81. package/dist/bundle/chunk-TKVL2C3B.js +170 -0
  82. package/dist/bundle/chunk-TLKEPUAV.js +786 -0
  83. package/dist/bundle/chunk-TOSCB4SO.js +1227 -0
  84. package/dist/bundle/chunk-TP7GDWVF.js +6848 -0
  85. package/dist/bundle/chunk-URX6YDUL.js +9393 -0
  86. package/dist/bundle/chunk-UUMUL4L3.js +72 -0
  87. package/dist/bundle/chunk-VOH7S5M4.js +40963 -0
  88. package/dist/bundle/chunk-W53EJOFQ.js +63 -0
  89. package/dist/bundle/chunk-W7HM2VGO.js +24 -0
  90. package/dist/bundle/chunk-WE4UFASG.js +88 -0
  91. package/dist/bundle/chunk-X2M6NIQG.js +18 -0
  92. package/dist/bundle/chunk-XRREFEIW.js +372 -0
  93. package/dist/bundle/chunk-Y5E2WNWB.js +35 -0
  94. package/dist/bundle/chunk-YMCY7VRE.js +1846 -0
  95. package/dist/bundle/chunk-Z73OL5HV.js +41 -0
  96. package/dist/bundle/chunk-ZVVMGPBJ.js +50 -0
  97. package/dist/bundle/command-contract-C6CBFXZF.js +40 -0
  98. package/dist/bundle/command-server-entry-DJKVVZCQ.js +169 -0
  99. package/dist/bundle/decode-FC65Y4IV.js +297 -0
  100. package/dist/bundle/definitions-MVPICAWV.js +2991 -0
  101. package/dist/bundle/dispatch-KOISQ5QJ.js +411 -0
  102. package/dist/bundle/dist-7TGU56B2.js +7577 -0
  103. package/dist/bundle/echarts-FVTUDXDU.js +42501 -0
  104. package/dist/bundle/embed-VNBZFPYH.js +38 -0
  105. package/dist/bundle/embedder-6U4NOFRO.js +111 -0
  106. package/dist/bundle/failure-FZ6VYKEQ.js +25 -0
  107. package/dist/bundle/first-run-UWAFSINQ.js +29 -0
  108. package/dist/bundle/first-screen-RTVMGHAE.js +40 -0
  109. package/dist/bundle/hubspot.js +198 -0
  110. package/dist/bundle/instructions-HET7BCYK.js +11 -0
  111. package/dist/bundle/mcp-RGNRW77S.js +167 -0
  112. package/dist/bundle/meeting-combined-L5AGBPYX.js +25 -0
  113. package/dist/bundle/meeting-model-NTB4RK3F.js +25 -0
  114. package/dist/bundle/meeting-semantic-JY3OGCBS.js +22 -0
  115. package/dist/bundle/node-CXZIFHZC.js +176 -0
  116. package/dist/bundle/node-P4E63KXA.js +2340 -0
  117. package/dist/bundle/node-TLZSIHIJ.js +21 -0
  118. package/dist/bundle/node-sqlite-P3O7XN7Q.js +74 -0
  119. package/dist/bundle/oauth-HNCY4B2S.js +20 -0
  120. package/dist/bundle/open-F4P6YV54.js +23 -0
  121. package/dist/bundle/openai-4AICLIK3.js +238 -0
  122. package/dist/bundle/process-5RUXWGYS.js +91 -0
  123. package/dist/bundle/program-XA4C44Z4.js +9374 -0
  124. package/dist/bundle/prompt-NFMDVBZ4.js +17 -0
  125. package/dist/bundle/recognize-DKN3RY4V.js +26 -0
  126. package/dist/bundle/remote-6QHAGQWY.js +31 -0
  127. package/dist/bundle/rerank-M4KHEHUZ.js +52 -0
  128. package/dist/bundle/schemas-JRL3DLMP.js +952 -0
  129. package/dist/bundle/serve-DNU43ND6.js +199 -0
  130. package/dist/bundle/server-ATG5KY7K.js +207 -0
  131. package/dist/bundle/server-VNWVVH7A.js +77 -0
  132. package/dist/bundle/source-54HR4IWG.js +661 -0
  133. package/dist/bundle/sqlite-runtime-EMQAC63N.js +20 -0
  134. package/dist/bundle/state-T45CX7VY.js +36 -0
  135. package/dist/bundle/store-6LCEVBAZ.js +176 -0
  136. package/dist/bundle/store-6TZ2FCVA.js +295 -0
  137. package/dist/bundle/store-DXWYNVVB.js +32 -0
  138. package/dist/bundle/store-maintenance-command-J57HCJYY.js +68 -0
  139. package/dist/bundle/writer-NLLI5YRM.js +79 -0
  140. package/dist/commands/account.d.ts +3 -0
  141. package/dist/commands/account.d.ts.map +1 -0
  142. package/dist/commands/account.js +87 -0
  143. package/dist/commands/account.js.map +1 -0
  144. package/dist/commands/api.d.ts +9 -0
  145. package/dist/commands/api.d.ts.map +1 -0
  146. package/dist/commands/api.js +70 -0
  147. package/dist/commands/api.js.map +1 -0
  148. package/dist/commands/crm-shared.d.ts +8 -0
  149. package/dist/commands/crm-shared.d.ts.map +1 -0
  150. package/dist/commands/crm-shared.js +109 -0
  151. package/dist/commands/crm-shared.js.map +1 -0
  152. package/dist/commands/schedule.d.ts +3 -0
  153. package/dist/commands/schedule.d.ts.map +1 -0
  154. package/dist/commands/schedule.js +9 -0
  155. package/dist/commands/schedule.js.map +1 -0
  156. package/dist/commands/session.d.ts +14 -0
  157. package/dist/commands/session.d.ts.map +1 -0
  158. package/dist/commands/session.js +164 -0
  159. package/dist/commands/session.js.map +1 -0
  160. package/dist/config.d.ts +60 -0
  161. package/dist/config.d.ts.map +1 -0
  162. package/dist/config.js +153 -0
  163. package/dist/config.js.map +1 -0
  164. package/dist/context.d.ts +88 -0
  165. package/dist/context.d.ts.map +1 -0
  166. package/dist/context.js +137 -0
  167. package/dist/context.js.map +1 -0
  168. package/dist/crm/activities.d.ts +24 -0
  169. package/dist/crm/activities.d.ts.map +1 -0
  170. package/dist/crm/activities.js +214 -0
  171. package/dist/crm/activities.js.map +1 -0
  172. package/dist/crm/associations.d.ts +20 -0
  173. package/dist/crm/associations.d.ts.map +1 -0
  174. package/dist/crm/associations.js +47 -0
  175. package/dist/crm/associations.js.map +1 -0
  176. package/dist/crm/records.d.ts +63 -0
  177. package/dist/crm/records.d.ts.map +1 -0
  178. package/dist/crm/records.js +333 -0
  179. package/dist/crm/records.js.map +1 -0
  180. package/dist/crm/search.d.ts +57 -0
  181. package/dist/crm/search.d.ts.map +1 -0
  182. package/dist/crm/search.js +47 -0
  183. package/dist/crm/search.js.map +1 -0
  184. package/dist/crm/source.d.ts +37 -0
  185. package/dist/crm/source.d.ts.map +1 -0
  186. package/dist/crm/source.js +366 -0
  187. package/dist/crm/source.js.map +1 -0
  188. package/dist/crm/writer.d.ts +15 -0
  189. package/dist/crm/writer.d.ts.map +1 -0
  190. package/dist/crm/writer.js +199 -0
  191. package/dist/crm/writer.js.map +1 -0
  192. package/dist/generated/definitions.d.ts +3 -0
  193. package/dist/generated/definitions.d.ts.map +1 -0
  194. package/dist/generated/definitions.js +2987 -0
  195. package/dist/generated/definitions.js.map +1 -0
  196. package/dist/generated/manifest.d.ts +6 -0
  197. package/dist/generated/manifest.d.ts.map +1 -0
  198. package/dist/generated/manifest.js +6504 -0
  199. package/dist/generated/manifest.js.map +1 -0
  200. package/dist/generated/schemas.d.ts +205 -0
  201. package/dist/generated/schemas.d.ts.map +1 -0
  202. package/dist/generated/schemas.js +810 -0
  203. package/dist/generated/schemas.js.map +1 -0
  204. package/dist/generated/types.d.ts +1114 -0
  205. package/dist/generated/types.d.ts.map +1 -0
  206. package/dist/generated/types.js +5 -0
  207. package/dist/generated/types.js.map +1 -0
  208. package/dist/hubspot/account.d.ts +12 -0
  209. package/dist/hubspot/account.d.ts.map +1 -0
  210. package/dist/hubspot/account.js +23 -0
  211. package/dist/hubspot/account.js.map +1 -0
  212. package/dist/hubspot/transport.d.ts +81 -0
  213. package/dist/hubspot/transport.d.ts.map +1 -0
  214. package/dist/hubspot/transport.js +354 -0
  215. package/dist/hubspot/transport.js.map +1 -0
  216. package/dist/identity.d.ts +7 -0
  217. package/dist/identity.d.ts.map +1 -0
  218. package/dist/identity.js +32 -0
  219. package/dist/identity.js.map +1 -0
  220. package/dist/index.d.ts +3 -0
  221. package/dist/index.d.ts.map +1 -0
  222. package/dist/index.js +3 -0
  223. package/dist/index.js.map +1 -0
  224. package/dist/program.d.ts +6 -0
  225. package/dist/program.d.ts.map +1 -0
  226. package/dist/program.js +78 -0
  227. package/dist/program.js.map +1 -0
  228. package/dist/reasons.d.ts +10 -0
  229. package/dist/reasons.d.ts.map +1 -0
  230. package/dist/reasons.js +33 -0
  231. package/dist/reasons.js.map +1 -0
  232. package/dist/setup/flow.d.ts +2 -0
  233. package/dist/setup/flow.d.ts.map +1 -0
  234. package/dist/setup/flow.js +97 -0
  235. package/dist/setup/flow.js.map +1 -0
  236. package/dist/setup/texts.en.json +19 -0
  237. package/dist/setup/texts.es.json +19 -0
  238. package/dist/setup/texts.ru.json +19 -0
  239. package/dist/store.d.ts +16 -0
  240. package/dist/store.d.ts.map +1 -0
  241. package/dist/store.js +34 -0
  242. package/dist/store.js.map +1 -0
  243. package/dist/version.d.ts +2 -0
  244. package/dist/version.d.ts.map +1 -0
  245. package/dist/version.js +2 -0
  246. package/dist/version.js.map +1 -0
  247. package/dist/wcat.d.ts +3 -0
  248. package/dist/wcat.d.ts.map +1 -0
  249. package/dist/wcat.js +4 -0
  250. package/dist/wcat.js.map +1 -0
  251. package/dist/whoami.d.ts +19 -0
  252. package/dist/whoami.d.ts.map +1 -0
  253. package/dist/whoami.js +15 -0
  254. package/dist/whoami.js.map +1 -0
  255. package/package.json +98 -4
  256. package/skills/hubspot-cli/SKILL.md +102 -0
  257. package/skills/hubspot-cli/references/api/api-advanced.md +51 -0
  258. package/skills/hubspot-cli/references/api/api-basic.md +1064 -0
  259. package/skills/hubspot-cli/references/api/api-batch.md +724 -0
  260. package/skills/hubspot-cli/references/api/api-search.md +147 -0
  261. package/skills/hubspot-cli/references/api.md +16 -0
@@ -0,0 +1,1064 @@
1
+ <!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
2
+
3
+ # HubSpot API: Basic
4
+
5
+ ## `hubspot api account-info-api-usage-daily-private-apps-list`
6
+
7
+ - What: Retrieve private app daily API usage
8
+ - Call: `GET /account-info/2026-03/api-usage/daily/private-apps`, effect: read
9
+
10
+ ## `hubspot api account-info-details-list`
11
+
12
+ - What: Retrieve account details
13
+ - Call: `GET /account-info/2026-03/details`, effect: read
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
+
28
+ ## `hubspot api associations-get [options]`
29
+
30
+ - What: Retrieve all associations by object type
31
+ - Call: `GET /crm/objects/2026-03/{objectType}/{objectId}/associations/{toObjectType}`, effect: read
32
+ - Pages: cursor: send `after` (query), read the next one from `paging.next.after`; items in `results`; page size in `limit` (query)
33
+
34
+ | Flag | Required | What |
35
+ |---|---|---|
36
+ | `--object-id <value>` | yes | objectId |
37
+ | `--object-type <value>` | yes | objectType |
38
+ | `--to-object-type <value>` | yes | toObjectType |
39
+ | `--after <value>` | no | The paging cursor token of the last successfully read resource will be returned as the \`paging.next.after\` JSON property of a paged response containing more results. |
40
+ | `--limit <value>` | no | The maximum number of results to display per page. |
41
+ | `--all` | no | read every page, as the API pages it |
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
+
91
+ ## `hubspot api calls-get [options]`
92
+
93
+ - What: Read
94
+ - Call: `GET /crm/objects/2026-03/calls/{callId}`, effect: read
95
+
96
+ | Flag | Required | What |
97
+ |---|---|---|
98
+ | `--call-id <value>` | yes | callId |
99
+ | `--archived <value>` | no | Whether to return only results that have been archived. |
100
+ | `--associations <value>` | no | A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored. |
101
+ | `--id-property <value>` | no | The name of a property whose values are unique for this object type |
102
+ | `--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. |
103
+ | `--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. |
104
+
105
+ ## `hubspot api calls-list [options]`
106
+
107
+ - What: List
108
+ - Call: `GET /crm/objects/2026-03/calls`, effect: read
109
+ - Pages: cursor: send `after` (query), read the next one from `paging.next.after`; items in `results`; page size in `limit` (query)
110
+
111
+ | Flag | Required | What |
112
+ |---|---|---|
113
+ | `--after <value>` | no | The paging cursor token of the last successfully read resource will be returned as the \`paging.next.after\` JSON property of a paged response containing more results. |
114
+ | `--archived <value>` | no | Whether to return only results that have been archived. |
115
+ | `--associations <value>` | no | A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored. |
116
+ | `--limit <value>` | no | The maximum number of results to display per page. |
117
+ | `--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. |
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. |
119
+ | `--all` | no | read every page, as the API pages it |
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
+
157
+ ## `hubspot api companies-get [options]`
158
+
159
+ - What: Retrieve a company
160
+ - Call: `GET /crm/objects/2026-03/companies/{companyId}`, effect: read
161
+
162
+ | Flag | Required | What |
163
+ |---|---|---|
164
+ | `--company-id <value>` | yes | companyId |
165
+ | `--archived <value>` | no | Whether to return only results that have been archived. |
166
+ | `--associations <value>` | no | A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored. |
167
+ | `--id-property <value>` | no | The name of a property whose values are unique for this object type |
168
+ | `--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. |
169
+ | `--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. |
170
+
171
+ ## `hubspot api companies-list [options]`
172
+
173
+ - What: Retrieve companies
174
+ - Call: `GET /crm/objects/2026-03/companies`, effect: read
175
+ - Pages: cursor: send `after` (query), read the next one from `paging.next.after`; items in `results`; page size in `limit` (query)
176
+
177
+ | Flag | Required | What |
178
+ |---|---|---|
179
+ | `--after <value>` | no | The paging cursor token of the last successfully read resource will be returned as the \`paging.next.after\` JSON property of a paged response containing more results. |
180
+ | `--archived <value>` | no | Whether to return only results that have been archived. |
181
+ | `--associations <value>` | no | A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored. |
182
+ | `--limit <value>` | no | The maximum number of results to display per page. |
183
+ | `--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. |
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. |
185
+ | `--all` | no | read every page, as the API pages it |
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
+
223
+ ## `hubspot api contacts-get [options]`
224
+
225
+ - What: Retrieve a contact
226
+ - Call: `GET /crm/objects/2026-03/contacts/{contactId}`, effect: read
227
+
228
+ | Flag | Required | What |
229
+ |---|---|---|
230
+ | `--contact-id <value>` | yes | contactId |
231
+ | `--archived <value>` | no | Whether to return only results that have been archived. |
232
+ | `--associations <value>` | no | A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored. |
233
+ | `--id-property <value>` | no | The name of a property whose values are unique for this object type |
234
+ | `--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. |
235
+ | `--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. |
236
+
237
+ ## `hubspot api contacts-list [options]`
238
+
239
+ - What: Retrieve contacts
240
+ - Call: `GET /crm/objects/2026-03/contacts`, effect: read
241
+ - Pages: cursor: send `after` (query), read the next one from `paging.next.after`; items in `results`; page size in `limit` (query)
242
+
243
+ | Flag | Required | What |
244
+ |---|---|---|
245
+ | `--after <value>` | no | The paging cursor token of the last successfully read resource will be returned as the \`paging.next.after\` JSON property of a paged response containing more results. |
246
+ | `--archived <value>` | no | Whether to return only results that have been archived. |
247
+ | `--associations <value>` | no | A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored. |
248
+ | `--limit <value>` | no | The maximum number of results to display per page. |
249
+ | `--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. |
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. |
251
+ | `--all` | no | read every page, as the API pages it |
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
+
289
+ ## `hubspot api deals-get [options]`
290
+
291
+ - What: Read
292
+ - Call: `GET /crm/objects/2026-03/0-3/{dealId}`, effect: read
293
+
294
+ | Flag | Required | What |
295
+ |---|---|---|
296
+ | `--deal-id <value>` | yes | dealId |
297
+ | `--archived <value>` | no | Whether to return only results that have been archived. |
298
+ | `--associations <value>` | no | A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored. |
299
+ | `--id-property <value>` | no | The name of a property whose values are unique for this object type |
300
+ | `--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. |
301
+ | `--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. |
302
+
303
+ ## `hubspot api deals-list [options]`
304
+
305
+ - What: List
306
+ - Call: `GET /crm/objects/2026-03/0-3`, effect: read
307
+ - Pages: cursor: send `after` (query), read the next one from `paging.next.after`; items in `results`; page size in `limit` (query)
308
+
309
+ | Flag | Required | What |
310
+ |---|---|---|
311
+ | `--after <value>` | no | The paging cursor token of the last successfully read resource will be returned as the \`paging.next.after\` JSON property of a paged response containing more results. |
312
+ | `--archived <value>` | no | Whether to return only results that have been archived. |
313
+ | `--associations <value>` | no | A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored. |
314
+ | `--limit <value>` | no | The maximum number of results to display per page. |
315
+ | `--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. |
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. |
317
+ | `--all` | no | read every page, as the API pages it |
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
+
367
+ ## `hubspot api emails-get [options]`
368
+
369
+ - What: Read
370
+ - Call: `GET /crm/objects/2026-03/emails/{emailId}`, effect: read
371
+
372
+ | Flag | Required | What |
373
+ |---|---|---|
374
+ | `--email-id <value>` | yes | emailId |
375
+ | `--archived <value>` | no | Whether to return only results that have been archived. |
376
+ | `--associations <value>` | no | A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored. |
377
+ | `--id-property <value>` | no | The name of a property whose values are unique for this object type |
378
+ | `--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. |
379
+ | `--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. |
380
+
381
+ ## `hubspot api emails-list [options]`
382
+
383
+ - What: List
384
+ - Call: `GET /crm/objects/2026-03/emails`, effect: read
385
+ - Pages: cursor: send `after` (query), read the next one from `paging.next.after`; items in `results`; page size in `limit` (query)
386
+
387
+ | Flag | Required | What |
388
+ |---|---|---|
389
+ | `--after <value>` | no | The paging cursor token of the last successfully read resource will be returned as the \`paging.next.after\` JSON property of a paged response containing more results. |
390
+ | `--archived <value>` | no | Whether to return only results that have been archived. |
391
+ | `--associations <value>` | no | A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored. |
392
+ | `--limit <value>` | no | The maximum number of results to display per page. |
393
+ | `--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. |
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. |
395
+ | `--all` | no | read every page, as the API pages it |
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
+
433
+ ## `hubspot api leads-get [options]`
434
+
435
+ - What: Read
436
+ - Call: `GET /crm/objects/2026-03/leads/{leadsId}`, effect: read
437
+
438
+ | Flag | Required | What |
439
+ |---|---|---|
440
+ | `--leads-id <value>` | yes | leadsId |
441
+ | `--archived <value>` | no | Whether to return only results that have been archived. |
442
+ | `--associations <value>` | no | A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored. |
443
+ | `--id-property <value>` | no | The name of a property whose values are unique for this object type |
444
+ | `--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. |
445
+ | `--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. |
446
+
447
+ ## `hubspot api leads-list [options]`
448
+
449
+ - What: List
450
+ - Call: `GET /crm/objects/2026-03/leads`, effect: read
451
+ - Pages: cursor: send `after` (query), read the next one from `paging.next.after`; items in `results`; page size in `limit` (query)
452
+
453
+ | Flag | Required | What |
454
+ |---|---|---|
455
+ | `--after <value>` | no | The paging cursor token of the last successfully read resource will be returned as the \`paging.next.after\` JSON property of a paged response containing more results. |
456
+ | `--archived <value>` | no | Whether to return only results that have been archived. |
457
+ | `--associations <value>` | no | A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored. |
458
+ | `--limit <value>` | no | The maximum number of results to display per page. |
459
+ | `--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. |
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. |
461
+ | `--all` | no | read every page, as the API pages it |
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
+
499
+ ## `hubspot api meetings-get [options]`
500
+
501
+ - What: Read
502
+ - Call: `GET /crm/objects/2026-03/meetings/{meetingId}`, effect: read
503
+
504
+ | Flag | Required | What |
505
+ |---|---|---|
506
+ | `--meeting-id <value>` | yes | meetingId |
507
+ | `--archived <value>` | no | Whether to return only results that have been archived. |
508
+ | `--associations <value>` | no | A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored. |
509
+ | `--id-property <value>` | no | The name of a property whose values are unique for this object type |
510
+ | `--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. |
511
+ | `--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. |
512
+
513
+ ## `hubspot api meetings-list [options]`
514
+
515
+ - What: List
516
+ - Call: `GET /crm/objects/2026-03/meetings`, effect: read
517
+ - Pages: cursor: send `after` (query), read the next one from `paging.next.after`; items in `results`; page size in `limit` (query)
518
+
519
+ | Flag | Required | What |
520
+ |---|---|---|
521
+ | `--after <value>` | no | The paging cursor token of the last successfully read resource will be returned as the \`paging.next.after\` JSON property of a paged response containing more results. |
522
+ | `--archived <value>` | no | Whether to return only results that have been archived. |
523
+ | `--associations <value>` | no | A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored. |
524
+ | `--limit <value>` | no | The maximum number of results to display per page. |
525
+ | `--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. |
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. |
527
+ | `--all` | no | read every page, as the API pages it |
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
+
565
+ ## `hubspot api notes-get [options]`
566
+
567
+ - What: Read
568
+ - Call: `GET /crm/objects/2026-03/notes/{noteId}`, effect: read
569
+
570
+ | Flag | Required | What |
571
+ |---|---|---|
572
+ | `--note-id <value>` | yes | noteId |
573
+ | `--archived <value>` | no | Whether to return only results that have been archived. |
574
+ | `--associations <value>` | no | A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored. |
575
+ | `--id-property <value>` | no | The name of a property whose values are unique for this object type |
576
+ | `--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. |
577
+ | `--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. |
578
+
579
+ ## `hubspot api notes-list [options]`
580
+
581
+ - What: List
582
+ - Call: `GET /crm/objects/2026-03/notes`, effect: read
583
+ - Pages: cursor: send `after` (query), read the next one from `paging.next.after`; items in `results`; page size in `limit` (query)
584
+
585
+ | Flag | Required | What |
586
+ |---|---|---|
587
+ | `--after <value>` | no | The paging cursor token of the last successfully read resource will be returned as the \`paging.next.after\` JSON property of a paged response containing more results. |
588
+ | `--archived <value>` | no | Whether to return only results that have been archived. |
589
+ | `--associations <value>` | no | A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored. |
590
+ | `--limit <value>` | no | The maximum number of results to display per page. |
591
+ | `--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. |
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. |
593
+ | `--all` | no | read every page, as the API pages it |
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
+
609
+ ## `hubspot api owners-get [options]`
610
+
611
+ - What: Retrieve a specific owner by ID
612
+ - Call: `GET /crm/owners/2026-03/{ownerId}`, effect: read
613
+
614
+ | Flag | Required | What |
615
+ |---|---|---|
616
+ | `--owner-id <value>` | yes | The unique identifier of the owner to retrieve. |
617
+ | `--archived <value>` | no | Whether to return only results that have been archived. |
618
+ | `--id-property <value>` | no | Specifies which property to use for identifying the owner. Valid values are 'id' or 'userId'. Defaults to 'id'. |
619
+
620
+ ## `hubspot api owners-list [options]`
621
+
622
+ - What: List owners
623
+ - Call: `GET /crm/owners/2026-03`, effect: read
624
+ - Pages: cursor: send `after` (query), read the next one from `paging.next.after`; items in `results`; page size in `limit` (query)
625
+
626
+ | Flag | Required | What |
627
+ |---|---|---|
628
+ | `--after <value>` | no | The paging cursor token of the last successfully read resource will be returned as the \`paging.next.after\` JSON property of a paged response containing more results. |
629
+ | `--archived <value>` | no | Whether to return only results that have been archived. |
630
+ | `--email <value>` | no | Filter by email address (optional) |
631
+ | `--limit <value>` | no | The maximum number of results to display per page. |
632
+ | `--all` | no | read every page, as the API pages it |
633
+
634
+ ## `hubspot api pipelines-audit-list [options]`
635
+
636
+ - What: Return an audit of all changes to the pipeline
637
+ - Call: `GET /crm/pipelines/2026-03/{objectType}/{pipelineId}/audit`, effect: read
638
+
639
+ | Flag | Required | What |
640
+ |---|---|---|
641
+ | `--object-type <value>` | yes | objectType |
642
+ | `--pipeline-id <value>` | yes | pipelineId |
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
+
670
+ ## `hubspot api pipelines-get [options]`
671
+
672
+ - What: Return a pipeline by ID
673
+ - Call: `GET /crm/pipelines/2026-03/{objectType}/{pipelineId}`, effect: read
674
+
675
+ | Flag | Required | What |
676
+ |---|---|---|
677
+ | `--object-type <value>` | yes | objectType |
678
+ | `--pipeline-id <value>` | yes | pipelineId |
679
+
680
+ ## `hubspot api pipelines-list [options]`
681
+
682
+ - What: Retrieve all pipelines
683
+ - Call: `GET /crm/pipelines/2026-03/{objectType}`, effect: read
684
+
685
+ | Flag | Required | What |
686
+ |---|---|---|
687
+ | `--object-type <value>` | yes | objectType |
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
+
705
+ ## `hubspot api pipelines-stages-audit-list [options]`
706
+
707
+ - What: Retrieve a reverse chronological list of all changes made to a specific pipeline stage.
708
+ - Call: `GET /crm/pipelines/2026-03/{objectType}/{pipelineId}/stages/{stageId}/audit`, effect: read
709
+
710
+ | Flag | Required | What |
711
+ |---|---|---|
712
+ | `--object-type <value>` | yes | objectType |
713
+ | `--pipeline-id <value>` | yes | pipelineId |
714
+ | `--stage-id <value>` | yes | stageId |
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
+
743
+ ## `hubspot api pipelines-stages-get [options]`
744
+
745
+ - What: Return a pipeline stage by ID
746
+ - Call: `GET /crm/pipelines/2026-03/{objectType}/{pipelineId}/stages/{stageId}`, effect: read
747
+
748
+ | Flag | Required | What |
749
+ |---|---|---|
750
+ | `--object-type <value>` | yes | objectType |
751
+ | `--pipeline-id <value>` | yes | pipelineId |
752
+ | `--stage-id <value>` | yes | stageId |
753
+
754
+ ## `hubspot api pipelines-stages-list [options]`
755
+
756
+ - What: Return all stages of a pipeline
757
+ - Call: `GET /crm/pipelines/2026-03/{objectType}/{pipelineId}/stages`, effect: read
758
+
759
+ | Flag | Required | What |
760
+ |---|---|---|
761
+ | `--object-type <value>` | yes | objectType |
762
+ | `--pipeline-id <value>` | yes | pipelineId |
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
+
834
+ ## `hubspot api properties-get [options]`
835
+
836
+ - What: Read a property
837
+ - Call: `GET /crm/properties/2026-03/{objectType}/{propertyName}`, effect: read
838
+
839
+ | Flag | Required | What |
840
+ |---|---|---|
841
+ | `--object-type <value>` | yes | The type of object the property belongs to, such as 'contacts' or 'deals'. |
842
+ | `--property-name <value>` | yes | The name of the property to retrieve. |
843
+ | `--archived <value>` | no | Whether to return only results that have been archived. |
844
+ | `--data-sensitivity <value>` | no | The level of data sensitivity to filter properties by. Valid values are 'non\_sensitive', 'sensitive', and 'highly\_sensitive'. Defaults to 'non\_sensitive'. |
845
+ | `--locale <value>` | no | The locale to use for property labels and descriptions. |
846
+ | `--properties <value>` | no | A comma-separated list of property names to include in the response. |
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
+
872
+ ## `hubspot api properties-groups-get [options]`
873
+
874
+ - What: Read a property group
875
+ - Call: `GET /crm/properties/2026-03/{objectType}/groups/{groupName}`, effect: read
876
+
877
+ | Flag | Required | What |
878
+ |---|---|---|
879
+ | `--group-name <value>` | yes | The name of the property group to retrieve details for. |
880
+ | `--object-type <value>` | yes | The type of CRM object for which the property group is being retrieved, such as contacts or deals. |
881
+ | `--locale <value>` | no | The language locale to use for the response. This can affect the language of the labels and descriptions returned. |
882
+
883
+ ## `hubspot api properties-groups-list [options]`
884
+
885
+ - What: Read all property groups
886
+ - Call: `GET /crm/properties/2026-03/{objectType}/groups`, effect: read
887
+
888
+ | Flag | Required | What |
889
+ |---|---|---|
890
+ | `--object-type <value>` | yes | The type of CRM object for which to retrieve property groups, such as 'contacts' or 'deals'. |
891
+ | `--locale <value>` | no | The language locale to use for property group labels. This can help in displaying labels in the preferred language. |
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
+
907
+ ## `hubspot api properties-list [options]`
908
+
909
+ - What: Read all properties
910
+ - Call: `GET /crm/properties/2026-03/{objectType}`, effect: read
911
+
912
+ | Flag | Required | What |
913
+ |---|---|---|
914
+ | `--object-type <value>` | yes | The type of CRM object for which properties are being retrieved, such as 'contacts', 'companies', etc. |
915
+ | `--archived <value>` | no | Whether to return only results that have been archived. |
916
+ | `--data-sensitivity <value>` | no | Filter properties based on data sensitivity level. Valid values are 'non\_sensitive', 'sensitive', and 'highly\_sensitive'. Defaults to 'non\_sensitive'. |
917
+ | `--locale <value>` | no | Specify the locale to retrieve properties in a particular language or regional format. |
918
+ | `--properties <value>` | no | A comma-separated list of property names to include in the response. |
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
+
956
+ ## `hubspot api tasks-get [options]`
957
+
958
+ - What: Read
959
+ - Call: `GET /crm/objects/2026-03/tasks/{taskId}`, effect: read
960
+
961
+ | Flag | Required | What |
962
+ |---|---|---|
963
+ | `--task-id <value>` | yes | taskId |
964
+ | `--archived <value>` | no | Whether to return only results that have been archived. |
965
+ | `--associations <value>` | no | A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored. |
966
+ | `--id-property <value>` | no | The name of a property whose values are unique for this object type |
967
+ | `--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. |
968
+ | `--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. |
969
+
970
+ ## `hubspot api tasks-list [options]`
971
+
972
+ - What: List
973
+ - Call: `GET /crm/objects/2026-03/tasks`, effect: read
974
+ - Pages: cursor: send `after` (query), read the next one from `paging.next.after`; items in `results`; page size in `limit` (query)
975
+
976
+ | Flag | Required | What |
977
+ |---|---|---|
978
+ | `--after <value>` | no | The paging cursor token of the last successfully read resource will be returned as the \`paging.next.after\` JSON property of a paged response containing more results. |
979
+ | `--archived <value>` | no | Whether to return only results that have been archived. |
980
+ | `--associations <value>` | no | A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored. |
981
+ | `--limit <value>` | no | The maximum number of results to display per page. |
982
+ | `--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. |
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. |
984
+ | `--all` | no | read every page, as the API pages it |
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
+
1022
+ ## `hubspot api tickets-get [options]`
1023
+
1024
+ - What: Read
1025
+ - Call: `GET /crm/objects/2026-03/tickets/{ticketId}`, effect: read
1026
+
1027
+ | Flag | Required | What |
1028
+ |---|---|---|
1029
+ | `--ticket-id <value>` | yes | ticketId |
1030
+ | `--archived <value>` | no | Whether to return only results that have been archived. |
1031
+ | `--associations <value>` | no | A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored. |
1032
+ | `--id-property <value>` | no | The name of a property whose values are unique for this object type |
1033
+ | `--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. |
1034
+ | `--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. |
1035
+
1036
+ ## `hubspot api tickets-list [options]`
1037
+
1038
+ - What: List
1039
+ - Call: `GET /crm/objects/2026-03/tickets`, effect: read
1040
+ - Pages: cursor: send `after` (query), read the next one from `paging.next.after`; items in `results`; page size in `limit` (query)
1041
+
1042
+ | Flag | Required | What |
1043
+ |---|---|---|
1044
+ | `--after <value>` | no | The paging cursor token of the last successfully read resource will be returned as the \`paging.next.after\` JSON property of a paged response containing more results. |
1045
+ | `--archived <value>` | no | Whether to return only results that have been archived. |
1046
+ | `--associations <value>` | no | A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored. |
1047
+ | `--limit <value>` | no | The maximum number of results to display per page. |
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. |
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. |
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 |