Republish a published post as a new post
Creates an INDEPENDENT new post from a published one: content, media and targets are copied, the schedule comes from the request. The source post is not modified and the two are not linked afterwards — the link lives only in the post.recycled event. This endpoint itself is a one-shot manual action; automatic weekly/monthly copies are configured separately through the recycling field on POST/PUT /v1/posts.
Authentication
The following security requirement applies to this operation.
Read the authentication guideParameters
idpathrequiredidstringrequired- example
a1b2c3d4e5f6a7b8c9d0e1f2
Original schema
{
"example": "a1b2c3d4e5f6a7b8c9d0e1f2",
"type": "string"
}x-request-idheaderoptionalFive-minute replay key scoped by team and execution mode.
x-request-idstring- minLength
1- maxLength
200- pattern
^[A-Za-z0-9_-]{1,200}$
Original schema
{
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[A-Za-z0-9_-]{1,200}$"
}Request body
Bodyobjectrequired
platformsarray
Override the copied targets. Omit to reuse the source post targets and options. 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
publishNowboolean- default
false- example
true
scheduledForstring- format
date-time- example
2026-08-10T09:00:00.000Z
queuedFromProfilestring- example
c3d4e5f6a7b8c9d0e1f2a3b4
queueIdstring- example
d4e5f6a7b8c9d0e1f2a3b4c5
timezonestring- example
Europe/Istanbul
exactTimingboolean- default
false- example
true
skipDuplicateCheckbooleanSkip the 24-hour duplicate-content check. Recycling evergreen content within 24 hours of the source needs this; otherwise the request answers 409.
- default
false- example
true
Original schema
{
"$ref": "#/components/schemas/RecyclePostDto"
}Responses
Status codes and shapes declared for this operation. Read each description for the meaning of that response.
200Replayed
Replayed
Response 200object
- required
[ "message", "existingPost", "post", "targets", "sourcePostId" ]
messagestringrequired- example
Post scheduled successfully
existingPostbooleanrequiredTrue only for a five-minute request replay.
- default
false
postobjectrequired
- 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
sourcePostIdstringrequiredThe published post this one was recycled from.
- example
a1b2c3d4e5f6a7b8c9d0e1f2
Original schema
{
"$ref": "#/components/schemas/RecyclePostResponseDto"
}202Response schema
Response 202object
- required
[ "message", "existingPost", "post", "targets", "sourcePostId" ]
messagestringrequired- example
Post scheduled successfully
existingPostbooleanrequiredTrue only for a five-minute request replay.
- default
false
postobjectrequired
- 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
sourcePostIdstringrequiredThe published post this one was recycled from.
- example
a1b2c3d4e5f6a7b8c9d0e1f2
Original schema
{
"$ref": "#/components/schemas/RecyclePostResponseDto"
}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"
}403Permission denied
Permission denied
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"
}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.
RecyclePostDto
#/components/schemas/RecyclePostDto
{
"type": "object",
"properties": {
"platforms": {
"description": "Override the copied targets. Omit to reuse the source post targets and options. At most 100 targets per post.",
"maxItems": 100,
"type": "array",
"items": {
"$ref": "#/components/schemas/CreatePostPlatformDto"
}
},
"publishNow": {
"type": "boolean",
"default": false,
"example": true
},
"scheduledFor": {
"type": "string",
"format": "date-time",
"example": "2026-08-10T09:00:00.000Z"
},
"queuedFromProfile": {
"type": "string",
"example": "c3d4e5f6a7b8c9d0e1f2a3b4"
},
"queueId": {
"type": "string",
"example": "d4e5f6a7b8c9d0e1f2a3b4c5"
},
"timezone": {
"type": "string",
"example": "Europe/Istanbul"
},
"exactTiming": {
"type": "boolean",
"default": false,
"example": true
},
"skipDuplicateCheck": {
"type": "boolean",
"default": false,
"description": "Skip the 24-hour duplicate-content check. Recycling evergreen content within 24 hours of the source needs this; otherwise the request answers 409.",
"example": true
}
}
}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"
]
}RecyclePostResponseDto
#/components/schemas/RecyclePostResponseDto
{
"type": "object",
"properties": {
"message": {
"type": "string",
"example": "Post scheduled successfully"
},
"existingPost": {
"type": "boolean",
"default": false,
"description": "True only for a five-minute request replay."
},
"post": {
"$ref": "#/components/schemas/CreatedPostDto"
},
"targets": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CreatedPostTargetDto"
}
},
"sourcePostId": {
"type": "string",
"example": "a1b2c3d4e5f6a7b8c9d0e1f2",
"description": "The published post this one was recycled from."
}
},
"required": [
"message",
"existingPost",
"post",
"targets",
"sourcePostId"
]
}CreatedPostDto
#/components/schemas/CreatedPostDto
{
"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"
]
}