Handle validation, authentication, plan, throttling, and server failures.
PostlyBee uses conventional HTTP status codes. Every error body has the same shape, with a stable code you can branch on:
{ "statusCode": 402, "code": "quota_exceeded", "message": "The workspace has reached its monthly post limit."}
Status codes
Status
Meaning
Recommended action
200
Request completed.
Read the response body.
201
Resource created or operation accepted.
Store returned IDs.
400
Invalid fields or unsupported operation.
Correct the request before retrying.
401
Missing, expired, revoked, or invalid token.
Replace or rotate the API token.
402
Workspace plan does not allow the operation.
Review workspace billing and limits.
403
Missing scope or unavailable workspace.
Review token scopes, allowlist, and membership.
404
Resource not found in this workspace.
Check the ID and workspace.
409
Conflict with an existing resource or key.
Read code; do not retry blindly.
424
The social platform rejected an account tool call.
Read message and providerStatus; reconnect the account if needed.
429
Hourly API limit exceeded.
Wait for Retry-After before retrying.
500
Unexpected server failure.
Retry with backoff and contact support if persistent.
Error codes
code
Meaning
invalid_request
A field is missing or invalid.
unauthorized
The bearer token is missing, invalid, expired, or revoked.
forbidden
The workspace is not available to this token.
insufficient_scope
The token lacks a scope; requiredScopes lists them.
not_found
The resource does not exist in this workspace.
quota_exceeded
The workspace reached its monthly post limit.
plan_limit
Another plan limit was reached, for example webhooks or channels.
integration_disconnected
The selected account is disabled or must be reconnected.
external_id_conflict
externalId is already used by a live post; postId names it.
idempotency_key_reused
The Idempotency-Key was used with a different body.
idempotency_in_progress
The first request with this Idempotency-Key is still running.
webhook_disabled
The webhook is paused; resume it before sending a test event.
provider_error
The social platform failed an account tool call (for example listing Pinterest boards); message carries the platform’s reason, with providerStatus and providerRequestId when known.
rate_limited
The hourly API limit was exceeded.
internal_error
Unexpected server failure.
Validation errors
Validation errors usually include an array of field messages:
{ "statusCode": 400, "code": "invalid_request", "message": ["date must be a valid ISO 8601 date string"]}
Business-rule errors may use a single string in message instead.
Retry strategy
Retry only transient failures such as 429 and 5xx. Use exponential backoff with jitter, respect Retry-After, and cap the number of attempts. Do not automatically retry 400, 401, or 403 responses.
Log a request identifier, HTTP method, endpoint, status code, and response
message. Never log the Authorization header or full API token.
Last modified on November 4, 2026
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"PostlyBee","description":"Build social publishing workflows with the PostlyBee Public API and MCP server.","colors":{"primary":"#D9903D","light":"#F2B75D","dark":"#8A4B20"},"logo":{"light":"https://mintcdn.com/bigwhale/sIpQr_83uIUcHl5h/assets/logo.svg?fit=max\u0026auto=format\u0026n=sIpQr_83uIUcHl5h\u0026q=85\u0026s=9d64309907dae7abb0631b53c6d0f018","dark":"https://mintcdn.com/bigwhale/sIpQr_83uIUcHl5h/assets/logo-dark.svg?fit=max\u0026auto=format\u0026n=sIpQr_83uIUcHl5h\u0026q=85\u0026s=2e664fc1c1ec5bb9d411bdb2255702b1"},"favicon":"https://mintcdn.com/bigwhale/sIpQr_83uIUcHl5h/assets/favicon.svg?fit=max\u0026auto=format\u0026n=sIpQr_83uIUcHl5h\u0026q=85\u0026s=0c2eabb3c2c28ad3b86b8410c6f0bac5","api":{"params":{"expanded":"closed"},"playground":{"display":"interactive","proxy":true},"examples":{"defaults":"required","languages":["curl","javascript","python"],"prefill":true,"autogenerate":true}},"navbar":{"links":[{"href":"mailto:support@postlybee.com","label":"Support"}],"primary":{"type":"button","label":"Open dashboard","href":"https://postlybee.com/dashboard/settings"}},"search":{"prompt":"Search guides, endpoints, authentication, and MCP…"},"seo":{"metatags":{"canonical":"https://docs.postlybee.com"},"indexing":"navigable"},"icons":{"library":"lucide"},"metadata":{"timestamp":true},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"bigwhale","hasAudioNarration":false,"actualSubdomain":"bigwhale","customDomains":["docs.postlybee.com"],"gitSource":{"type":"github","owner":"dazhiyu0235","repo":"postlybee","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aee8a88c0abf23ab0ea109d","clientVersion":"0.0.4340","searchFilterCounts":[{"language":"default","tag":"API reference","count":32},{"language":"default","tag":"Posts","count":8},{"language":"default","tag":"Webhooks","count":8},{"language":"default","tag":"CLI","count":6},{"language":"default","tag":"Essentials","count":5},{"language":"default","tag":"Accounts","count":5},{"language":"default","tag":"Media","count":4},{"language":"default","tag":"MCP","count":2},{"language":"default","tag":"Get started","count":2},{"language":"default","tag":"Analytics","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"essentials/error-handling","slug":"/essentials/error-handling","pageMetadata":{"title":"Error handling","description":"Handle validation, authentication, plan, throttling, and server failures.","icon":"triangle-alert","href":"/essentials/error-handling"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Handle validation, authentication, plan, throttling, and server failures.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`PostlyBee uses conventional HTTP status codes. Every error body has the same shape, with a stable `,_jsx(_components.code,{children:`code`}),` you can branch on:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"statusCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`402`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"quota_exceeded\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The workspace has reached its monthly post limit.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`status-codes`,children:`Status codes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning`}),_jsx(_components.th,{children:`Recommended action`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`200`})}),_jsx(_components.td,{children:`Request completed.`}),_jsx(_components.td,{children:`Read the response body.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`201`})}),_jsx(_components.td,{children:`Resource created or operation accepted.`}),_jsx(_components.td,{children:`Store returned IDs.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:`Invalid fields or unsupported operation.`}),_jsx(_components.td,{children:`Correct the request before retrying.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:`Missing, expired, revoked, or invalid token.`}),_jsx(_components.td,{children:`Replace or rotate the API token.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`402`})}),_jsx(_components.td,{children:`Workspace plan does not allow the operation.`}),_jsx(_components.td,{children:`Review workspace billing and limits.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:`Missing scope or unavailable workspace.`}),_jsx(_components.td,{children:`Review token scopes, allowlist, and membership.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`Resource not found in this workspace.`}),_jsx(_components.td,{children:`Check the ID and workspace.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:`Conflict with an existing resource or key.`}),_jsxs(_components.td,{children:[`Read `,_jsx(_components.code,{children:`code`}),`; do not retry blindly.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`424`})}),_jsx(_components.td,{children:`The social platform rejected an account tool call.`}),_jsxs(_components.td,{children:[`Read `,_jsx(_components.code,{children:`message`}),` and `,_jsx(_components.code,{children:`providerStatus`}),`; reconnect the account if needed.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsx(_components.td,{children:`Hourly API limit exceeded.`}),_jsxs(_components.td,{children:[`Wait for `,_jsx(_components.code,{children:`Retry-After`}),` before retrying.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`500`})}),_jsx(_components.td,{children:`Unexpected server failure.`}),_jsx(_components.td,{children:`Retry with backoff and contact support if persistent.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`error-codes`,children:`Error codes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`code`})}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_request`})}),_jsx(_components.td,{children:`A field is missing or invalid.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`unauthorized`})}),_jsx(_components.td,{children:`The bearer token is missing, invalid, expired, or revoked.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`forbidden`})}),_jsx(_components.td,{children:`The workspace is not available to this token.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`insufficient_scope`})}),_jsxs(_components.td,{children:[`The token lacks a scope; `,_jsx(_components.code,{children:`requiredScopes`}),` lists them.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`not_found`})}),_jsx(_components.td,{children:`The resource does not exist in this workspace.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`quota_exceeded`})}),_jsx(_components.td,{children:`The workspace reached its monthly post limit.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`plan_limit`})}),_jsx(_components.td,{children:`Another plan limit was reached, for example webhooks or channels.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`integration_disconnected`})}),_jsx(_components.td,{children:`The selected account is disabled or must be reconnected.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`external_id_conflict`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`externalId`}),` is already used by a live post; `,_jsx(_components.code,{children:`postId`}),` names it.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`idempotency_key_reused`})}),_jsxs(_components.td,{children:[`The `,_jsx(_components.code,{children:`Idempotency-Key`}),` was used with a different body.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`idempotency_in_progress`})}),_jsxs(_components.td,{children:[`The first request with this `,_jsx(_components.code,{children:`Idempotency-Key`}),` is still running.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`webhook_disabled`})}),_jsx(_components.td,{children:`The webhook is paused; resume it before sending a test event.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`provider_error`})}),_jsxs(_components.td,{children:[`The social platform failed an account tool call (for example listing Pinterest boards); `,_jsx(_components.code,{children:`message`}),` carries the platform’s reason, with `,_jsx(_components.code,{children:`providerStatus`}),` and `,_jsx(_components.code,{children:`providerRequestId`}),` when known.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rate_limited`})}),_jsx(_components.td,{children:`The hourly API limit was exceeded.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`internal_error`})}),_jsx(_components.td,{children:`Unexpected server failure.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`validation-errors`,children:`Validation errors`}),`\n`,_jsx(_components.p,{children:`Validation errors usually include an array of field messages:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"statusCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`400`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"invalid_request\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"date must be a valid ISO 8601 date string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Business-rule errors may use a single string in `,_jsx(_components.code,{children:`message`}),` instead.`]}),`\n`,_jsx(Heading,{level:`2`,id:`retry-strategy`,children:`Retry strategy`}),`\n`,_jsxs(_components.p,{children:[`Retry only transient failures such as `,_jsx(_components.code,{children:`429`}),` and `,_jsx(_components.code,{children:`5xx`}),`. Use exponential backoff with jitter, respect `,_jsx(_components.code,{children:`Retry-After`}),`, and cap the number of attempts. Do not automatically retry `,_jsx(_components.code,{children:`400`}),`, `,_jsx(_components.code,{children:`401`}),`, or `,_jsx(_components.code,{children:`403`}),` responses.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` retryable`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`status`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ===`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 429`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ||`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`status`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` >=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 500`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`retryable`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` retryAfter`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Number`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`headers`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'retry-after'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`||`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` Promise`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`((`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`resolve`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` setTimeout`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`resolve`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`retryAfter`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` *`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`));`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Log a request identifier, HTTP method, endpoint, status code, and response\nmessage. Never log the Authorization header or full API token.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Error handling","description":"Handle validation, authentication, plan, throttling, and server failures.","icon":"triangle-alert","href":"/essentials/error-handling"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Status codes","slug":"status-codes","depth":2,"children":[]},{"title":"Error codes","slug":"error-codes","depth":2,"children":[]},{"title":"Validation errors","slug":"validation-errors","depth":2,"children":[]},{"title":"Retry strategy","slug":"retry-strategy","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"bigwhale","siteName":"PostlyBee","title":"Error handling - PostlyBee","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-04T13:59:33.247Z","gitLastModified":"2026-11-04T13:59:24.000Z","originalFileLocation":"essentials/error-handling.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Handle validation, authentication, plan, throttling, and server failures.\">\u003cmeta data-mint-head name=\"application-name\" content=\"PostlyBee\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bigwhale/P1Cmr72bx59d7xr8/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/bigwhale/P1Cmr72bx59d7xr8/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bigwhale/P1Cmr72bx59d7xr8/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/bigwhale/P1Cmr72bx59d7xr8/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/bigwhale/P1Cmr72bx59d7xr8/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bigwhale/P1Cmr72bx59d7xr8/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bigwhale/P1Cmr72bx59d7xr8/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/bigwhale/P1Cmr72bx59d7xr8/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/bigwhale/P1Cmr72bx59d7xr8/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Error handling - PostlyBee\">\u003cmeta data-mint-head property=\"og:description\" content=\"Handle validation, authentication, plan, throttling, and server failures.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"PostlyBee\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.postlybee.com/essentials/error-handling\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://bigwhale.mintlify.site/_mintlify/api/og/v2?division=Essentials\u0026amp;title=Error+handling\u0026amp;description=Handle+validation%2C+authentication%2C+plan%2C+throttling%2C+and+server+failures.\u0026amp;theme=c7c3fa43cb14a76ed8f942c8\u0026amp;signature=f4f53a4a0f7b0b1a77bbaf244d73e4390a80014cf2670db91b87353a0ebc5969\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Error handling - PostlyBee\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Handle validation, authentication, plan, throttling, and server failures.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://bigwhale.mintlify.site/_mintlify/api/og/v2?division=Essentials\u0026amp;title=Error+handling\u0026amp;description=Handle+validation%2C+authentication%2C+plan%2C+throttling%2C+and+server+failures.\u0026amp;theme=c7c3fa43cb14a76ed8f942c8\u0026amp;signature=f4f53a4a0f7b0b1a77bbaf244d73e4390a80014cf2670db91b87353a0ebc5969\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/bigwhale/P1Cmr72bx59d7xr8/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"PostlyBee\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#D9903D\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.postlybee.com/essentials/error-handling\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/essentials/error-handling.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.postlybee.com/#organization\",\"name\":\"PostlyBee\",\"url\":\"https://docs.postlybee.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/bigwhale/sIpQr_83uIUcHl5h/assets/logo.svg?fit=max\u0026auto=format\u0026n=sIpQr_83uIUcHl5h\u0026q=85\u0026s=9d64309907dae7abb0631b53c6d0f018\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.postlybee.com#website\",\"name\":\"PostlyBee\",\"url\":\"https://docs.postlybee.com\",\"publisher\":{\"@id\":\"https://docs.postlybee.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.postlybee.com/essentials/error-handling#webpage\",\"url\":\"https://docs.postlybee.com/essentials/error-handling\",\"name\":\"Error handling\",\"description\":\"Handle validation, authentication, plan, throttling, and server failures.\",\"dateModified\":\"2026-11-04T13:59:24.000Z\",\"isPartOf\":{\"@id\":\"https://docs.postlybee.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.postlybee.com/essentials/error-handling#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.postlybee.com/essentials/error-handling#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Essentials\",\"item\":\"https://docs.postlybee.com/essentials/authentication\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Error handling\",\"item\":\"https://docs.postlybee.com/essentials/error-handling\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.postlybee.com/essentials/error-handling#article\",\"headline\":\"Error handling\",\"name\":\"Error handling\",\"description\":\"Handle validation, authentication, plan, throttling, and server failures.\",\"url\":\"https://docs.postlybee.com/essentials/error-handling\",\"mainEntityOfPage\":{\"@id\":\"https://docs.postlybee.com/essentials/error-handling#webpage\"},\"dateModified\":\"2026-11-04T13:59:24.000Z\",\"publisher\":{\"@id\":\"https://docs.postlybee.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.postlybee.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"PostlyBee\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"PostlyBee\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/essentials/error-handling.md","siteName":"PostlyBee","nav":{"global":null,"groups":[{"group":"Get started","pages":[{"title":"PostlyBee Public API","icon":"braces","href":"/public-api"},{"title":"Quickstart","icon":"rocket","href":"/quickstart"}]},{"group":"Essentials","pages":[{"title":"Authentication","icon":"key","href":"/essentials/authentication"},{"title":"Create posts","icon":"send","href":"/essentials/posting"},{"title":"Webhooks","description":"Receive signed events when posts are scheduled, published, fail, or are deleted.","icon":"webhook","href":"/essentials/webhooks"},{"title":"Error handling","icon":"triangle-alert","href":"/essentials/error-handling"},{"title":"Rate limits","description":"Understand the one-hour workspace limit for the Public API.","icon":"gauge","href":"/essentials/rate-limits"}]},{"group":"MCP","pages":[{"title":"MCP overview","icon":"bot","href":"/mcp/overview"},{"title":"Connect MCP clients","icon":"plug","href":"/mcp/clients"}]},{"group":"CLI","pages":[{"title":"CLI introduction","icon":"terminal","href":"/cli/introduction"},{"title":"CLI authentication","icon":"key-round","href":"/cli/authentication"},{"title":"Workspaces and accounts","icon":"building-2","href":"/cli/workspaces-accounts"},{"title":"Managing posts","icon":"send","href":"/cli/posts"},{"title":"Media and analytics","icon":"chart-no-axes-combined","href":"/cli/media-analytics"},{"title":"CLI automation","icon":"workflow","href":"/cli/automation"}]},{"group":"SDKs","pages":[{"title":"Node.js SDK","icon":"package","href":"/sdks/node"}]},{"group":"API reference","icon":"square-terminal","pages":[{"title":"API reference overview","icon":"braces","href":"/api-reference/overview"},{"group":"Workspaces","icon":"building-2","expanded":true,"pages":[{"title":"List workspaces","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/v1/workspaces","href":"/api-reference/workspaces/list-workspaces"}]},{"group":"Accounts","icon":"users","expanded":true,"pages":[{"title":"List connected accounts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/v1/workspaces/{workspaceId}/integrations","href":"/api-reference/accounts/list-connected-accounts"},{"title":"Connect an account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/v1/workspaces/{workspaceId}/social/{integration}","href":"/api-reference/accounts/connect-an-account"},{"title":"Get account settings and tools","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/v1/workspaces/{workspaceId}/integration-settings/{id}","href":"/api-reference/accounts/get-account-settings-and-tools"},{"title":"Run an account tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/v1/workspaces/{workspaceId}/integration-trigger/{id}","href":"/api-reference/accounts/run-an-account-tool"},{"title":"Delete a connected account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /public/v1/workspaces/{workspaceId}/integrations/{id}","href":"/api-reference/accounts/delete-a-connected-account"}]},{"group":"Posts","icon":"file-text","expanded":true,"pages":[{"title":"List posts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/v1/workspaces/{workspaceId}/posts","href":"/api-reference/posts/list-posts"},{"title":"Look up posts by id","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/v1/workspaces/{workspaceId}/posts/lookup","href":"/api-reference/posts/look-up-posts-by-id"},{"title":"Create posts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/v1/workspaces/{workspaceId}/posts","href":"/api-reference/posts/create-posts"},{"title":"Get missing post content","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/v1/workspaces/{workspaceId}/posts/{id}/missing","href":"/api-reference/posts/get-missing-post-content"},{"title":"Update a post release ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /public/v1/workspaces/{workspaceId}/posts/{id}/release-id","href":"/api-reference/posts/update-a-post-release-id"},{"title":"Change a post status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /public/v1/workspaces/{workspaceId}/posts/{id}/status","href":"/api-reference/posts/change-a-post-status"},{"title":"Update post settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /public/v1/workspaces/{workspaceId}/posts/{id}/settings","href":"/api-reference/posts/update-post-settings"},{"title":"Delete a post","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /public/v1/workspaces/{workspaceId}/posts/{id}","href":"/api-reference/posts/delete-a-post"}]},{"group":"Webhooks","icon":"webhook","pages":[{"title":"List webhooks","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/v1/workspaces/{workspaceId}/webhooks","href":"/api-reference/webhooks/list-webhooks"},{"title":"Create a webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/v1/workspaces/{workspaceId}/webhooks","href":"/api-reference/webhooks/create-a-webhook"},{"title":"Update a webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /public/v1/workspaces/{workspaceId}/webhooks/{id}","href":"/api-reference/webhooks/update-a-webhook"},{"title":"Delete a webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /public/v1/workspaces/{workspaceId}/webhooks/{id}","href":"/api-reference/webhooks/delete-a-webhook"},{"title":"Pause or resume a webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /public/v1/workspaces/{workspaceId}/webhooks/{id}/enabled","href":"/api-reference/webhooks/pause-or-resume-a-webhook"},{"title":"Rotate the signing secret","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/v1/workspaces/{workspaceId}/webhooks/{id}/rotate-secret","href":"/api-reference/webhooks/rotate-the-signing-secret"},{"title":"Send a test event","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/v1/workspaces/{workspaceId}/webhooks/{id}/test","href":"/api-reference/webhooks/send-a-test-event"},{"title":"List recent deliveries","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/v1/workspaces/{workspaceId}/webhooks/{id}/deliveries","href":"/api-reference/webhooks/list-recent-deliveries"}]},{"group":"Analytics","icon":"chart-no-axes-combined","pages":[{"title":"Get account analytics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/v1/workspaces/{workspaceId}/analytics/{integration}","href":"/api-reference/analytics/get-account-analytics"},{"title":"Get post analytics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/v1/workspaces/{workspaceId}/analytics/post/{postId}","href":"/api-reference/analytics/get-post-analytics"}]},{"group":"Notifications","icon":"bell","pages":[{"title":"List notifications","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/v1/workspaces/{workspaceId}/notifications","href":"/api-reference/notifications/list-notifications"}]},{"group":"Media","icon":"image","pages":[{"title":"Upload media","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/v1/workspaces/{workspaceId}/upload","href":"/api-reference/media/upload-media"},{"title":"Upload media from URL","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/v1/workspaces/{workspaceId}/upload-from-url","href":"/api-reference/media/upload-media-from-url"},{"title":"Generate a video","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/v1/workspaces/{workspaceId}/generate-video","href":"/api-reference/media/generate-a-video"},{"title":"Run a video helper function","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/v1/workspaces/{workspaceId}/video/function","href":"/api-reference/media/run-a-video-helper-function"}]},{"group":"Utilities","icon":"wrench","pages":[{"title":"Check API connection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/v1/workspaces/{workspaceId}/is-connected","href":"/api-reference/utilities/check-api-connection"},{"title":"Find the next posting slot","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/v1/workspaces/{workspaceId}/find-slot/{id}","href":"/api-reference/utilities/find-the-next-posting-slot"}]}]}]},"basePath":"","title":"Error handling - PostlyBee","deploymentId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","buildId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","dynamics":[],"chunks":[]}