Resume a held post target
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}$"
}targetIdpathrequiredtargetIdstringrequired- pattern
^[0-9a-f]{24}$
Original schema
{
"type": "string",
"pattern": "^[0-9a-f]{24}$"
}decisionIdpathrequireddecisionIdstringrequired- pattern
^[0-9a-f]{24}$
Original schema
{
"type": "string",
"pattern": "^[0-9a-f]{24}$"
}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"
}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.
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"
]
}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"
]
}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"
]
}