Update a post
Authentication
The following security requirement applies to this operation.
Read the authentication guideParameters
postIdpathrequiredpostIdstringrequired- pattern
^[0-9a-f]{24}$
Original schema
{
"type": "string",
"pattern": "^[0-9a-f]{24}$"
}Request body
Bodyobjectrequired
Merge patch. Omitted fields preserve their current values. Scheduling fields may replace the schedule only with a complete scheduling mode; partial schedule field sets are rejected.
- additionalProperties
false
titlestringOmitted preserves the title. YouTube consumes it unless target options.title overrides it.
- maxLength
10000
contentstringOmitted preserves the existing content. Blank text is valid only when the resulting post retains at least one owned media attachment and every target provider accepts it.
- example
Updated post content
tagsarray
- maxItems
100
Array itemstringhashtagsarray
Reference-only; does not mutate content.
- maxItems
100
Array itemstringmentionsarray
Reference-only; provider mentions remain explicit content/options.
- maxItems
100
Array itemstringvisibilitystringRoot visibility intent. It maps only to documented native equivalents (YouTube privacyStatus and Mastodon visibility), and target options win.
- enum
[ "public", "private", "unlisted" ]
crosspostingEnabledbooleanmetadataobjectComplete replacement of bounded non-secret post metadata.
- additionalProperties
true
platformsarray
Omitted preserves existing targets; supplied replaces the complete target set. At most 100 targets per post.
- maxItems
100
Array itemobject
Discriminated target union. Pinterest has a closed typed options contract; every other platform keeps the existing generic v1 options object.
- discriminator
{ "propertyName": "platform", "mapping": { "instagram": "#/components/schemas/GenericCreatePostPlatformDto", "facebook": "#/components/schemas/GenericCreatePostPlatformDto", "threads": "#/components/schemas/GenericCreatePostPlatformDto", "whatsapp": "#/components/schemas/GenericCreatePostPlatformDto", "twitter": "#/components/schemas/GenericCreatePostPlatformDto", "linkedin": "#/components/schemas/GenericCreatePostPlatformDto", "youtube": "#/components/schemas/GenericCreatePostPlatformDto", "tiktok": "#/components/schemas/GenericCreatePostPlatformDto", "reddit": "#/components/schemas/GenericCreatePostPlatformDto", "bluesky": "#/components/schemas/GenericCreatePostPlatformDto", "telegram": "#/components/schemas/GenericCreatePostPlatformDto", "discord": "#/components/schemas/GenericCreatePostPlatformDto", "slack": "#/components/schemas/GenericCreatePostPlatformDto", "google_business": "#/components/schemas/GenericCreatePostPlatformDto", "snapchat": "#/components/schemas/GenericCreatePostPlatformDto", "mastodon": "#/components/schemas/GenericCreatePostPlatformDto", "pinterest": "#/components/schemas/PinterestCreatePostPlatformDto" } }- required
[ "platform", "accountId" ]
platformstringrequired- enum
[ "instagram", "facebook", "threads", "whatsapp", "twitter", "linkedin", "youtube", "tiktok", "pinterest", "reddit", "bluesky", "telegram", "discord", "slack", "google_business", "snapchat", "mastodon" ]- example
pinterest
accountIdstringrequired- example
a1b2c3d4e5f6a7b8c9d0e1f2
customContentstringTarget-specific text. Omitted inherits the root post content.
customMediaarray
Ordered team-owned media override. Omitted inherits root media; [] overrides it with no media.
- maxItems
35
Array itemobject
- required
[ "mediaId" ]
mediaIdstringrequiredTeam-owned media id.
- example
a1b2c3d4e5f6a7b8c9d0e1f2- pattern
^[0-9a-f]{24}$
altTextstringAccessibility description for this ordered attachment. Empty string is preserved intentionally.
- maxLength
10000- example
A product dashboard showing weekly growth.
scheduledForstringTarget-specific dispatch time. Omitted inherits the root schedule.
- format
date-time
optionsobject- additionalProperties
true- example
{ "boardId": "200000000000000001" }
platformSpecificDataobjectZernio-compatible alias of options. A target must not send both fields.
- additionalProperties
true
oneOf / 1object
- additionalProperties
false- required
[ "platform", "accountId" ]
platformstringrequiredExisting v1 target shape for every supported platform except Pinterest.
- enum
[ "instagram", "facebook", "threads", "whatsapp", "twitter", "linkedin", "youtube", "tiktok", "reddit", "bluesky", "telegram", "discord", "slack", "google_business", "snapchat", "mastodon" ]- example
mastodon
accountIdstringrequired- example
a1b2c3d4e5f6a7b8c9d0e1f2
customContentstringTarget-specific text. Omitted inherits the root post content.
customMediaarray
Ordered team-owned media override. Omitted inherits root media; an empty array deliberately publishes without root media.
- maxItems
35
Array itemobject
- required
[ "mediaId" ]
mediaIdstringrequiredTeam-owned media id.
- example
a1b2c3d4e5f6a7b8c9d0e1f2- pattern
^[0-9a-f]{24}$
altTextstringAccessibility description for this ordered attachment. Empty string is preserved intentionally.
- maxLength
10000- example
A product dashboard showing weekly growth.
scheduledForstringTarget-specific dispatch time. Omitted inherits the root schedule.
- format
date-time
optionsobject- additionalProperties
true- example
{ "__simulate": "rate_limited" }
platformSpecificDataobjectZernio-compatible alias of options. A target must not send both fields.
- additionalProperties
true
oneOf / 2object
- additionalProperties
false- required
[ "platform", "accountId" ]
platformstringrequired- enum
[ "pinterest" ]- example
pinterest
accountIdstringrequired- pattern
^[0-9a-f]{24}$- example
a1b2c3d4e5f6a7b8c9d0e1f2
customContentstringcustomMediaarray
- maxItems
35
Array itemobject
- required
[ "mediaId" ]
mediaIdstringrequiredTeam-owned media id.
- example
a1b2c3d4e5f6a7b8c9d0e1f2- pattern
^[0-9a-f]{24}$
altTextstringAccessibility description for this ordered attachment. Empty string is preserved intentionally.
- maxLength
10000- example
A product dashboard showing weekly growth.
scheduledForstring- format
date-time
optionsobject
- additionalProperties
false- required
[ "boardId" ]
boardIdstringrequiredPositive numeric Pinterest board id. It must identify the board selected by the connected account.
- minLength
1- maxLength
20- pattern
^[1-9][0-9]{0,19}$- example
200000000000000001
titlestringOptional Pin title. When omitted, the Pinterest adapter uses the first non-empty description line; if none exists, the title is omitted.
- maxLength
100- example
A product launch Pin
linkstringDestination URI. At runtime the Pinterest adapter accepts only trimmed public HTTPS URLs without credentials, fragments, private/reserved hosts or known URL-shortener hosts.
- format
uri- maxLength
2048- example
https://www.example.com/products/launch
altTextstringLegacy alias for accessibility text. Canonical callers use mediaItems[].altText, or validate media descriptor altText for dry runs.
- maxLength
500- deprecated
true- example
A ceramic vase beside a sunlit window.
boardSectionIdstringOptional positive numeric Pinterest board-section id, bounded to the canonical public provider-id envelope.
- pattern
^[1-9][0-9]{0,63}$- maxLength
64- example
300000000000000000001
isAiGeneratedbooleanWhen true, sends Pinterest's AI_MODIFIED disclosure. False omits the disclosure.
- default
false- example
true
coverImageUrlstringOptional public HTTPS cover image URL for a video Pin. Mutually exclusive with coverImageKeyFrameTime.
- format
uri- maxLength
2048- example
https://cdn.example.com/pinterest/video-cover.jpg
coverImageKeyFrameTimeintegerOptional whole-second video keyframe used as the Pin cover. Defaults to 0 when no coverImageUrl is supplied and is mutually exclusive with it.
- minimum
0- maximum
900- example
0
platformSpecificDataallOf
Zernio-compatible alias of options. A target must not send both fields.
allOf / 1object
- additionalProperties
false- required
[ "boardId" ]
boardIdstringrequiredPositive numeric Pinterest board id. It must identify the board selected by the connected account.
- minLength
1- maxLength
20- pattern
^[1-9][0-9]{0,19}$- example
200000000000000001
titlestringOptional Pin title. When omitted, the Pinterest adapter uses the first non-empty description line; if none exists, the title is omitted.
- maxLength
100- example
A product launch Pin
linkstringDestination URI. At runtime the Pinterest adapter accepts only trimmed public HTTPS URLs without credentials, fragments, private/reserved hosts or known URL-shortener hosts.
- format
uri- maxLength
2048- example
https://www.example.com/products/launch
altTextstringLegacy alias for accessibility text. Canonical callers use mediaItems[].altText, or validate media descriptor altText for dry runs.
- maxLength
500- deprecated
true- example
A ceramic vase beside a sunlit window.
boardSectionIdstringOptional positive numeric Pinterest board-section id, bounded to the canonical public provider-id envelope.
- pattern
^[1-9][0-9]{0,63}$- maxLength
64- example
300000000000000000001
isAiGeneratedbooleanWhen true, sends Pinterest's AI_MODIFIED disclosure. False omits the disclosure.
- default
false- example
true
coverImageUrlstringOptional public HTTPS cover image URL for a video Pin. Mutually exclusive with coverImageKeyFrameTime.
- format
uri- maxLength
2048- example
https://cdn.example.com/pinterest/video-cover.jpg
coverImageKeyFrameTimeintegerOptional whole-second video keyframe used as the Pin cover. Defaults to 0 when no coverImageUrl is supplied and is mutually exclusive with it.
- minimum
0- maximum
900- example
0
tiktokSettingsobjectRoot TikTok compatibility settings normalized into canonical adapter options for TikTok targets; per-target values win. Requires platforms in the same update.
- additionalProperties
true
facebookSettingsobjectRoot Facebook settings normalized into Facebook target adapter options. Direct per-target values and nested per-target facebookSettings win. Requires platforms in the same update.
- additionalProperties
true
mediaIdsarray
Omitted preserves existing media; supplied replaces the complete ordered media set. Each target is constrained by its platform-specific capability.
- maxItems
35- example
[ "a1b2c3d4e5f6a7b8c9d0e1f2" ]
Array itemstringmediaItemsarray
Omitted preserves existing media metadata; supplied replaces the complete ordered attachment set. Mutually exclusive with mediaIds.
- maxItems
35
Array itemobject
- required
[ "mediaId" ]
mediaIdstringrequiredTeam-owned media id.
- example
a1b2c3d4e5f6a7b8c9d0e1f2- pattern
^[0-9a-f]{24}$
altTextstringAccessibility description for this ordered attachment. Empty string is preserved intentionally.
- maxLength
10000- example
A product dashboard showing weekly growth.
scheduledForstringSelects a complete absolute scheduling mode. Omitted with every other scheduling field preserves the current schedule.
- format
date-time- example
2026-07-30T09:00:00.000Z
publishNowbooleanTrue selects a complete immediate-publish mode. Omitted with every other scheduling field preserves the current schedule.
- example
true
isDraftbooleanTrue selects a complete draft mode for an existing draft; a scheduled post cannot be converted back to a draft. Omitted with every other scheduling field preserves the current schedule.
- example
true
recyclingallOf
Merge-patches recurring copy configuration. Published posts accept this field only.
allOf / 1object
- additionalProperties
false
enabledbooleanSet false to disable recurring copies while preserving its cadence.
- default
true
gapinteger- minimum
1- example
2
gapFreqstring- enum
[ "week", "month" ]- default
month
startDatestringCycle anchor. Defaults to the resolved post schedule.
- format
date-time
expireCountintegerMaximum generated copies; null clears the existing limit on update.
- nullable
true- minimum
1
expireDatestringLast allowed occurrence; null clears the existing limit on update.
- nullable
true- format
date-time
contentVariationsarray
Round-robin base content. Use 2-20 entries, or [] on update to clear it. Target customContent still wins.
- maxItems
20
Array itemstringtimezonestringSchedule modifier. It cannot replace the schedule without a complete mode selector; when omitted during replacement, the current timezone is preserved.
- example
Europe/Istanbul
exactTimingbooleanSchedule modifier. It cannot replace the schedule without a complete mode selector; when omitted during replacement, the current exact-timing choice is preserved.
- example
true
queuedFromProfilestringSelects a complete recurring-queue mode. If queueId is omitted, the selected profile must resolve to exactly one queue.
- example
a1b2c3d4e5f6a7b8c9d0e1f2
queueIdstringQueue modifier for recurring-queue mode. It cannot replace the schedule without queuedFromProfile.
- example
b2c3d4e5f6a7b8c9d0e1f2a3
skipDuplicateCheckbooleanBypasses only the 24-hour content duplicate fence for this patch.
- default
false
Original schema
{
"$ref": "#/components/schemas/PatchPostDto"
}Responses
Status codes and shapes declared for this operation. Read each description for the meaning of that response.
200Response schema
Response 200object
- required
[ "post", "targets", "mediaIds", "mediaItems" ]
messagestringPresent on mutation responses; omitted by non-mutation post actions.
- example
Post updated successfully
warningsarray
Present on post updates; empty when the update completed without warnings.
Array itemstringpostobjectrequired
- required
[ "id", "_id", "profileId", "content", "status", "scheduledFor", "timezone", "scheduleKind", "exactTiming", "scheduleAdjusted", "queueId", "queueSlot", "createdAt", "updatedAt" ]
idstringrequired- example
a1b2c3d4e5f6a7b8c9d0e1f2
_idstringrequiredZernio-compatible alias of the canonical zumpo id.
- example
a1b2c3d4e5f6a7b8c9d0e1f2
profileIdstringrequired- example
c3d4e5f6a7b8c9d0e1f2a3b4
contentstringrequired- example
Hello from zumpo
titlestring- maxLength
10000
tagsarray
- maxItems
100
Array itemstringhashtagsarray
- maxItems
100
Array itemstringmentionsarray
- maxItems
100
Array itemstringvisibilitystring- enum
[ "public", "private", "unlisted" ]
metadataobjectBounded non-secret metadata supplied by the caller.
- additionalProperties
true
statusstringrequired- enum
[ "draft", "scheduled", "queued", "publishing", "published", "partial", "failed", "cancelled" ]- example
scheduled
scheduledForstringrequired- nullable
true- format
date-time- example
2026-07-29T09:00:00.000Z
timezonestringrequired- example
Europe/Istanbul
scheduleKindstringrequired- nullable
true- enum
[ "absolute", "recurring" ]- example
absolute
exactTimingbooleanrequired- example
true
scheduleAdjustedbooleanrequired- example
false
queueIdstringrequired- nullable
true- example
null
queueSlotobjectrequired
- nullable
true- example
null
allOf / 1object
- required
[ "id", "dayOfWeek", "time" ]
idstringrequired- example
weekday-morning
dayOfWeeknumberrequired- minimum
0- maximum
6- example
1
timestringrequired- pattern
^([01][0-9]|2[0-3]):[0-5][0-9]$- example
09:30
recyclingallOf
Durable recurring configuration and runtime cursor.
allOf / 1object
- required
[ "enabled", "contentVariations", "contentVariationIndex", "recycleCount" ]
enabledbooleanrequiredgapinteger- minimum
1
gapFreqstring- enum
[ "week", "month" ]
startDatestring- format
date-time
expireCountinteger- minimum
1
expireDatestring- format
date-time
contentVariationsarrayrequired
- maxItems
20
Array itemstringcontentVariationIndexintegerrequired- minimum
0
recycleCountintegerrequired- minimum
0
nextRecycleAtstring- format
date-time
lastRecycledAtstring- format
date-time
recycledFromPostIdstringOriginal source post for a generated recurring copy.
- pattern
^[0-9a-f]{24}$
queuedFromProfilestringPresent only for a post allocated from a recurring queue; derived from its durable profile binding.
- example
c3d4e5f6a7b8c9d0e1f2a3b4
platformsarray
Zernio-compatible target projection. Omitted on collection reads that do not load target relations.
Array itemobject
- required
[ "platform", "accountId", "status" ]
platformstringrequired- enum
[ "instagram", "facebook", "threads", "whatsapp", "twitter", "linkedin", "youtube", "tiktok", "pinterest", "reddit", "bluesky", "telegram", "discord", "slack", "google_business", "snapchat", "mastodon" ]- example
mastodon
accountIdstringrequired- example
b2c3d4e5f6a7b8c9d0e1f2a3
customContentstringStored target-specific text override. Absent when root content is inherited.
customMediaarray
Stored target-specific ordered media override. Absent when root media is inherited; [] is an explicit no-media override.
- maxItems
35
Array itemobject
- required
[ "mediaId" ]
mediaIdstringrequiredTeam-owned media id.
- example
a1b2c3d4e5f6a7b8c9d0e1f2- pattern
^[0-9a-f]{24}$
altTextstringAccessibility description for this ordered attachment. Empty string is preserved intentionally.
- maxLength
10000- example
A product dashboard showing weekly growth.
statusstringrequired- enum
[ "scheduled", "queued", "publishing", "published", "failed", "held", "cancelled" ]- example
scheduled
scheduledForstring- format
date-time- example
2026-07-29T09:00:00.000Z
platformPostIdstring- example
1900000000000000001
platformPostUrlstring- format
uri- example
https://social.example/posts/1900000000000000001
publishedAtstring- format
date-time- example
2026-07-29T09:00:05.000Z
deletedAtstringProvider-observed native deletion time; present only after deletion is detected.
- format
date-time
platformSpecificDataobjectThe exact platforms[].options object stored for this target at create time. Absent when no options were recorded for the row.
- additionalProperties
true- example
{ "visibility": "unlisted" }
isTrialReelbooleanPresent and true only when this Instagram Reel was created with persisted trialParams.
- enum
[ true ]
trialGraduationStrategystringExact creation-time Instagram Trial Reel graduation strategy.
- enum
[ "MANUAL", "SS_PERFORMANCE" ]
errorMessagestringProvider failure text recorded by the dispatcher on the last delivery attempt. UNSTABLE free text — do not branch on it. Absent until a delivery attempt failed.
- example
Validation failed: Text character limit of 500 exceeded
errorCategorystringStable error category derived from the durable machine error code, never from errorMessage.
- enum
[ "auth_expired", "user_content", "user_abuse", "account_issue", "platform_rejected", "platform_error", "platform_rate_limit", "quota_exhausted", "system_error", "unknown" ]
errorSourcestringStable error origin derived from the durable machine error code.
- enum
[ "user", "platform", "system" ]
mediaItemsarray
Zernio-compatible durable attachment projection. Omitted on collection reads that do not load media relations.
Array itemobject
- required
[ "mediaId" ]
mediaIdstringrequiredTeam-owned media id.
- example
a1b2c3d4e5f6a7b8c9d0e1f2- pattern
^[0-9a-f]{24}$
altTextstringAccessibility description for this ordered attachment. Empty string is preserved intentionally.
- maxLength
10000- example
A product dashboard showing weekly growth.
typestringDurable media kind. GIF is derived only from an image attachment with image/gif MIME metadata.
- enum
[ "image", "video", "gif", "document" ]- example
image
mimeTypestringVerified MIME type, falling back to the persisted upload expectation.
- example
image/png
sizeintegerVerified byte size, falling back to the persisted upload expectation.
- minimum
0- example
4096
createdAtstringrequired- format
date-time- example
2026-07-29T09:00:00.000Z
updatedAtstringrequired- format
date-time- example
2026-07-29T09:00:00.000Z
targetsarrayrequired
Array itemobject
- required
[ "id", "accountId", "platform", "status", "scheduledFor" ]
idstringrequired- example
b2c3d4e5f6a7b8c9d0e1f2a3
accountIdstringrequired- example
c3d4e5f6a7b8c9d0e1f2a3b4
platformstringrequired- example
mastodon
statusstringrequired- enum
[ "scheduled", "queued", "publishing", "published", "failed", "held", "cancelled" ]- example
scheduled
scheduledForstringrequired- nullable
true- format
date-time- example
2026-07-29T09:00:00.000Z
mediaIdsarrayrequired
Array itemstringmediaItemsarrayrequired
Array itemobject
- required
[ "mediaId" ]
mediaIdstringrequiredTeam-owned media id.
- example
a1b2c3d4e5f6a7b8c9d0e1f2- pattern
^[0-9a-f]{24}$
altTextstringAccessibility description for this ordered attachment. Empty string is preserved intentionally.
- maxLength
10000- example
A product dashboard showing weekly growth.
Original schema
{
"$ref": "#/components/schemas/PostDetailResponseDto"
}400Response schema
Response 400object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}401Authentication failed
Authentication failed
Response 401object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}403Response schema
Response 403object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}404Response schema
Response 404object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}409Response schema
Response 409object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}422Response schema
Response 422object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}429Rate limit exceeded
Rate limit exceeded
Response 429object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}Response headers
X-RateLimit-Limit
Request ceiling that applied to this request. Authenticated requests use the team tier ceiling; unauthenticated identity endpoints use a per-IP ceiling. Usage is measured continuously against a trailing period rather than tallied and cleared at a boundary, so the full ceiling never becomes available again in one step.
X-RateLimit-Limitinteger- minimum
1
Original schema
{
"type": "integer",
"minimum": 1
}X-RateLimit-Remaining
Requests still allowed against that ceiling; never negative. On a 429 produced by the request throttler this is 0. Such a refused request is not counted, so retrying too early costs you no capacity and does not push your recovery further away.
X-RateLimit-Remaininginteger- minimum
0
Original schema
{
"type": "integer",
"minimum": 0
}X-RateLimit-Reset
Absolute Unix epoch time, in SECONDS, at which the current counting period turns over. This is NOT the number of seconds left: subtract the current time to obtain that. It is also NOT the moment your capacity returns: earlier usage keeps weighing on the ceiling across the turnover, so after a 429 wait for Retry-After instead, which is usually later than this value.
X-RateLimit-Resetinteger- format
int64- minimum
0
Original schema
{
"type": "integer",
"format": "int64",
"minimum": 0
}Retry-After
Seconds to wait before retrying. Always a positive integer delta (never an HTTP-date), at least 1. On a 429 from the request throttler it is the wait until your usage actually drops back under the ceiling; prefer it over any delay you compute from X-RateLimit-Reset.
Retry-Afterinteger- minimum
1- maximum
86400
Original schema
{
"type": "integer",
"minimum": 1,
"maximum": 86400
}500Server error
Server error
Response 500object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}501Response schema
Response 501object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}502Platform error
Platform error
Response 502object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}503Service unavailable
Service unavailable
Response 503object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}Referenced schemas
Original local definitions used by this operation. Recursive and deeply nested references can be inspected here without expanding them repeatedly.
PatchPostDto
#/components/schemas/PatchPostDto
{
"type": "object",
"properties": {
"title": {
"type": "string",
"maxLength": 10000,
"description": "Omitted preserves the title. YouTube consumes it unless target options.title overrides it."
},
"content": {
"type": "string",
"example": "Updated post content",
"description": "Omitted preserves the existing content. Blank text is valid only when the resulting post retains at least one owned media attachment and every target provider accepts it."
},
"tags": {
"maxItems": 100,
"type": "array",
"items": {
"type": "string"
}
},
"hashtags": {
"maxItems": 100,
"description": "Reference-only; does not mutate content.",
"type": "array",
"items": {
"type": "string"
}
},
"mentions": {
"maxItems": 100,
"description": "Reference-only; provider mentions remain explicit content/options.",
"type": "array",
"items": {
"type": "string"
}
},
"visibility": {
"type": "string",
"enum": [
"public",
"private",
"unlisted"
],
"description": "Root visibility intent. It maps only to documented native equivalents (YouTube privacyStatus and Mastodon visibility), and target options win."
},
"crosspostingEnabled": {
"type": "boolean"
},
"metadata": {
"type": "object",
"additionalProperties": true,
"description": "Complete replacement of bounded non-secret post metadata."
},
"platforms": {
"maxItems": 100,
"description": "Omitted preserves existing targets; supplied replaces the complete target set. At most 100 targets per post.",
"type": "array",
"items": {
"$ref": "#/components/schemas/CreatePostPlatformDto"
}
},
"tiktokSettings": {
"type": "object",
"additionalProperties": true,
"description": "Root TikTok compatibility settings normalized into canonical adapter options for TikTok targets; per-target values win. Requires platforms in the same update."
},
"facebookSettings": {
"type": "object",
"additionalProperties": true,
"description": "Root Facebook settings normalized into Facebook target adapter options. Direct per-target values and nested per-target facebookSettings win. Requires platforms in the same update."
},
"mediaIds": {
"maxItems": 35,
"description": "Omitted preserves existing media; supplied replaces the complete ordered media set. Each target is constrained by its platform-specific capability.",
"example": [
"a1b2c3d4e5f6a7b8c9d0e1f2"
],
"type": "array",
"items": {
"type": "string"
}
},
"mediaItems": {
"maxItems": 35,
"description": "Omitted preserves existing media metadata; supplied replaces the complete ordered attachment set. Mutually exclusive with mediaIds.",
"type": "array",
"items": {
"$ref": "#/components/schemas/PostMediaItemDto"
}
},
"scheduledFor": {
"type": "string",
"format": "date-time",
"example": "2026-07-30T09:00:00.000Z",
"description": "Selects a complete absolute scheduling mode. Omitted with every other scheduling field preserves the current schedule."
},
"publishNow": {
"type": "boolean",
"example": true,
"description": "True selects a complete immediate-publish mode. Omitted with every other scheduling field preserves the current schedule."
},
"isDraft": {
"type": "boolean",
"example": true,
"description": "True selects a complete draft mode for an existing draft; a scheduled post cannot be converted back to a draft. Omitted with every other scheduling field preserves the current schedule."
},
"recycling": {
"description": "Merge-patches recurring copy configuration. Published posts accept this field only.",
"allOf": [
{
"$ref": "#/components/schemas/RecyclingConfigDto"
}
]
},
"timezone": {
"type": "string",
"example": "Europe/Istanbul",
"description": "Schedule modifier. It cannot replace the schedule without a complete mode selector; when omitted during replacement, the current timezone is preserved."
},
"exactTiming": {
"type": "boolean",
"example": true,
"description": "Schedule modifier. It cannot replace the schedule without a complete mode selector; when omitted during replacement, the current exact-timing choice is preserved."
},
"queuedFromProfile": {
"type": "string",
"example": "a1b2c3d4e5f6a7b8c9d0e1f2",
"description": "Selects a complete recurring-queue mode. If queueId is omitted, the selected profile must resolve to exactly one queue."
},
"queueId": {
"type": "string",
"example": "b2c3d4e5f6a7b8c9d0e1f2a3",
"description": "Queue modifier for recurring-queue mode. It cannot replace the schedule without queuedFromProfile."
},
"skipDuplicateCheck": {
"type": "boolean",
"default": false,
"description": "Bypasses only the 24-hour content duplicate fence for this patch."
}
},
"additionalProperties": false,
"description": "Merge patch. Omitted fields preserve their current values. Scheduling fields may replace the schedule only with a complete scheduling mode; partial schedule field sets are rejected."
}CreatePostPlatformDto
#/components/schemas/CreatePostPlatformDto
{
"type": "object",
"properties": {
"platform": {
"type": "string",
"enum": [
"instagram",
"facebook",
"threads",
"whatsapp",
"twitter",
"linkedin",
"youtube",
"tiktok",
"pinterest",
"reddit",
"bluesky",
"telegram",
"discord",
"slack",
"google_business",
"snapchat",
"mastodon"
],
"example": "pinterest"
},
"accountId": {
"type": "string",
"example": "a1b2c3d4e5f6a7b8c9d0e1f2"
},
"customContent": {
"type": "string",
"description": "Target-specific text. Omitted inherits the root post content."
},
"customMedia": {
"maxItems": 35,
"description": "Ordered team-owned media override. Omitted inherits root media; [] overrides it with no media.",
"type": "array",
"items": {
"$ref": "#/components/schemas/PostMediaItemDto"
}
},
"scheduledFor": {
"type": "string",
"format": "date-time",
"description": "Target-specific dispatch time. Omitted inherits the root schedule."
},
"options": {
"type": "object",
"additionalProperties": true,
"example": {
"boardId": "200000000000000001"
}
},
"platformSpecificData": {
"type": "object",
"additionalProperties": true,
"description": "Zernio-compatible alias of options. A target must not send both fields."
}
},
"description": "Discriminated target union. Pinterest has a closed typed options contract; every other platform keeps the existing generic v1 options object.",
"oneOf": [
{
"$ref": "#/components/schemas/GenericCreatePostPlatformDto"
},
{
"$ref": "#/components/schemas/PinterestCreatePostPlatformDto"
}
],
"discriminator": {
"propertyName": "platform",
"mapping": {
"instagram": "#/components/schemas/GenericCreatePostPlatformDto",
"facebook": "#/components/schemas/GenericCreatePostPlatformDto",
"threads": "#/components/schemas/GenericCreatePostPlatformDto",
"whatsapp": "#/components/schemas/GenericCreatePostPlatformDto",
"twitter": "#/components/schemas/GenericCreatePostPlatformDto",
"linkedin": "#/components/schemas/GenericCreatePostPlatformDto",
"youtube": "#/components/schemas/GenericCreatePostPlatformDto",
"tiktok": "#/components/schemas/GenericCreatePostPlatformDto",
"reddit": "#/components/schemas/GenericCreatePostPlatformDto",
"bluesky": "#/components/schemas/GenericCreatePostPlatformDto",
"telegram": "#/components/schemas/GenericCreatePostPlatformDto",
"discord": "#/components/schemas/GenericCreatePostPlatformDto",
"slack": "#/components/schemas/GenericCreatePostPlatformDto",
"google_business": "#/components/schemas/GenericCreatePostPlatformDto",
"snapchat": "#/components/schemas/GenericCreatePostPlatformDto",
"mastodon": "#/components/schemas/GenericCreatePostPlatformDto",
"pinterest": "#/components/schemas/PinterestCreatePostPlatformDto"
}
},
"required": [
"platform",
"accountId"
]
}PostMediaItemDto
#/components/schemas/PostMediaItemDto
{
"type": "object",
"properties": {
"mediaId": {
"type": "string",
"example": "a1b2c3d4e5f6a7b8c9d0e1f2",
"pattern": "^[0-9a-f]{24}$",
"description": "Team-owned media id."
},
"altText": {
"type": "string",
"maxLength": 10000,
"example": "A product dashboard showing weekly growth.",
"description": "Accessibility description for this ordered attachment. Empty string is preserved intentionally."
}
},
"required": [
"mediaId"
]
}GenericCreatePostPlatformDto
#/components/schemas/GenericCreatePostPlatformDto
{
"type": "object",
"properties": {
"platform": {
"type": "string",
"enum": [
"instagram",
"facebook",
"threads",
"whatsapp",
"twitter",
"linkedin",
"youtube",
"tiktok",
"reddit",
"bluesky",
"telegram",
"discord",
"slack",
"google_business",
"snapchat",
"mastodon"
],
"example": "mastodon",
"description": "Existing v1 target shape for every supported platform except Pinterest."
},
"accountId": {
"type": "string",
"example": "a1b2c3d4e5f6a7b8c9d0e1f2"
},
"customContent": {
"type": "string",
"description": "Target-specific text. Omitted inherits the root post content."
},
"customMedia": {
"maxItems": 35,
"description": "Ordered team-owned media override. Omitted inherits root media; an empty array deliberately publishes without root media.",
"type": "array",
"items": {
"$ref": "#/components/schemas/PostMediaItemDto"
}
},
"scheduledFor": {
"type": "string",
"format": "date-time",
"description": "Target-specific dispatch time. Omitted inherits the root schedule."
},
"options": {
"type": "object",
"additionalProperties": true,
"example": {
"__simulate": "rate_limited"
}
},
"platformSpecificData": {
"type": "object",
"additionalProperties": true,
"description": "Zernio-compatible alias of options. A target must not send both fields."
}
},
"additionalProperties": false,
"required": [
"platform",
"accountId"
]
}PinterestCreatePostPlatformDto
#/components/schemas/PinterestCreatePostPlatformDto
{
"type": "object",
"properties": {
"platform": {
"type": "string",
"enum": [
"pinterest"
],
"example": "pinterest"
},
"accountId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"example": "a1b2c3d4e5f6a7b8c9d0e1f2"
},
"customContent": {
"type": "string"
},
"customMedia": {
"maxItems": 35,
"type": "array",
"items": {
"$ref": "#/components/schemas/PostMediaItemDto"
}
},
"scheduledFor": {
"type": "string",
"format": "date-time"
},
"options": {
"$ref": "#/components/schemas/PinterestPostOptionsDto"
},
"platformSpecificData": {
"description": "Zernio-compatible alias of options. A target must not send both fields.",
"allOf": [
{
"$ref": "#/components/schemas/PinterestPostOptionsDto"
}
]
}
},
"additionalProperties": false,
"required": [
"platform",
"accountId"
]
}PinterestPostOptionsDto
#/components/schemas/PinterestPostOptionsDto
{
"type": "object",
"properties": {
"boardId": {
"type": "string",
"minLength": 1,
"maxLength": 20,
"pattern": "^[1-9][0-9]{0,19}$",
"example": "200000000000000001",
"description": "Positive numeric Pinterest board id. It must identify the board selected by the connected account."
},
"title": {
"type": "string",
"maxLength": 100,
"example": "A product launch Pin",
"description": "Optional Pin title. When omitted, the Pinterest adapter uses the first non-empty description line; if none exists, the title is omitted."
},
"link": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"example": "https://www.example.com/products/launch",
"description": "Destination URI. At runtime the Pinterest adapter accepts only trimmed public HTTPS URLs without credentials, fragments, private/reserved hosts or known URL-shortener hosts."
},
"altText": {
"type": "string",
"maxLength": 500,
"deprecated": true,
"example": "A ceramic vase beside a sunlit window.",
"description": "Legacy alias for accessibility text. Canonical callers use mediaItems[].altText, or validate media descriptor altText for dry runs."
},
"boardSectionId": {
"type": "string",
"pattern": "^[1-9][0-9]{0,63}$",
"maxLength": 64,
"example": "300000000000000000001",
"description": "Optional positive numeric Pinterest board-section id, bounded to the canonical public provider-id envelope."
},
"isAiGenerated": {
"type": "boolean",
"default": false,
"example": true,
"description": "When true, sends Pinterest's AI_MODIFIED disclosure. False omits the disclosure."
},
"coverImageUrl": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"example": "https://cdn.example.com/pinterest/video-cover.jpg",
"description": "Optional public HTTPS cover image URL for a video Pin. Mutually exclusive with coverImageKeyFrameTime."
},
"coverImageKeyFrameTime": {
"type": "integer",
"minimum": 0,
"maximum": 900,
"example": 0,
"description": "Optional whole-second video keyframe used as the Pin cover. Defaults to 0 when no coverImageUrl is supplied and is mutually exclusive with it."
}
},
"additionalProperties": false,
"required": [
"boardId"
]
}RecyclingConfigDto
#/components/schemas/RecyclingConfigDto
{
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"default": true,
"description": "Set false to disable recurring copies while preserving its cadence."
},
"gap": {
"type": "integer",
"minimum": 1,
"example": 2
},
"gapFreq": {
"type": "string",
"enum": [
"week",
"month"
],
"default": "month"
},
"startDate": {
"type": "string",
"format": "date-time",
"description": "Cycle anchor. Defaults to the resolved post schedule."
},
"expireCount": {
"type": "integer",
"nullable": true,
"minimum": 1,
"description": "Maximum generated copies; null clears the existing limit on update."
},
"expireDate": {
"type": "string",
"nullable": true,
"format": "date-time",
"description": "Last allowed occurrence; null clears the existing limit on update."
},
"contentVariations": {
"maxItems": 20,
"description": "Round-robin base content. Use 2-20 entries, or [] on update to clear it. Target customContent still wins.",
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}PostDetailResponseDto
#/components/schemas/PostDetailResponseDto
{
"type": "object",
"properties": {
"message": {
"type": "string",
"example": "Post updated successfully",
"description": "Present on mutation responses; omitted by non-mutation post actions."
},
"warnings": {
"description": "Present on post updates; empty when the update completed without warnings.",
"type": "array",
"items": {
"type": "string"
}
},
"post": {
"$ref": "#/components/schemas/PostDetailDto"
},
"targets": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CreatedPostTargetDto"
}
},
"mediaIds": {
"type": "array",
"items": {
"type": "string"
}
},
"mediaItems": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PostMediaItemDto"
}
}
},
"required": [
"post",
"targets",
"mediaIds",
"mediaItems"
]
}PostDetailDto
#/components/schemas/PostDetailDto
{
"type": "object",
"properties": {
"id": {
"type": "string",
"example": "a1b2c3d4e5f6a7b8c9d0e1f2"
},
"_id": {
"type": "string",
"example": "a1b2c3d4e5f6a7b8c9d0e1f2",
"description": "Zernio-compatible alias of the canonical zumpo `id`."
},
"profileId": {
"type": "string",
"example": "c3d4e5f6a7b8c9d0e1f2a3b4"
},
"content": {
"type": "string",
"example": "Hello from zumpo"
},
"title": {
"type": "string",
"maxLength": 10000
},
"tags": {
"maxItems": 100,
"type": "array",
"items": {
"type": "string"
}
},
"hashtags": {
"maxItems": 100,
"type": "array",
"items": {
"type": "string"
}
},
"mentions": {
"maxItems": 100,
"type": "array",
"items": {
"type": "string"
}
},
"visibility": {
"type": "string",
"enum": [
"public",
"private",
"unlisted"
]
},
"metadata": {
"type": "object",
"additionalProperties": true,
"description": "Bounded non-secret metadata supplied by the caller."
},
"status": {
"type": "string",
"enum": [
"draft",
"scheduled",
"queued",
"publishing",
"published",
"partial",
"failed",
"cancelled"
],
"example": "scheduled"
},
"scheduledFor": {
"type": "string",
"nullable": true,
"format": "date-time",
"example": "2026-07-29T09:00:00.000Z"
},
"timezone": {
"type": "string",
"example": "Europe/Istanbul"
},
"scheduleKind": {
"type": "string",
"nullable": true,
"enum": [
"absolute",
"recurring"
],
"example": "absolute"
},
"exactTiming": {
"type": "boolean",
"example": true
},
"scheduleAdjusted": {
"type": "boolean",
"example": false
},
"queueId": {
"type": "string",
"nullable": true,
"example": null
},
"queueSlot": {
"nullable": true,
"example": null,
"type": "object",
"allOf": [
{
"$ref": "#/components/schemas/PostQueueSlotDto"
}
]
},
"recycling": {
"description": "Durable recurring configuration and runtime cursor.",
"allOf": [
{
"$ref": "#/components/schemas/RecyclingStateDto"
}
]
},
"recycledFromPostId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "Original source post for a generated recurring copy."
},
"queuedFromProfile": {
"type": "string",
"example": "c3d4e5f6a7b8c9d0e1f2a3b4",
"description": "Present only for a post allocated from a recurring queue; derived from its durable profile binding."
},
"platforms": {
"description": "Zernio-compatible target projection. Omitted on collection reads that do not load target relations.",
"type": "array",
"items": {
"$ref": "#/components/schemas/PostResponsePlatformDto"
}
},
"mediaItems": {
"description": "Zernio-compatible durable attachment projection. Omitted on collection reads that do not load media relations.",
"type": "array",
"items": {
"$ref": "#/components/schemas/PostResponseMediaItemDto"
}
},
"createdAt": {
"type": "string",
"format": "date-time",
"example": "2026-07-29T09:00:00.000Z"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"example": "2026-07-29T09:00:00.000Z"
}
},
"required": [
"id",
"_id",
"profileId",
"content",
"status",
"scheduledFor",
"timezone",
"scheduleKind",
"exactTiming",
"scheduleAdjusted",
"queueId",
"queueSlot",
"createdAt",
"updatedAt"
]
}PostQueueSlotDto
#/components/schemas/PostQueueSlotDto
{
"type": "object",
"properties": {
"id": {
"type": "string",
"example": "weekday-morning"
},
"dayOfWeek": {
"type": "number",
"minimum": 0,
"maximum": 6,
"example": 1
},
"time": {
"type": "string",
"pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$",
"example": "09:30"
}
},
"required": [
"id",
"dayOfWeek",
"time"
]
}RecyclingStateDto
#/components/schemas/RecyclingStateDto
{
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"gap": {
"type": "integer",
"minimum": 1
},
"gapFreq": {
"type": "string",
"enum": [
"week",
"month"
]
},
"startDate": {
"type": "string",
"format": "date-time"
},
"expireCount": {
"type": "integer",
"minimum": 1
},
"expireDate": {
"type": "string",
"format": "date-time"
},
"contentVariations": {
"maxItems": 20,
"type": "array",
"items": {
"type": "string"
}
},
"contentVariationIndex": {
"type": "integer",
"minimum": 0
},
"recycleCount": {
"type": "integer",
"minimum": 0
},
"nextRecycleAt": {
"type": "string",
"format": "date-time"
},
"lastRecycledAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"enabled",
"contentVariations",
"contentVariationIndex",
"recycleCount"
]
}PostResponsePlatformDto
#/components/schemas/PostResponsePlatformDto
{
"type": "object",
"properties": {
"platform": {
"type": "string",
"enum": [
"instagram",
"facebook",
"threads",
"whatsapp",
"twitter",
"linkedin",
"youtube",
"tiktok",
"pinterest",
"reddit",
"bluesky",
"telegram",
"discord",
"slack",
"google_business",
"snapchat",
"mastodon"
],
"example": "mastodon"
},
"accountId": {
"type": "string",
"example": "b2c3d4e5f6a7b8c9d0e1f2a3"
},
"customContent": {
"type": "string",
"description": "Stored target-specific text override. Absent when root content is inherited."
},
"customMedia": {
"maxItems": 35,
"description": "Stored target-specific ordered media override. Absent when root media is inherited; [] is an explicit no-media override.",
"type": "array",
"items": {
"$ref": "#/components/schemas/PostMediaItemDto"
}
},
"status": {
"type": "string",
"enum": [
"scheduled",
"queued",
"publishing",
"published",
"failed",
"held",
"cancelled"
],
"example": "scheduled"
},
"scheduledFor": {
"type": "string",
"format": "date-time",
"example": "2026-07-29T09:00:00.000Z"
},
"platformPostId": {
"type": "string",
"example": "1900000000000000001"
},
"platformPostUrl": {
"type": "string",
"format": "uri",
"example": "https://social.example/posts/1900000000000000001"
},
"publishedAt": {
"type": "string",
"format": "date-time",
"example": "2026-07-29T09:00:05.000Z"
},
"deletedAt": {
"type": "string",
"format": "date-time",
"description": "Provider-observed native deletion time; present only after deletion is detected."
},
"platformSpecificData": {
"type": "object",
"additionalProperties": true,
"example": {
"visibility": "unlisted"
},
"description": "The exact platforms[].options object stored for this target at create time. Absent when no options were recorded for the row."
},
"isTrialReel": {
"type": "boolean",
"enum": [
true
],
"description": "Present and true only when this Instagram Reel was created with persisted trialParams."
},
"trialGraduationStrategy": {
"type": "string",
"enum": [
"MANUAL",
"SS_PERFORMANCE"
],
"description": "Exact creation-time Instagram Trial Reel graduation strategy."
},
"errorMessage": {
"type": "string",
"example": "Validation failed: Text character limit of 500 exceeded",
"description": "Provider failure text recorded by the dispatcher on the last delivery attempt. UNSTABLE free text — do not branch on it. Absent until a delivery attempt failed."
},
"errorCategory": {
"type": "string",
"enum": [
"auth_expired",
"user_content",
"user_abuse",
"account_issue",
"platform_rejected",
"platform_error",
"platform_rate_limit",
"quota_exhausted",
"system_error",
"unknown"
],
"description": "Stable error category derived from the durable machine error code, never from errorMessage."
},
"errorSource": {
"type": "string",
"enum": [
"user",
"platform",
"system"
],
"description": "Stable error origin derived from the durable machine error code."
}
},
"required": [
"platform",
"accountId",
"status"
]
}PostResponseMediaItemDto
#/components/schemas/PostResponseMediaItemDto
{
"type": "object",
"properties": {
"mediaId": {
"type": "string",
"example": "a1b2c3d4e5f6a7b8c9d0e1f2",
"pattern": "^[0-9a-f]{24}$",
"description": "Team-owned media id."
},
"altText": {
"type": "string",
"maxLength": 10000,
"example": "A product dashboard showing weekly growth.",
"description": "Accessibility description for this ordered attachment. Empty string is preserved intentionally."
},
"type": {
"type": "string",
"enum": [
"image",
"video",
"gif",
"document"
],
"example": "image",
"description": "Durable media kind. GIF is derived only from an image attachment with image/gif MIME metadata."
},
"mimeType": {
"type": "string",
"example": "image/png",
"description": "Verified MIME type, falling back to the persisted upload expectation."
},
"size": {
"type": "integer",
"minimum": 0,
"example": 4096,
"description": "Verified byte size, falling back to the persisted upload expectation."
}
},
"required": [
"mediaId"
]
}CreatedPostTargetDto
#/components/schemas/CreatedPostTargetDto
{
"type": "object",
"properties": {
"id": {
"type": "string",
"example": "b2c3d4e5f6a7b8c9d0e1f2a3"
},
"accountId": {
"type": "string",
"example": "c3d4e5f6a7b8c9d0e1f2a3b4"
},
"platform": {
"type": "string",
"example": "mastodon"
},
"status": {
"type": "string",
"enum": [
"scheduled",
"queued",
"publishing",
"published",
"failed",
"held",
"cancelled"
],
"example": "scheduled"
},
"scheduledFor": {
"type": "string",
"nullable": true,
"format": "date-time",
"example": "2026-07-29T09:00:00.000Z"
}
},
"required": [
"id",
"accountId",
"platform",
"status",
"scheduledFor"
]
}ZumpoErrorDto
#/components/schemas/ZumpoErrorDto
{
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Human-readable message. UNSTABLE — do not branch on it.",
"example": "WhatsApp session window expired; use a template message."
},
"type": {
"type": "string",
"description": "Stable error category (does not change across versions).",
"enum": [
"invalid_request_error",
"authentication_error",
"permission_error",
"not_found",
"conflict",
"rate_limit_error",
"platform_error",
"platform_rejected",
"account_disconnected",
"media_error",
"api_error"
],
"example": "invalid_request_error"
},
"code": {
"type": "string",
"description": "Stable machine-readable code.",
"example": "whatsapp_window_expired"
},
"param": {
"type": "string",
"description": "Offending parameter, present only when relevant.",
"example": "body"
},
"docUrl": {
"type": "string",
"description": "https://docs.zumpo.io/errors/{code}",
"example": "https://docs.zumpo.io/errors/whatsapp_window_expired"
},
"requestId": {
"type": "string",
"description": "Support correlation id: req_ + 16 hex.",
"example": "req_7f3a9c2e1b8d4056"
},
"details": {
"type": "object",
"additionalProperties": true,
"description": "Additional structured context, present only when an error has more to say than a single `param` can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.",
"example": {
"created": [
{
"kind": "campaign",
"platformId": "120210000000000001"
},
{
"kind": "adSet",
"platformId": "120210000000000002"
}
]
}
}
},
"required": [
"error",
"type",
"code",
"docUrl",
"requestId"
]
}