Validate a post against platform rules
Canonical callers use the required platforms array. The former single-platform body remains accepted during migration and is documented on the deprecated /v1/validate/post alias.
Authentication
The following security requirement applies to this operation.
Read the authentication guideParameters
This operation declares no path, query, header or cookie parameters.
Request body
Bodyobjectrequired
- additionalProperties
false- required
[ "platforms" ]
contentstringRoot post text. A target customContent value overrides it for that target.
- example
Hello from zumpo- maxLength
50000
platformsarrayrequired
Required dry-run targets. Every item requires a platform; accountId is never resolved.
- minItems
1- maxItems
100
Array itemobject
- additionalProperties
false- required
[ "platform" ]
platformstringrequired- enum
[ "instagram", "facebook", "threads", "whatsapp", "twitter", "linkedin", "youtube", "tiktok", "pinterest", "reddit", "bluesky", "telegram", "discord", "slack", "google_business", "snapchat", "mastodon", "googlebusiness" ]- example
youtube
accountIdstringOptional create-shape compatibility field. Validation never looks up this account or its credentials.
- pattern
^[0-9a-f]{24}$- example
a1b2c3d4e5f6a7b8c9d0e1f2
customContentstringOverrides root content for this validation target.
- example
Platform-specific post text.- maxLength
50000
platformSpecificDataobjectPlatform adapter options. Values are passed through the same adapter validator used by publishing.
- additionalProperties
true- example
{}
customMediaarray
Per-target metadata-only media overrides. The endpoint validates declared metadata and never fetches remote URLs.
- maxItems
35
Array itemobject
Closed metadata-only dry-run descriptor. Validation does not fetch, upload or persist media.
- discriminator
{ "propertyName": "type", "mapping": { "image": "#/components/schemas/ValidateImageMediaItemDto", "video": "#/components/schemas/ValidateVideoMediaItemDto", "gif": "#/components/schemas/ValidateGifMediaItemDto", "document": "#/components/schemas/ValidateDocumentMediaItemDto" } }
oneOf / 1object
- additionalProperties
false- required
[ "type", "mimeType" ]
urlstringOptional HTTPS reference accepted for request-shape compatibility. validatePost never fetches it.
- format
uri- maxLength
2048- example
https://cdn.example.com/media.jpg
titlestringOptional bounded media title.
- minLength
1- maxLength
500
filenamestringOptional bounded filename.
- minLength
1- maxLength
255
sizeintegerOfficial Zernio byte-size field. Required unless the legacy sizeBytes alias is supplied.
- minimum
1- maximum
9007199254740991- example
524288
sizeBytesintegerBackward-compatible byte-size alias. If size is also supplied, both values must match.
- minimum
1- maximum
9007199254740991- example
524288
thumbnailstringOptional HTTPS thumbnail reference. It is syntax-checked but never fetched by validatePost.
- format
uri- maxLength
2048
instagramThumbnailstringOptional Instagram HTTPS cover reference. It is syntax-checked but never fetched by validatePost.
- format
uri- maxLength
2048
tiktokProcessedbooleantypestringrequired- enum
[ "image" ]- example
image
mimeTypestringrequiredRequired declared image media type; no remote content is fetched to infer it.
- example
image/jpeg- minLength
1- maxLength
255
altTextstringCanonical image accessibility text forwarded unchanged to the adapter TargetMedia descriptor.
- maxLength
10000- example
A ceramic vase beside a sunlit window.
aspectRatiostring- example
1:1- minLength
1- maxLength
32
anyOf / 1unspecified type- required
[ "size" ]
anyOf / 2unspecified type- required
[ "sizeBytes" ]
oneOf / 2object
- additionalProperties
false- required
[ "type", "mimeType" ]
urlstringOptional HTTPS reference accepted for request-shape compatibility. validatePost never fetches it.
- format
uri- maxLength
2048- example
https://cdn.example.com/media.jpg
titlestringOptional bounded media title.
- minLength
1- maxLength
500
filenamestringOptional bounded filename.
- minLength
1- maxLength
255
sizeintegerOfficial Zernio byte-size field. Required unless the legacy sizeBytes alias is supplied.
- minimum
1- maximum
9007199254740991- example
524288
sizeBytesintegerBackward-compatible byte-size alias. If size is also supplied, both values must match.
- minimum
1- maximum
9007199254740991- example
524288
thumbnailstringOptional HTTPS thumbnail reference. It is syntax-checked but never fetched by validatePost.
- format
uri- maxLength
2048
instagramThumbnailstringOptional Instagram HTTPS cover reference. It is syntax-checked but never fetched by validatePost.
- format
uri- maxLength
2048
tiktokProcessedbooleantypestringrequired- enum
[ "video" ]- example
video
mimeTypestringrequiredRequired declared video media type; no remote content is fetched to infer it.
- example
video/mp4- minLength
1- maxLength
255
durationSecnumber- minimum
0- example
12.5
aspectRatiostring- example
9:16- minLength
1- maxLength
32
anyOf / 1unspecified type- required
[ "size" ]
anyOf / 2unspecified type- required
[ "sizeBytes" ]
oneOf / 3object
- additionalProperties
false- required
[ "type" ]
urlstringOptional HTTPS reference accepted for request-shape compatibility. validatePost never fetches it.
- format
uri- maxLength
2048- example
https://cdn.example.com/media.jpg
titlestringOptional bounded media title.
- minLength
1- maxLength
500
filenamestringOptional bounded filename.
- minLength
1- maxLength
255
sizeintegerOfficial Zernio byte-size field. Required unless the legacy sizeBytes alias is supplied.
- minimum
1- maximum
9007199254740991- example
524288
sizeBytesintegerBackward-compatible byte-size alias. If size is also supplied, both values must match.
- minimum
1- maximum
9007199254740991- example
524288
thumbnailstringOptional HTTPS thumbnail reference. It is syntax-checked but never fetched by validatePost.
- format
uri- maxLength
2048
instagramThumbnailstringOptional Instagram HTTPS cover reference. It is syntax-checked but never fetched by validatePost.
- format
uri- maxLength
2048
tiktokProcessedbooleantypestringrequired- enum
[ "gif" ]- example
gif
mimeTypestringOptional for type=gif because validatePost maps that discriminator to image/gif without fetching the URL.
- enum
[ "image/gif" ]
altTextstring- maxLength
10000- example
An animated launch sequence.
aspectRatiostring- example
1:1- minLength
1- maxLength
32
anyOf / 1unspecified type- required
[ "size" ]
anyOf / 2unspecified type- required
[ "sizeBytes" ]
oneOf / 4object
- additionalProperties
false- required
[ "type", "mimeType" ]
urlstringOptional HTTPS reference accepted for request-shape compatibility. validatePost never fetches it.
- format
uri- maxLength
2048- example
https://cdn.example.com/media.jpg
titlestringOptional bounded media title.
- minLength
1- maxLength
500
filenamestringOptional bounded filename.
- minLength
1- maxLength
255
sizeintegerOfficial Zernio byte-size field. Required unless the legacy sizeBytes alias is supplied.
- minimum
1- maximum
9007199254740991- example
524288
sizeBytesintegerBackward-compatible byte-size alias. If size is also supplied, both values must match.
- minimum
1- maximum
9007199254740991- example
524288
thumbnailstringOptional HTTPS thumbnail reference. It is syntax-checked but never fetched by validatePost.
- format
uri- maxLength
2048
instagramThumbnailstringOptional Instagram HTTPS cover reference. It is syntax-checked but never fetched by validatePost.
- format
uri- maxLength
2048
tiktokProcessedbooleantypestringrequired- enum
[ "document" ]- example
document
mimeTypestringrequired- enum
[ "application/pdf", "application/zip", "application/octet-stream" ]- example
application/pdf
anyOf / 1unspecified type- required
[ "size" ]
anyOf / 2unspecified type- required
[ "sizeBytes" ]
mediaItemsarray
Root metadata-only media descriptors shared by targets without customMedia.
- maxItems
35
Array itemobject
Closed metadata-only dry-run descriptor. Validation does not fetch, upload or persist media.
- discriminator
{ "propertyName": "type", "mapping": { "image": "#/components/schemas/ValidateImageMediaItemDto", "video": "#/components/schemas/ValidateVideoMediaItemDto", "gif": "#/components/schemas/ValidateGifMediaItemDto", "document": "#/components/schemas/ValidateDocumentMediaItemDto" } }
oneOf / 1object
- additionalProperties
false- required
[ "type", "mimeType" ]
urlstringOptional HTTPS reference accepted for request-shape compatibility. validatePost never fetches it.
- format
uri- maxLength
2048- example
https://cdn.example.com/media.jpg
titlestringOptional bounded media title.
- minLength
1- maxLength
500
filenamestringOptional bounded filename.
- minLength
1- maxLength
255
sizeintegerOfficial Zernio byte-size field. Required unless the legacy sizeBytes alias is supplied.
- minimum
1- maximum
9007199254740991- example
524288
sizeBytesintegerBackward-compatible byte-size alias. If size is also supplied, both values must match.
- minimum
1- maximum
9007199254740991- example
524288
thumbnailstringOptional HTTPS thumbnail reference. It is syntax-checked but never fetched by validatePost.
- format
uri- maxLength
2048
instagramThumbnailstringOptional Instagram HTTPS cover reference. It is syntax-checked but never fetched by validatePost.
- format
uri- maxLength
2048
tiktokProcessedbooleantypestringrequired- enum
[ "image" ]- example
image
mimeTypestringrequiredRequired declared image media type; no remote content is fetched to infer it.
- example
image/jpeg- minLength
1- maxLength
255
altTextstringCanonical image accessibility text forwarded unchanged to the adapter TargetMedia descriptor.
- maxLength
10000- example
A ceramic vase beside a sunlit window.
aspectRatiostring- example
1:1- minLength
1- maxLength
32
anyOf / 1unspecified type- required
[ "size" ]
anyOf / 2unspecified type- required
[ "sizeBytes" ]
oneOf / 2object
- additionalProperties
false- required
[ "type", "mimeType" ]
urlstringOptional HTTPS reference accepted for request-shape compatibility. validatePost never fetches it.
- format
uri- maxLength
2048- example
https://cdn.example.com/media.jpg
titlestringOptional bounded media title.
- minLength
1- maxLength
500
filenamestringOptional bounded filename.
- minLength
1- maxLength
255
sizeintegerOfficial Zernio byte-size field. Required unless the legacy sizeBytes alias is supplied.
- minimum
1- maximum
9007199254740991- example
524288
sizeBytesintegerBackward-compatible byte-size alias. If size is also supplied, both values must match.
- minimum
1- maximum
9007199254740991- example
524288
thumbnailstringOptional HTTPS thumbnail reference. It is syntax-checked but never fetched by validatePost.
- format
uri- maxLength
2048
instagramThumbnailstringOptional Instagram HTTPS cover reference. It is syntax-checked but never fetched by validatePost.
- format
uri- maxLength
2048
tiktokProcessedbooleantypestringrequired- enum
[ "video" ]- example
video
mimeTypestringrequiredRequired declared video media type; no remote content is fetched to infer it.
- example
video/mp4- minLength
1- maxLength
255
durationSecnumber- minimum
0- example
12.5
aspectRatiostring- example
9:16- minLength
1- maxLength
32
anyOf / 1unspecified type- required
[ "size" ]
anyOf / 2unspecified type- required
[ "sizeBytes" ]
oneOf / 3object
- additionalProperties
false- required
[ "type" ]
urlstringOptional HTTPS reference accepted for request-shape compatibility. validatePost never fetches it.
- format
uri- maxLength
2048- example
https://cdn.example.com/media.jpg
titlestringOptional bounded media title.
- minLength
1- maxLength
500
filenamestringOptional bounded filename.
- minLength
1- maxLength
255
sizeintegerOfficial Zernio byte-size field. Required unless the legacy sizeBytes alias is supplied.
- minimum
1- maximum
9007199254740991- example
524288
sizeBytesintegerBackward-compatible byte-size alias. If size is also supplied, both values must match.
- minimum
1- maximum
9007199254740991- example
524288
thumbnailstringOptional HTTPS thumbnail reference. It is syntax-checked but never fetched by validatePost.
- format
uri- maxLength
2048
instagramThumbnailstringOptional Instagram HTTPS cover reference. It is syntax-checked but never fetched by validatePost.
- format
uri- maxLength
2048
tiktokProcessedbooleantypestringrequired- enum
[ "gif" ]- example
gif
mimeTypestringOptional for type=gif because validatePost maps that discriminator to image/gif without fetching the URL.
- enum
[ "image/gif" ]
altTextstring- maxLength
10000- example
An animated launch sequence.
aspectRatiostring- example
1:1- minLength
1- maxLength
32
anyOf / 1unspecified type- required
[ "size" ]
anyOf / 2unspecified type- required
[ "sizeBytes" ]
oneOf / 4object
- additionalProperties
false- required
[ "type", "mimeType" ]
urlstringOptional HTTPS reference accepted for request-shape compatibility. validatePost never fetches it.
- format
uri- maxLength
2048- example
https://cdn.example.com/media.jpg
titlestringOptional bounded media title.
- minLength
1- maxLength
500
filenamestringOptional bounded filename.
- minLength
1- maxLength
255
sizeintegerOfficial Zernio byte-size field. Required unless the legacy sizeBytes alias is supplied.
- minimum
1- maximum
9007199254740991- example
524288
sizeBytesintegerBackward-compatible byte-size alias. If size is also supplied, both values must match.
- minimum
1- maximum
9007199254740991- example
524288
thumbnailstringOptional HTTPS thumbnail reference. It is syntax-checked but never fetched by validatePost.
- format
uri- maxLength
2048
instagramThumbnailstringOptional Instagram HTTPS cover reference. It is syntax-checked but never fetched by validatePost.
- format
uri- maxLength
2048
tiktokProcessedbooleantypestringrequired- enum
[ "document" ]- example
document
mimeTypestringrequired- enum
[ "application/pdf", "application/zip", "application/octet-stream" ]- example
application/pdf
anyOf / 1unspecified type- required
[ "size" ]
anyOf / 2unspecified type- required
[ "sizeBytes" ]
Original schema
{
"$ref": "#/components/schemas/ValidatePostDto"
}Responses
Status codes and shapes declared for this operation. Read each description for the meaning of that response.
200Response schema
Response 200object
- additionalProperties
false- required
[ "valid", "issues", "warnings" ]
validbooleanrequired- example
true
issuesarrayrequired
Array itemobject
- additionalProperties
false- required
[ "code", "message" ]
codestringrequired- example
text_too_long
messagestringrequired- example
Text exceeds the platform limit.
paramstring- example
text
messagestring- example
No validation issues found.
errorsarray
Array itemobject
- additionalProperties
false- required
[ "platform", "error" ]
platformstringrequired- enum
[ "instagram", "facebook", "threads", "whatsapp", "twitter", "linkedin", "youtube", "tiktok", "pinterest", "reddit", "bluesky", "telegram", "discord", "slack", "google_business", "snapchat", "mastodon", "googlebusiness" ]- example
youtube
errorstringrequired- example
YouTube requires exactly one video.
warningsarrayrequired
Array itemobject
- additionalProperties
false- required
[ "platform", "warning" ]
platformstringrequired- enum
[ "instagram", "facebook", "threads", "whatsapp", "twitter", "linkedin", "youtube", "tiktok", "pinterest", "reddit", "bluesky", "telegram", "discord", "slack", "google_business", "snapchat", "mastodon", "googlebusiness" ]- example
twitter
warningstringrequired- example
Post content is approaching the platform limit.
Original schema
{
"$ref": "#/components/schemas/ValidatePostResponseDto"
}400Invalid request
Invalid request
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"
}404Resource not found
Resource not found
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"
}409Conflict
Conflict
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.
ValidatePostDto
#/components/schemas/ValidatePostDto
{
"type": "object",
"properties": {
"content": {
"type": "string",
"example": "Hello from zumpo",
"maxLength": 50000,
"description": "Root post text. A target customContent value overrides it for that target."
},
"platforms": {
"minItems": 1,
"maxItems": 100,
"description": "Required dry-run targets. Every item requires a platform; accountId is never resolved.",
"type": "array",
"items": {
"$ref": "#/components/schemas/ValidatePostPlatformDto"
}
},
"mediaItems": {
"maxItems": 35,
"description": "Root metadata-only media descriptors shared by targets without customMedia.",
"type": "array",
"items": {
"$ref": "#/components/schemas/ValidatePostMediaItemDto"
}
}
},
"additionalProperties": false,
"required": [
"platforms"
]
}ValidatePostPlatformDto
#/components/schemas/ValidatePostPlatformDto
{
"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",
"googlebusiness"
],
"example": "youtube"
},
"accountId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"example": "a1b2c3d4e5f6a7b8c9d0e1f2",
"description": "Optional create-shape compatibility field. Validation never looks up this account or its credentials."
},
"customContent": {
"type": "string",
"example": "Platform-specific post text.",
"maxLength": 50000,
"description": "Overrides root content for this validation target."
},
"platformSpecificData": {
"type": "object",
"additionalProperties": true,
"example": {},
"description": "Platform adapter options. Values are passed through the same adapter validator used by publishing."
},
"customMedia": {
"maxItems": 35,
"description": "Per-target metadata-only media overrides. The endpoint validates declared metadata and never fetches remote URLs.",
"type": "array",
"items": {
"$ref": "#/components/schemas/ValidatePostMediaItemDto"
}
}
},
"additionalProperties": false,
"required": [
"platform"
]
}ValidatePostMediaItemDto
#/components/schemas/ValidatePostMediaItemDto
{
"type": "object",
"properties": {},
"description": "Closed metadata-only dry-run descriptor. Validation does not fetch, upload or persist media.",
"oneOf": [
{
"$ref": "#/components/schemas/ValidateImageMediaItemDto"
},
{
"$ref": "#/components/schemas/ValidateVideoMediaItemDto"
},
{
"$ref": "#/components/schemas/ValidateGifMediaItemDto"
},
{
"$ref": "#/components/schemas/ValidateDocumentMediaItemDto"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"image": "#/components/schemas/ValidateImageMediaItemDto",
"video": "#/components/schemas/ValidateVideoMediaItemDto",
"gif": "#/components/schemas/ValidateGifMediaItemDto",
"document": "#/components/schemas/ValidateDocumentMediaItemDto"
}
}
}ValidateImageMediaItemDto
#/components/schemas/ValidateImageMediaItemDto
{
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"example": "https://cdn.example.com/media.jpg",
"description": "Optional HTTPS reference accepted for request-shape compatibility. validatePost never fetches it."
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "Optional bounded media title."
},
"filename": {
"type": "string",
"minLength": 1,
"maxLength": 255,
"description": "Optional bounded filename."
},
"size": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991,
"example": 524288,
"description": "Official Zernio byte-size field. Required unless the legacy sizeBytes alias is supplied."
},
"sizeBytes": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991,
"example": 524288,
"description": "Backward-compatible byte-size alias. If size is also supplied, both values must match."
},
"thumbnail": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"description": "Optional HTTPS thumbnail reference. It is syntax-checked but never fetched by validatePost."
},
"instagramThumbnail": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"description": "Optional Instagram HTTPS cover reference. It is syntax-checked but never fetched by validatePost."
},
"tiktokProcessed": {
"type": "boolean"
},
"type": {
"type": "string",
"enum": [
"image"
],
"example": "image"
},
"mimeType": {
"type": "string",
"example": "image/jpeg",
"minLength": 1,
"maxLength": 255,
"description": "Required declared image media type; no remote content is fetched to infer it."
},
"altText": {
"type": "string",
"maxLength": 10000,
"example": "A ceramic vase beside a sunlit window.",
"description": "Canonical image accessibility text forwarded unchanged to the adapter TargetMedia descriptor."
},
"aspectRatio": {
"type": "string",
"example": "1:1",
"minLength": 1,
"maxLength": 32
}
},
"additionalProperties": false,
"anyOf": [
{
"required": [
"size"
]
},
{
"required": [
"sizeBytes"
]
}
],
"required": [
"type",
"mimeType"
]
}ValidateVideoMediaItemDto
#/components/schemas/ValidateVideoMediaItemDto
{
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"example": "https://cdn.example.com/media.jpg",
"description": "Optional HTTPS reference accepted for request-shape compatibility. validatePost never fetches it."
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "Optional bounded media title."
},
"filename": {
"type": "string",
"minLength": 1,
"maxLength": 255,
"description": "Optional bounded filename."
},
"size": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991,
"example": 524288,
"description": "Official Zernio byte-size field. Required unless the legacy sizeBytes alias is supplied."
},
"sizeBytes": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991,
"example": 524288,
"description": "Backward-compatible byte-size alias. If size is also supplied, both values must match."
},
"thumbnail": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"description": "Optional HTTPS thumbnail reference. It is syntax-checked but never fetched by validatePost."
},
"instagramThumbnail": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"description": "Optional Instagram HTTPS cover reference. It is syntax-checked but never fetched by validatePost."
},
"tiktokProcessed": {
"type": "boolean"
},
"type": {
"type": "string",
"enum": [
"video"
],
"example": "video"
},
"mimeType": {
"type": "string",
"example": "video/mp4",
"minLength": 1,
"maxLength": 255,
"description": "Required declared video media type; no remote content is fetched to infer it."
},
"durationSec": {
"type": "number",
"minimum": 0,
"example": 12.5
},
"aspectRatio": {
"type": "string",
"example": "9:16",
"minLength": 1,
"maxLength": 32
}
},
"additionalProperties": false,
"anyOf": [
{
"required": [
"size"
]
},
{
"required": [
"sizeBytes"
]
}
],
"required": [
"type",
"mimeType"
]
}ValidateGifMediaItemDto
#/components/schemas/ValidateGifMediaItemDto
{
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"example": "https://cdn.example.com/media.jpg",
"description": "Optional HTTPS reference accepted for request-shape compatibility. validatePost never fetches it."
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "Optional bounded media title."
},
"filename": {
"type": "string",
"minLength": 1,
"maxLength": 255,
"description": "Optional bounded filename."
},
"size": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991,
"example": 524288,
"description": "Official Zernio byte-size field. Required unless the legacy sizeBytes alias is supplied."
},
"sizeBytes": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991,
"example": 524288,
"description": "Backward-compatible byte-size alias. If size is also supplied, both values must match."
},
"thumbnail": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"description": "Optional HTTPS thumbnail reference. It is syntax-checked but never fetched by validatePost."
},
"instagramThumbnail": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"description": "Optional Instagram HTTPS cover reference. It is syntax-checked but never fetched by validatePost."
},
"tiktokProcessed": {
"type": "boolean"
},
"type": {
"type": "string",
"enum": [
"gif"
],
"example": "gif"
},
"mimeType": {
"type": "string",
"enum": [
"image/gif"
],
"description": "Optional for type=gif because validatePost maps that discriminator to image/gif without fetching the URL."
},
"altText": {
"type": "string",
"maxLength": 10000,
"example": "An animated launch sequence."
},
"aspectRatio": {
"type": "string",
"example": "1:1",
"minLength": 1,
"maxLength": 32
}
},
"additionalProperties": false,
"anyOf": [
{
"required": [
"size"
]
},
{
"required": [
"sizeBytes"
]
}
],
"required": [
"type"
]
}ValidateDocumentMediaItemDto
#/components/schemas/ValidateDocumentMediaItemDto
{
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"example": "https://cdn.example.com/media.jpg",
"description": "Optional HTTPS reference accepted for request-shape compatibility. validatePost never fetches it."
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "Optional bounded media title."
},
"filename": {
"type": "string",
"minLength": 1,
"maxLength": 255,
"description": "Optional bounded filename."
},
"size": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991,
"example": 524288,
"description": "Official Zernio byte-size field. Required unless the legacy sizeBytes alias is supplied."
},
"sizeBytes": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991,
"example": 524288,
"description": "Backward-compatible byte-size alias. If size is also supplied, both values must match."
},
"thumbnail": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"description": "Optional HTTPS thumbnail reference. It is syntax-checked but never fetched by validatePost."
},
"instagramThumbnail": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"description": "Optional Instagram HTTPS cover reference. It is syntax-checked but never fetched by validatePost."
},
"tiktokProcessed": {
"type": "boolean"
},
"type": {
"type": "string",
"enum": [
"document"
],
"example": "document"
},
"mimeType": {
"type": "string",
"enum": [
"application/pdf",
"application/zip",
"application/octet-stream"
],
"example": "application/pdf"
}
},
"additionalProperties": false,
"anyOf": [
{
"required": [
"size"
]
},
{
"required": [
"sizeBytes"
]
}
],
"required": [
"type",
"mimeType"
]
}ValidatePostResponseDto
#/components/schemas/ValidatePostResponseDto
{
"type": "object",
"properties": {
"valid": {
"type": "boolean",
"example": true
},
"issues": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ValidationIssueDto"
}
},
"message": {
"type": "string",
"example": "No validation issues found."
},
"errors": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ValidatePostErrorDto"
}
},
"warnings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ValidatePostWarningDto"
}
}
},
"additionalProperties": false,
"required": [
"valid",
"issues",
"warnings"
]
}ValidationIssueDto
#/components/schemas/ValidationIssueDto
{
"type": "object",
"properties": {
"code": {
"type": "string",
"example": "text_too_long"
},
"message": {
"type": "string",
"example": "Text exceeds the platform limit."
},
"param": {
"type": "string",
"example": "text"
}
},
"additionalProperties": false,
"required": [
"code",
"message"
]
}ValidatePostErrorDto
#/components/schemas/ValidatePostErrorDto
{
"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",
"googlebusiness"
],
"example": "youtube"
},
"error": {
"type": "string",
"example": "YouTube requires exactly one video."
}
},
"additionalProperties": false,
"required": [
"platform",
"error"
]
}ValidatePostWarningDto
#/components/schemas/ValidatePostWarningDto
{
"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",
"googlebusiness"
],
"example": "twitter"
},
"warning": {
"type": "string",
"example": "Post content is approaching the platform limit."
}
},
"additionalProperties": false,
"required": [
"platform",
"warning"
]
}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"
]
}