postboost 1.28.0 → 1.29.1

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 (323) hide show
  1. package/README.md +1 -1
  2. package/api/aIApi.ts +1 -1
  3. package/api/accountGroupsApi.ts +1 -1
  4. package/api/accountsApi.ts +1 -1
  5. package/api/activityApi.ts +1 -1
  6. package/api/agentsApi.ts +1 -1
  7. package/api/analyticsApi.ts +1 -1
  8. package/api/competitorsApi.ts +1 -1
  9. package/api/freeToolsApi.ts +149 -1
  10. package/api/hashtagGroupsApi.ts +1 -1
  11. package/api/inboxApi.ts +1 -1
  12. package/api/mediaApi.ts +1 -1
  13. package/api/mentionsApi.ts +1 -1
  14. package/api/postingScheduleApi.ts +1 -1
  15. package/api/postsApi.ts +1 -1
  16. package/api/receiptsApi.ts +1 -1
  17. package/api/subscriptionsApi.ts +1 -1
  18. package/api/tagsApi.ts +1 -1
  19. package/api/templatesApi.ts +1 -1
  20. package/api/usersApi.ts +1 -1
  21. package/api/webhooksApi.ts +1 -1
  22. package/api/workspacesApi.ts +1 -1
  23. package/model/aICredits.ts +1 -1
  24. package/model/aIUsage.ts +1 -1
  25. package/model/aIUsageText.ts +1 -1
  26. package/model/account.ts +1 -1
  27. package/model/accountAnalytics.ts +1 -1
  28. package/model/accountAnalyticsInitialSync.ts +1 -1
  29. package/model/accountConnectionHealth.ts +1 -1
  30. package/model/accountErrorsInner.ts +1 -1
  31. package/model/accountErrorsInnerOneOf.ts +1 -1
  32. package/model/accountGroup.ts +1 -1
  33. package/model/accountGroupInput.ts +1 -1
  34. package/model/accountHealth.ts +1 -1
  35. package/model/accountHealthDailyCap.ts +1 -1
  36. package/model/accountSchedule.ts +1 -1
  37. package/model/addCompetitor202Response.ts +1 -1
  38. package/model/addCompetitor409Response.ts +1 -1
  39. package/model/addGenericSubscriptionRequest.ts +1 -1
  40. package/model/addPostToQueueRequest.ts +1 -1
  41. package/model/agentPageMeta.ts +1 -1
  42. package/model/agentProposal.ts +1 -1
  43. package/model/agentProposalDecision.ts +1 -1
  44. package/model/agentRun.ts +1 -1
  45. package/model/analyticsPeriod.ts +1 -1
  46. package/model/analyticsSummary.ts +1 -1
  47. package/model/analyticsSummaryData.ts +1 -1
  48. package/model/apiActivity.ts +1 -1
  49. package/model/apiActivityOutcome.ts +1 -1
  50. package/model/apiKey.ts +1 -1
  51. package/model/apiKeyAbility.ts +1 -1
  52. package/model/apiKeyInput.ts +1 -1
  53. package/model/approveAgentProposal200Response.ts +1 -1
  54. package/model/approveAgentProposal409Response.ts +1 -1
  55. package/model/approveInboxReplyDraft403Response.ts +1 -1
  56. package/model/approvePostRequest.ts +1 -1
  57. package/model/bestPostingTimes.ts +1 -1
  58. package/model/bestPostingTimesTimesInner.ts +1 -1
  59. package/model/blogToSocial200Response.ts +1 -1
  60. package/model/blogToSocial429Response.ts +1 -1
  61. package/model/blogToSocialCaption.ts +1 -1
  62. package/model/blogToSocialInput.ts +1 -1
  63. package/model/blogToSocialMedia.ts +1 -1
  64. package/model/blogToSocialResponse.ts +1 -1
  65. package/model/brandVoice.ts +1 -1
  66. package/model/brandVoiceInput.ts +1 -1
  67. package/model/brandVoiceMeta.ts +1 -1
  68. package/model/cancelSubscription422Response.ts +1 -1
  69. package/model/cancelSubscription422ResponseErrors.ts +1 -1
  70. package/model/cancelSubscriptionRequest.ts +1 -1
  71. package/model/changeSubscriptionPlanRequest.ts +1 -1
  72. package/model/channelAccount.ts +1 -1
  73. package/model/checkoutSubscription200Response.ts +1 -1
  74. package/model/checkoutSubscriptionRequest.ts +1 -1
  75. package/model/codedError.ts +1 -1
  76. package/model/competitor.ts +1 -1
  77. package/model/competitorDetail.ts +1 -1
  78. package/model/competitorInput.ts +1 -1
  79. package/model/competitorMedia.ts +1 -1
  80. package/model/competitorSnapshot.ts +1 -1
  81. package/model/completeChunkedUploadRequest.ts +1 -1
  82. package/model/connectChannelInput.ts +1 -1
  83. package/model/connectLink.ts +1 -1
  84. package/model/createAccountGroup201Response.ts +1 -1
  85. package/model/createAgent201Response.ts +1 -1
  86. package/model/createApiKey201Response.ts +1 -1
  87. package/model/createApiKey201ResponseData.ts +1 -1
  88. package/model/createConnectLinkRequest.ts +1 -1
  89. package/model/createHashtagGroup201Response.ts +1 -1
  90. package/model/createInboxReplyDraft201Response.ts +1 -1
  91. package/model/createMediaFolderRequest.ts +1 -1
  92. package/model/createMention201Response.ts +1 -1
  93. package/model/createPost201Response.ts +1 -1
  94. package/model/createRecyclingRule201Response.ts +1 -1
  95. package/model/createReportExport201Response.ts +1 -1
  96. package/model/createResellerClient201Response.ts +1 -1
  97. package/model/createRssFeed201Response.ts +1 -1
  98. package/model/createTemplate201Response.ts +1 -1
  99. package/model/createWebhookSubscription201Response.ts +1 -1
  100. package/model/createWebhookSubscription201ResponseData.ts +1 -1
  101. package/model/deleteAgent200Response.ts +1 -1
  102. package/model/deleteMediaBulkRequest.ts +1 -1
  103. package/model/deleteMediaBulkRequestItemsInner.ts +1 -1
  104. package/model/deleteMediaFolderRequest.ts +1 -1
  105. package/model/deleteMode.ts +1 -1
  106. package/model/deletePostRequest.ts +1 -1
  107. package/model/deletePostsBulkRequest.ts +1 -1
  108. package/model/deleteReceiptsBulkRequest.ts +1 -1
  109. package/model/deleteResult.ts +1 -1
  110. package/model/deleteUser400Response.ts +1 -1
  111. package/model/deleteUsersBulkRequest.ts +1 -1
  112. package/model/deleteWorkspacesBulkRequest.ts +1 -1
  113. package/model/freeToolBuildUtmUrlRequest.ts +1 -1
  114. package/model/freeToolBuildUtmUrlResponse.ts +1 -1
  115. package/model/freeToolCalculateEngagementRateRequest.ts +1 -1
  116. package/model/freeToolCalculateEngagementRateResponse.ts +1 -1
  117. package/model/freeToolCheckPostRequest.ts +1 -1
  118. package/model/freeToolCheckPostRequestMedia.ts +1 -1
  119. package/model/freeToolCheckPostResponse.ts +1 -1
  120. package/model/freeToolCheckPostResponseNetworksInner.ts +1 -1
  121. package/model/freeToolCheckPostResponseNetworksInnerErrorsInner.ts +1 -1
  122. package/model/freeToolCleanTextRequest.ts +1 -1
  123. package/model/freeToolCleanTextResponse.ts +1 -1
  124. package/model/freeToolCleanTextResponseChangesInner.ts +1 -1
  125. package/model/freeToolCleanTextResponseFlagsInner.ts +1 -1
  126. package/model/freeToolCountCharactersRequest.ts +1 -1
  127. package/model/freeToolCountCharactersResponse.ts +1 -1
  128. package/model/freeToolCountCharactersResponseNetworksInner.ts +1 -1
  129. package/model/freeToolError.ts +12 -3
  130. package/model/freeToolFormatLinkedInPostRequest.ts +1 -1
  131. package/model/freeToolFormatLinkedInPostResponse.ts +1 -1
  132. package/model/freeToolGenerateCaptionRequest.ts +107 -0
  133. package/model/freeToolGenerateCaptionResponse.ts +52 -0
  134. package/model/freeToolGenerateFancyTextRequest.ts +1 -1
  135. package/model/freeToolGenerateFancyTextResponse.ts +1 -1
  136. package/model/freeToolGenerateFancyTextResponseStylesInner.ts +1 -1
  137. package/model/freeToolGenerateHashtagsRequest.ts +85 -0
  138. package/model/freeToolGenerateHashtagsResponse.ts +52 -0
  139. package/model/freeToolList.ts +1 -1
  140. package/model/freeToolListItem.ts +1 -1
  141. package/model/freeToolSplitThreadRequest.ts +1 -1
  142. package/model/freeToolSplitThreadResponse.ts +1 -1
  143. package/model/freeToolSplitThreadResponsePostsInner.ts +1 -1
  144. package/model/getAccountHealth200Response.ts +1 -1
  145. package/model/getBrandVoice200Response.ts +1 -1
  146. package/model/getCompetitor200Response.ts +1 -1
  147. package/model/getInboxConversation200Response.ts +1 -1
  148. package/model/getPostingSchedule200Response.ts +1 -1
  149. package/model/getRemoteUploadStatus200Response.ts +1 -1
  150. package/model/getReportBranding200Response.ts +1 -1
  151. package/model/getRepurposeRun200Response.ts +1 -1
  152. package/model/guardrailError.ts +1 -1
  153. package/model/hashtagGroup.ts +1 -1
  154. package/model/hashtagGroupInput.ts +1 -1
  155. package/model/imageAltText200Response.ts +1 -1
  156. package/model/imageAltTextInput.ts +1 -1
  157. package/model/imageAltTextResponse.ts +1 -1
  158. package/model/imageCreditBalance.ts +1 -1
  159. package/model/imageEditInput.ts +1 -1
  160. package/model/imageGenerate200Response.ts +1 -1
  161. package/model/imageGenerate429Response.ts +1 -1
  162. package/model/imageGenerateInput.ts +1 -1
  163. package/model/imageGenerationResponse.ts +1 -1
  164. package/model/imagePrompt200Response.ts +1 -1
  165. package/model/imagePrompt429Response.ts +1 -1
  166. package/model/imagePromptInput.ts +1 -1
  167. package/model/imagePromptResponse.ts +1 -1
  168. package/model/imageVariations200Response.ts +1 -1
  169. package/model/imageVariationsInput.ts +1 -1
  170. package/model/imageVariationsResponse.ts +1 -1
  171. package/model/inboxAuthor.ts +1 -1
  172. package/model/inboxConversation.ts +1 -1
  173. package/model/inboxConversationAccount.ts +1 -1
  174. package/model/inboxConversationUpdate.ts +1 -1
  175. package/model/inboxMessage.ts +1 -1
  176. package/model/inboxMessageAuthor.ts +1 -1
  177. package/model/inboxReplyDraft.ts +1 -1
  178. package/model/inboxReplyDraftApprove.ts +1 -1
  179. package/model/inboxReplyDraftEdit.ts +1 -1
  180. package/model/inboxReplyDraftInput.ts +1 -1
  181. package/model/initiateChunkedUpload201Response.ts +1 -1
  182. package/model/initiateChunkedUploadRequest.ts +1 -1
  183. package/model/initiateRemoteUpload201Response.ts +1 -1
  184. package/model/initiateRemoteUpload201ResponseOneOf.ts +1 -1
  185. package/model/initiateRemoteUploadRequest.ts +1 -1
  186. package/model/learnBrandVoiceInput.ts +1 -1
  187. package/model/learnBrandVoiceResponse.ts +1 -1
  188. package/model/learnBrandVoiceResponseMeta.ts +1 -1
  189. package/model/listAccountGroups200Response.ts +1 -1
  190. package/model/listAccounts200Response.ts +1 -1
  191. package/model/listAgentProposals200Response.ts +1 -1
  192. package/model/listAgentRuns200Response.ts +1 -1
  193. package/model/listAgents200Response.ts +1 -1
  194. package/model/listApiActivity200Response.ts +1 -1
  195. package/model/listApiKeys200Response.ts +1 -1
  196. package/model/listCompetitors200Response.ts +1 -1
  197. package/model/listHashtagGroups200Response.ts +1 -1
  198. package/model/listInboxConversations200Response.ts +1 -1
  199. package/model/listInboxReplyDrafts200Response.ts +1 -1
  200. package/model/listMedia200Response.ts +1 -1
  201. package/model/listMediaFolders200Response.ts +1 -1
  202. package/model/listMentions200Response.ts +1 -1
  203. package/model/listMyWorkspaces200Response.ts +1 -1
  204. package/model/listPosts200Response.ts +1 -1
  205. package/model/listReceipts200Response.ts +1 -1
  206. package/model/listRecyclingRules200Response.ts +1 -1
  207. package/model/listRecyclingRuns200Response.ts +1 -1
  208. package/model/listReportExports200Response.ts +1 -1
  209. package/model/listResellerClients200Response.ts +1 -1
  210. package/model/listRssFeeds200Response.ts +1 -1
  211. package/model/listTags200Response.ts +1 -1
  212. package/model/listTemplates200Response.ts +1 -1
  213. package/model/listUsers200Response.ts +1 -1
  214. package/model/listWebhookSubscriptions200Response.ts +1 -1
  215. package/model/listWorkspaces200Response.ts +1 -1
  216. package/model/media.ts +1 -1
  217. package/model/mediaBase64Input.ts +1 -1
  218. package/model/mediaFolder.ts +1 -1
  219. package/model/mediaFolderInput.ts +1 -1
  220. package/model/mediaFolderRef.ts +1 -1
  221. package/model/mention.ts +1 -1
  222. package/model/mentionIdentity.ts +1 -1
  223. package/model/mentionIdentityInput.ts +1 -1
  224. package/model/mentionInput.ts +1 -1
  225. package/model/messageOnly.ts +1 -1
  226. package/model/models.ts +17 -0
  227. package/model/paginationMeta.ts +1 -1
  228. package/model/paginationMetaLinks.ts +1 -1
  229. package/model/paginationMetaMeta.ts +1 -1
  230. package/model/pollRssFeed200Response.ts +1 -1
  231. package/model/post.ts +1 -1
  232. package/model/postAnalytics.ts +1 -1
  233. package/model/postContent.ts +1 -1
  234. package/model/postInput.ts +1 -1
  235. package/model/postOptionsInstagram.ts +1 -1
  236. package/model/postOptionsTikTok.ts +1 -1
  237. package/model/postOptionsYoutube.ts +1 -1
  238. package/model/postStatus.ts +1 -1
  239. package/model/postVersion.ts +1 -1
  240. package/model/postVersionOptions.ts +1 -1
  241. package/model/postWarning.ts +1 -1
  242. package/model/postWarnings.ts +1 -1
  243. package/model/postingSchedule.ts +1 -1
  244. package/model/postingScheduleDay.ts +1 -1
  245. package/model/postingScheduleDayTimesInner.ts +1 -1
  246. package/model/postingScheduleInput.ts +1 -1
  247. package/model/postingTimeSlot.ts +1 -1
  248. package/model/postingTimes.ts +1 -1
  249. package/model/postingTimesBestInner.ts +1 -1
  250. package/model/postingTimesDayIntervalsInnerInner.ts +1 -1
  251. package/model/postingTimesDaysInner.ts +1 -1
  252. package/model/preflightResult.ts +1 -1
  253. package/model/publicWorkspace.ts +1 -1
  254. package/model/publicWorkspacePivot.ts +1 -1
  255. package/model/publishProgress.ts +1 -1
  256. package/model/queueSlots.ts +1 -1
  257. package/model/receipt.ts +1 -1
  258. package/model/receiptInput.ts +1 -1
  259. package/model/receiptUpdateInput.ts +1 -1
  260. package/model/recommendedPostingTimes.ts +1 -1
  261. package/model/reconnectLink.ts +1 -1
  262. package/model/recyclingRule.ts +1 -1
  263. package/model/recyclingRuleInput.ts +1 -1
  264. package/model/recyclingRuleSettings.ts +1 -1
  265. package/model/recyclingRuleUpdate.ts +1 -1
  266. package/model/recyclingRun.ts +1 -1
  267. package/model/removeGenericSubscription422Response.ts +1 -1
  268. package/model/removeUserFromWorkspaceRequest.ts +1 -1
  269. package/model/reportBranding.ts +1 -1
  270. package/model/reportBrandingInput.ts +1 -1
  271. package/model/reportExport.ts +1 -1
  272. package/model/reportExportInput.ts +1 -1
  273. package/model/repurposeContent200Response.ts +1 -1
  274. package/model/repurposeContent202Response.ts +1 -1
  275. package/model/repurposeContent500Response.ts +1 -1
  276. package/model/repurposeInput.ts +1 -1
  277. package/model/repurposeInputTheme.ts +1 -1
  278. package/model/repurposeResult.ts +1 -1
  279. package/model/repurposeResultMedia.ts +1 -1
  280. package/model/repurposeResultSource.ts +1 -1
  281. package/model/repurposeRun.ts +1 -1
  282. package/model/repurposeRunAccepted.ts +1 -1
  283. package/model/repurposeSlide.ts +1 -1
  284. package/model/resellerClient.ts +1 -1
  285. package/model/resellerClientInput.ts +1 -1
  286. package/model/resellerClientUsage.ts +1 -1
  287. package/model/retryPostAccountResult.ts +1 -1
  288. package/model/rssFeed.ts +1 -1
  289. package/model/rssFeedInput.ts +1 -1
  290. package/model/rssFeedUpdate.ts +1 -1
  291. package/model/runAgent202Response.ts +1 -1
  292. package/model/schedulePostRequest.ts +1 -1
  293. package/model/scheduleResult.ts +1 -1
  294. package/model/subscription.ts +1 -1
  295. package/model/subscriptionInput.ts +1 -1
  296. package/model/subscriptionStatus.ts +1 -1
  297. package/model/subscriptionUpdateInput.ts +1 -1
  298. package/model/tag.ts +1 -1
  299. package/model/tagInput.ts +1 -1
  300. package/model/template.ts +1 -1
  301. package/model/templateContentItem.ts +1 -1
  302. package/model/templateInput.ts +1 -1
  303. package/model/templateInputContentInner.ts +1 -1
  304. package/model/updateMediaRequest.ts +1 -1
  305. package/model/updatePost200Response.ts +1 -1
  306. package/model/uploadChunk201Response.ts +1 -1
  307. package/model/user.ts +1 -1
  308. package/model/userInput.ts +1 -1
  309. package/model/userUpdateInput.ts +1 -1
  310. package/model/webhookEventName.ts +1 -1
  311. package/model/webhookEventPayload.ts +1 -1
  312. package/model/webhookSubscription.ts +1 -1
  313. package/model/webhookSubscriptionInput.ts +1 -1
  314. package/model/workspace.ts +1 -1
  315. package/model/workspaceAgent.ts +1 -1
  316. package/model/workspaceAgentInput.ts +1 -1
  317. package/model/workspaceAgentSettings.ts +1 -1
  318. package/model/workspaceAgentUpdate.ts +1 -1
  319. package/model/workspaceInput.ts +1 -1
  320. package/model/workspaceUserInput.ts +1 -1
  321. package/model/xUsage.ts +1 -1
  322. package/model/xUsageCounter.ts +1 -1
  323. package/package.json +1 -1
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.28.0
5
+ * The version of the OpenAPI document: 1.29.1
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.28.0
5
+ * The version of the OpenAPI document: 1.29.1
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.28.0
5
+ * The version of the OpenAPI document: 1.29.1
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.28.0
5
+ * The version of the OpenAPI document: 1.29.1
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.28.0
5
+ * The version of the OpenAPI document: 1.29.1
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.28.0
5
+ * The version of the OpenAPI document: 1.29.1
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.28.0
5
+ * The version of the OpenAPI document: 1.29.1
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.28.0
5
+ * The version of the OpenAPI document: 1.29.1
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.28.0
5
+ * The version of the OpenAPI document: 1.29.1
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.28.0
5
+ * The version of the OpenAPI document: 1.29.1
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.28.0
5
+ * The version of the OpenAPI document: 1.29.1
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.28.0
5
+ * The version of the OpenAPI document: 1.29.1
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.28.0
5
+ * The version of the OpenAPI document: 1.29.1
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -19,11 +19,15 @@ export class FreeToolError {
19
19
  */
20
20
  'retryAfter'?: number;
21
21
  /**
22
- * 429 for guests: sign up for a token with higher limits.
22
+ * 429 of a paid AI tool: `ai_credits_exhausted`.
23
+ */
24
+ 'code'?: string;
25
+ /**
26
+ * 429 for guests: sign up for a token with higher limits. 401 of a paid AI tool: sign up for a token.
23
27
  */
24
28
  'registerUrl'?: string;
25
29
  /**
26
- * 429 when a token user reached the plan\'s daily cap.
30
+ * 429 when a token user reached the plan\'s daily cap, or a paid AI tool\'s workspace has no AI credits left.
27
31
  */
28
32
  'upgradeUrl'?: string;
29
33
 
@@ -40,6 +44,11 @@ export class FreeToolError {
40
44
  "baseName": "retry_after",
41
45
  "type": "number"
42
46
  },
47
+ {
48
+ "name": "code",
49
+ "baseName": "code",
50
+ "type": "string"
51
+ },
43
52
  {
44
53
  "name": "registerUrl",
45
54
  "baseName": "register_url",
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.28.0
5
+ * The version of the OpenAPI document: 1.29.1
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.28.0
5
+ * The version of the OpenAPI document: 1.29.1
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,107 @@
1
+ /**
2
+ * PostBoost API
3
+ * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
+ *
5
+ * The version of the OpenAPI document: 1.29.1
6
+ * Contact: hi@postboost.co
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+ import { RequestFile } from './models';
14
+
15
+ export class FreeToolGenerateCaptionRequest {
16
+ /**
17
+ * What the post is about.
18
+ */
19
+ 'text': string;
20
+ 'tone'?: FreeToolGenerateCaptionRequest.ToneEnum = FreeToolGenerateCaptionRequest.ToneEnum.Friendly;
21
+ /**
22
+ * short: 10-20 words, medium: 25-40, long: 45-60.
23
+ */
24
+ 'length'?: FreeToolGenerateCaptionRequest.LengthEnum = FreeToolGenerateCaptionRequest.LengthEnum.Medium;
25
+ /**
26
+ * Use a few fitting emoji.
27
+ */
28
+ 'emoji'?: boolean = true;
29
+ /**
30
+ * End each caption with 3-5 relevant hashtags.
31
+ */
32
+ 'hashtags'?: boolean = false;
33
+ /**
34
+ * The network the text is written for.
35
+ */
36
+ 'network'?: FreeToolGenerateCaptionRequest.NetworkEnum = FreeToolGenerateCaptionRequest.NetworkEnum.Instagram;
37
+ /**
38
+ * UUID of the workspace whose AI credits pay for the call. Default: your active workspace (a scoped API key: its own workspace).
39
+ */
40
+ 'workspace'?: string;
41
+
42
+ static discriminator: string | undefined = undefined;
43
+
44
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
45
+ {
46
+ "name": "text",
47
+ "baseName": "text",
48
+ "type": "string"
49
+ },
50
+ {
51
+ "name": "tone",
52
+ "baseName": "tone",
53
+ "type": "FreeToolGenerateCaptionRequest.ToneEnum"
54
+ },
55
+ {
56
+ "name": "length",
57
+ "baseName": "length",
58
+ "type": "FreeToolGenerateCaptionRequest.LengthEnum"
59
+ },
60
+ {
61
+ "name": "emoji",
62
+ "baseName": "emoji",
63
+ "type": "boolean"
64
+ },
65
+ {
66
+ "name": "hashtags",
67
+ "baseName": "hashtags",
68
+ "type": "boolean"
69
+ },
70
+ {
71
+ "name": "network",
72
+ "baseName": "network",
73
+ "type": "FreeToolGenerateCaptionRequest.NetworkEnum"
74
+ },
75
+ {
76
+ "name": "workspace",
77
+ "baseName": "workspace",
78
+ "type": "string"
79
+ } ];
80
+
81
+ static getAttributeTypeMap() {
82
+ return FreeToolGenerateCaptionRequest.attributeTypeMap;
83
+ }
84
+ }
85
+
86
+ export namespace FreeToolGenerateCaptionRequest {
87
+ export enum ToneEnum {
88
+ Friendly = <any> 'friendly',
89
+ Professional = <any> 'professional',
90
+ Playful = <any> 'playful',
91
+ Inspirational = <any> 'inspirational',
92
+ Bold = <any> 'bold'
93
+ }
94
+ export enum LengthEnum {
95
+ Short = <any> 'short',
96
+ Medium = <any> 'medium',
97
+ Long = <any> 'long'
98
+ }
99
+ export enum NetworkEnum {
100
+ Instagram = <any> 'instagram',
101
+ Tiktok = <any> 'tiktok',
102
+ Linkedin = <any> 'linkedin',
103
+ X = <any> 'x',
104
+ Threads = <any> 'threads',
105
+ Facebook = <any> 'facebook'
106
+ }
107
+ }
@@ -0,0 +1,52 @@
1
+ /**
2
+ * PostBoost API
3
+ * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
+ *
5
+ * The version of the OpenAPI document: 1.29.1
6
+ * Contact: hi@postboost.co
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+ import { RequestFile } from './models';
14
+
15
+ export class FreeToolGenerateCaptionResponse {
16
+ /**
17
+ * Three different captions, each within the network\'s text limit (at most 2,200 characters).
18
+ */
19
+ 'captions'?: Array<string>;
20
+ /**
21
+ * AI credits this call took from the workspace: 1, or 0 for a cached result.
22
+ */
23
+ 'creditsSpent'?: number;
24
+ /**
25
+ * True when the same request was answered before (free).
26
+ */
27
+ 'cached'?: boolean;
28
+
29
+ static discriminator: string | undefined = undefined;
30
+
31
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
32
+ {
33
+ "name": "captions",
34
+ "baseName": "captions",
35
+ "type": "Array<string>"
36
+ },
37
+ {
38
+ "name": "creditsSpent",
39
+ "baseName": "credits_spent",
40
+ "type": "number"
41
+ },
42
+ {
43
+ "name": "cached",
44
+ "baseName": "cached",
45
+ "type": "boolean"
46
+ } ];
47
+
48
+ static getAttributeTypeMap() {
49
+ return FreeToolGenerateCaptionResponse.attributeTypeMap;
50
+ }
51
+ }
52
+
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.28.0
5
+ * The version of the OpenAPI document: 1.29.1
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.28.0
5
+ * The version of the OpenAPI document: 1.29.1
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.28.0
5
+ * The version of the OpenAPI document: 1.29.1
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,85 @@
1
+ /**
2
+ * PostBoost API
3
+ * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
+ *
5
+ * The version of the OpenAPI document: 1.29.1
6
+ * Contact: hi@postboost.co
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+ import { RequestFile } from './models';
14
+
15
+ export class FreeToolGenerateHashtagsRequest {
16
+ /**
17
+ * What the post is about.
18
+ */
19
+ 'topic': string;
20
+ /**
21
+ * Optional niche from the hashtag generator page.
22
+ */
23
+ 'niche'?: FreeToolGenerateHashtagsRequest.NicheEnum;
24
+ /**
25
+ * The network the text is written for.
26
+ */
27
+ 'network'?: FreeToolGenerateHashtagsRequest.NetworkEnum = FreeToolGenerateHashtagsRequest.NetworkEnum.Instagram;
28
+ /**
29
+ * UUID of the workspace whose AI credits pay for the call. Default: your active workspace (a scoped API key: its own workspace).
30
+ */
31
+ 'workspace'?: string;
32
+
33
+ static discriminator: string | undefined = undefined;
34
+
35
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
36
+ {
37
+ "name": "topic",
38
+ "baseName": "topic",
39
+ "type": "string"
40
+ },
41
+ {
42
+ "name": "niche",
43
+ "baseName": "niche",
44
+ "type": "FreeToolGenerateHashtagsRequest.NicheEnum"
45
+ },
46
+ {
47
+ "name": "network",
48
+ "baseName": "network",
49
+ "type": "FreeToolGenerateHashtagsRequest.NetworkEnum"
50
+ },
51
+ {
52
+ "name": "workspace",
53
+ "baseName": "workspace",
54
+ "type": "string"
55
+ } ];
56
+
57
+ static getAttributeTypeMap() {
58
+ return FreeToolGenerateHashtagsRequest.attributeTypeMap;
59
+ }
60
+ }
61
+
62
+ export namespace FreeToolGenerateHashtagsRequest {
63
+ export enum NicheEnum {
64
+ Fitness = <any> 'Fitness',
65
+ FoodAndRestaurants = <any> 'Food and restaurants',
66
+ Travel = <any> 'Travel',
67
+ Fashion = <any> 'Fashion',
68
+ BeautyAndSkincare = <any> 'Beauty and skincare',
69
+ SmallBusiness = <any> 'Small business',
70
+ RealEstate = <any> 'Real estate',
71
+ Photography = <any> 'Photography',
72
+ MarketingAndSocialMedia = <any> 'Marketing and social media',
73
+ TechAndSaaS = <any> 'Tech and SaaS',
74
+ Pets = <any> 'Pets',
75
+ EducationAndCoaching = <any> 'Education and coaching'
76
+ }
77
+ export enum NetworkEnum {
78
+ Instagram = <any> 'instagram',
79
+ Tiktok = <any> 'tiktok',
80
+ Linkedin = <any> 'linkedin',
81
+ X = <any> 'x',
82
+ Threads = <any> 'threads',
83
+ Facebook = <any> 'facebook'
84
+ }
85
+ }
@@ -0,0 +1,52 @@
1
+ /**
2
+ * PostBoost API
3
+ * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
+ *
5
+ * The version of the OpenAPI document: 1.29.1
6
+ * Contact: hi@postboost.co
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+ import { RequestFile } from './models';
14
+
15
+ export class FreeToolGenerateHashtagsResponse {
16
+ /**
17
+ * 5 to 10 hashtags, best first.
18
+ */
19
+ 'hashtags'?: Array<string>;
20
+ /**
21
+ * AI credits this call took from the workspace: 1, or 0 for a cached result.
22
+ */
23
+ 'creditsSpent'?: number;
24
+ /**
25
+ * True when the same request was answered before (free).
26
+ */
27
+ 'cached'?: boolean;
28
+
29
+ static discriminator: string | undefined = undefined;
30
+
31
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
32
+ {
33
+ "name": "hashtags",
34
+ "baseName": "hashtags",
35
+ "type": "Array<string>"
36
+ },
37
+ {
38
+ "name": "creditsSpent",
39
+ "baseName": "credits_spent",
40
+ "type": "number"
41
+ },
42
+ {
43
+ "name": "cached",
44
+ "baseName": "cached",
45
+ "type": "boolean"
46
+ } ];
47
+
48
+ static getAttributeTypeMap() {
49
+ return FreeToolGenerateHashtagsResponse.attributeTypeMap;
50
+ }
51
+ }
52
+
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.28.0
5
+ * The version of the OpenAPI document: 1.29.1
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.28.0
5
+ * The version of the OpenAPI document: 1.29.1
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.28.0
5
+ * The version of the OpenAPI document: 1.29.1
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).