List platform capabilities
Authentication
The following security requirement applies to this operation.
Read the authentication guideParameters
accountIdqueryoptionalOptional owned active account whose provider-backed capability is requested.
accountIdstring- 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 200array
Array itemobject
- additionalProperties
false- required
[ "platform", "capabilities", "mediaDelivery", "quotaModel", "apiVersion", "apiSunsetAt" ]
platformstringrequiredPlatform id
- enum
[ "instagram", "facebook", "threads", "whatsapp", "twitter", "linkedin", "youtube", "tiktok", "pinterest", "reddit", "bluesky", "telegram", "discord", "slack", "google_business", "snapchat", "mastodon", "shopify", "google_ads", "tiktok_ads", "pinterest_ads", "x_ads", "openai_ads" ]
capabilitiesobjectrequired
- additionalProperties
false- required
[ "publish", "inbox", "analytics", "ads" ]
publishoneOfrequired
oneOf / 1boolean- enum
[ false ]
oneOf / 2object
- additionalProperties
false- required
[ "text", "image", "video", "carousel", "nativeScheduling", "requiredOptions" ]
textobjectrequired
- additionalProperties
false- required
[ "maxLength" ]
maxLengthintegerrequired- minimum
1- example
500
imageoneOfrequired
oneOf / 1boolean- enum
[ false ]
oneOf / 2object
- additionalProperties
false- required
[ "maxCount", "formats", "maxBytes" ]
maxCountintegerrequired- minimum
1- example
4
formatsarrayrequired
- minItems
1- example
[ "image/jpeg" ]
Array itemstringmaxBytesintegerrequired- minimum
1- example
10000000
documentoneOf
Additive binary-document capability. Omission means the platform has not declared document support.
oneOf / 1boolean- enum
[ false ]
oneOf / 2object
- additionalProperties
false- required
[ "maxCount", "formats", "maxBytes" ]
maxCountintegerrequired- minimum
1- example
1
formatsarrayrequired
- minItems
1- example
[ "application/pdf", "application/zip", "application/octet-stream" ]
Array itemstringmaxBytesintegerrequired- minimum
1- example
49000000
videooneOfrequired
oneOf / 1boolean- enum
[ false ]
oneOf / 2object
- additionalProperties
false- required
[ "minDurationSec", "maxDurationSec", "formats", "maxBytes", "aspectRatios" ]
minDurationSecnumberrequired- minimum
0- example
1
maxDurationSecnumberrequired- minimum
0- example
3600
formatsarrayrequired
- minItems
1- example
[ "video/mp4" ]
Array itemstringmaxBytesintegerrequired- minimum
1- example
49000000
aspectRatiosarrayrequired
- example
[]
Array itemstringcarouseloneOfrequired
oneOf / 1boolean- enum
[ false ]
oneOf / 2object
- additionalProperties
false- required
[ "maxItems", "mixedMedia" ]
maxItemsintegerrequired- minimum
1- example
10
mixedMediabooleanrequired- example
false
nativeSchedulingbooleanrequiredrequiredOptionsarrayrequired
Array itemstringcontentRequirementsallOf
Minimum content combinations, present after a platform payload audit.
allOf / 1object
- additionalProperties
false- required
[ "alternatives" ]
alternativesarrayrequired
OR alternatives; requirements inside each item are AND-ed. These are minimums, not exclusive content modes.
- minItems
1
Array itemobject
- additionalProperties
false- required
[ "text", "media", "options" ]
textbooleanrequiredWhen true, non-blank text is required. False does not prohibit text.
mediabooleanrequiredWhen true, at least one media item is required. False does not prohibit media.
optionsarrayrequired
Post option names that must carry a non-empty value.
- example
[ "link" ]
Array itemstringinboxoneOfrequired
oneOf / 1boolean- enum
[ false ]
oneOf / 2object
- additionalProperties
false- required
[ "dm", "comments", "reviews", "mentions", "reactions" ]
dmbooleanrequiredcommentsbooleanrequiredreviewsbooleanrequiredmentionsbooleanrequiredreactionsbooleanrequiredanalyticsoneOfrequired
oneOf / 1boolean- enum
[ false ]
oneOf / 2object
- additionalProperties
false- required
[ "post", "account" ]
postarrayrequired
Array itemstringaccountarrayrequired
Array itemstringcompanionobject
- additionalProperties
false- required
[ "granularity" ]
granularitystringrequired- enum
[ "location" ]
adsoneOfrequired
oneOf / 1boolean- enum
[ false ]
oneOf / 2object
- additionalProperties
false- required
[ "objectives" ]
objectivesarrayrequired
Array itemstringmediaDeliverystringrequired- enum
[ "url", "binary", "resumable" ]- example
url
quotaModeloneOfrequired
The structural QuotaModel discriminated union of PRD §7.4.
oneOf / 1object
- additionalProperties
false- required
[ "type", "dailyUnits", "costPerPost" ]
typestringrequired- enum
[ "shared" ]
dailyUnitsnumberrequired- minimum
0
costPerPostnumberrequired- minimum
0
oneOf / 2object
- additionalProperties
false- required
[ "type" ]
typestringrequired- enum
[ "per-tenant" ]
oneOf / 3object
- additionalProperties
false- required
[ "type", "unitCost" ]
typestringrequired- enum
[ "metered" ]
unitCostnumberrequired- minimum
0
oneOf / 4object
- additionalProperties
false- required
[ "type" ]
typestringrequired- enum
[ "unlimited" ]
apiVersionstringrequiredAdapter in hedefledigi platform API surumu
- example
v1
apiSunsetAtstringrequiredKnown deprecation date (ISO) or null
- nullable
true- example
null
accountCapabilityobject
- additionalProperties
false- required
[ "accountId", "profileId", "freshness", "observedAt", "capabilities" ]
accountIdstringrequired- pattern
^[0-9a-f]{24}$
profileIdstringrequired- pattern
^[0-9a-f]{24}$
freshnessstringrequired- enum
[ "fresh", "stale" ]
observedAtstringrequired- format
date-time
capabilitiesobjectrequired
- additionalProperties
false- required
[ "publish", "inbox", "analytics", "ads" ]
publishoneOfrequired
oneOf / 1boolean- enum
[ false ]
oneOf / 2object
- additionalProperties
false- required
[ "text", "image", "video", "carousel", "nativeScheduling", "requiredOptions" ]
textobjectrequired
- additionalProperties
false- required
[ "maxLength" ]
maxLengthintegerrequired- minimum
1- example
500
imageoneOfrequired
oneOf / 1boolean- enum
[ false ]
oneOf / 2object
- additionalProperties
false- required
[ "maxCount", "formats", "maxBytes" ]
maxCountintegerrequired- minimum
1- example
4
formatsarrayrequired
- minItems
1- example
[ "image/jpeg" ]
Array itemstringmaxBytesintegerrequired- minimum
1- example
10000000
documentoneOf
Additive binary-document capability. Omission means the platform has not declared document support.
oneOf / 1boolean- enum
[ false ]
oneOf / 2object
- additionalProperties
false- required
[ "maxCount", "formats", "maxBytes" ]
maxCountintegerrequired- minimum
1- example
1
formatsarrayrequired
- minItems
1- example
[ "application/pdf", "application/zip", "application/octet-stream" ]
Array itemstringmaxBytesintegerrequired- minimum
1- example
49000000
videooneOfrequired
oneOf / 1boolean- enum
[ false ]
oneOf / 2object
- additionalProperties
false- required
[ "minDurationSec", "maxDurationSec", "formats", "maxBytes", "aspectRatios" ]
minDurationSecnumberrequired- minimum
0- example
1
maxDurationSecnumberrequired- minimum
0- example
3600
formatsarrayrequired
- minItems
1- example
[ "video/mp4" ]
Array itemstringmaxBytesintegerrequired- minimum
1- example
49000000
aspectRatiosarrayrequired
- example
[]
Array itemstringcarouseloneOfrequired
oneOf / 1boolean- enum
[ false ]
oneOf / 2object
- additionalProperties
false- required
[ "maxItems", "mixedMedia" ]
maxItemsintegerrequired- minimum
1- example
10
mixedMediabooleanrequired- example
false
nativeSchedulingbooleanrequiredrequiredOptionsarrayrequired
Array itemstringcontentRequirementsallOf
Minimum content combinations, present after a platform payload audit.
allOf / 1object
- additionalProperties
false- required
[ "alternatives" ]
alternativesarrayrequired
OR alternatives; requirements inside each item are AND-ed. These are minimums, not exclusive content modes.
- minItems
1
Array itemobject
- additionalProperties
false- required
[ "text", "media", "options" ]
textbooleanrequiredWhen true, non-blank text is required. False does not prohibit text.
mediabooleanrequiredWhen true, at least one media item is required. False does not prohibit media.
optionsarrayrequired
Post option names that must carry a non-empty value.
- example
[ "link" ]
Array itemstringinboxoneOfrequired
oneOf / 1boolean- enum
[ false ]
oneOf / 2object
- additionalProperties
false- required
[ "dm", "comments", "reviews", "mentions", "reactions" ]
dmbooleanrequiredcommentsbooleanrequiredreviewsbooleanrequiredmentionsbooleanrequiredreactionsbooleanrequiredanalyticsoneOfrequired
oneOf / 1boolean- enum
[ false ]
oneOf / 2object
- additionalProperties
false- required
[ "post", "account" ]
postarrayrequired
Array itemstringaccountarrayrequired
Array itemstringcompanionobject
- additionalProperties
false- required
[ "granularity" ]
granularitystringrequired- enum
[ "location" ]
adsoneOfrequired
oneOf / 1boolean- enum
[ false ]
oneOf / 2object
- additionalProperties
false- required
[ "objectives" ]
objectivesarrayrequired
Array itemstringOriginal schema
{
"type": "array",
"items": {
"$ref": "#/components/schemas/PlatformCapabilityDto"
}
}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.
PlatformCapabilityDto
#/components/schemas/PlatformCapabilityDto
{
"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",
"shopify",
"google_ads",
"tiktok_ads",
"pinterest_ads",
"x_ads",
"openai_ads"
],
"description": "Platform id"
},
"capabilities": {
"$ref": "#/components/schemas/PlatformCapabilitiesDto"
},
"mediaDelivery": {
"type": "string",
"enum": [
"url",
"binary",
"resumable"
],
"example": "url"
},
"quotaModel": {
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"type",
"dailyUnits",
"costPerPost"
],
"properties": {
"type": {
"type": "string",
"enum": [
"shared"
]
},
"dailyUnits": {
"type": "number",
"minimum": 0
},
"costPerPost": {
"type": "number",
"minimum": 0
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"per-tenant"
]
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"type",
"unitCost"
],
"properties": {
"type": {
"type": "string",
"enum": [
"metered"
]
},
"unitCost": {
"type": "number",
"minimum": 0
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"unlimited"
]
}
}
}
],
"description": "The structural QuotaModel discriminated union of PRD §7.4."
},
"apiVersion": {
"type": "string",
"example": "v1",
"description": "Adapter in hedefledigi platform API surumu"
},
"apiSunsetAt": {
"type": "string",
"nullable": true,
"example": null,
"description": "Known deprecation date (ISO) or null"
},
"accountCapability": {
"$ref": "#/components/schemas/AccountCapabilityDto"
}
},
"additionalProperties": false,
"required": [
"platform",
"capabilities",
"mediaDelivery",
"quotaModel",
"apiVersion",
"apiSunsetAt"
]
}PlatformCapabilitiesDto
#/components/schemas/PlatformCapabilitiesDto
{
"type": "object",
"properties": {
"publish": {
"oneOf": [
{
"type": "boolean",
"enum": [
false
]
},
{
"$ref": "#/components/schemas/PublishCapabilityDto"
}
]
},
"inbox": {
"oneOf": [
{
"type": "boolean",
"enum": [
false
]
},
{
"$ref": "#/components/schemas/InboxCapabilityDto"
}
]
},
"analytics": {
"oneOf": [
{
"type": "boolean",
"enum": [
false
]
},
{
"$ref": "#/components/schemas/AnalyticsCapabilityDto"
}
]
},
"ads": {
"oneOf": [
{
"type": "boolean",
"enum": [
false
]
},
{
"$ref": "#/components/schemas/AdsCapabilityDto"
}
]
}
},
"additionalProperties": false,
"required": [
"publish",
"inbox",
"analytics",
"ads"
]
}PublishCapabilityDto
#/components/schemas/PublishCapabilityDto
{
"type": "object",
"properties": {
"text": {
"$ref": "#/components/schemas/CapabilityTextDto"
},
"image": {
"oneOf": [
{
"type": "boolean",
"enum": [
false
]
},
{
"$ref": "#/components/schemas/CapabilityImageDto"
}
]
},
"document": {
"oneOf": [
{
"type": "boolean",
"enum": [
false
]
},
{
"$ref": "#/components/schemas/CapabilityDocumentDto"
}
],
"description": "Additive binary-document capability. Omission means the platform has not declared document support."
},
"video": {
"oneOf": [
{
"type": "boolean",
"enum": [
false
]
},
{
"$ref": "#/components/schemas/CapabilityVideoDto"
}
]
},
"carousel": {
"oneOf": [
{
"type": "boolean",
"enum": [
false
]
},
{
"$ref": "#/components/schemas/CapabilityCarouselDto"
}
]
},
"nativeScheduling": {
"type": "boolean"
},
"requiredOptions": {
"type": "array",
"items": {
"type": "string"
}
},
"contentRequirements": {
"description": "Minimum content combinations, present after a platform payload audit.",
"allOf": [
{
"$ref": "#/components/schemas/PublishContentRequirementsDto"
}
]
}
},
"additionalProperties": false,
"required": [
"text",
"image",
"video",
"carousel",
"nativeScheduling",
"requiredOptions"
]
}CapabilityTextDto
#/components/schemas/CapabilityTextDto
{
"type": "object",
"properties": {
"maxLength": {
"type": "integer",
"minimum": 1,
"example": 500
}
},
"additionalProperties": false,
"required": [
"maxLength"
]
}CapabilityImageDto
#/components/schemas/CapabilityImageDto
{
"type": "object",
"properties": {
"maxCount": {
"type": "integer",
"minimum": 1,
"example": 4
},
"formats": {
"minItems": 1,
"example": [
"image/jpeg"
],
"type": "array",
"items": {
"type": "string"
}
},
"maxBytes": {
"type": "integer",
"minimum": 1,
"example": 10000000
}
},
"additionalProperties": false,
"required": [
"maxCount",
"formats",
"maxBytes"
]
}CapabilityDocumentDto
#/components/schemas/CapabilityDocumentDto
{
"type": "object",
"properties": {
"maxCount": {
"type": "integer",
"minimum": 1,
"example": 1
},
"formats": {
"minItems": 1,
"example": [
"application/pdf",
"application/zip",
"application/octet-stream"
],
"type": "array",
"items": {
"type": "string"
}
},
"maxBytes": {
"type": "integer",
"minimum": 1,
"example": 49000000
}
},
"additionalProperties": false,
"required": [
"maxCount",
"formats",
"maxBytes"
]
}CapabilityVideoDto
#/components/schemas/CapabilityVideoDto
{
"type": "object",
"properties": {
"minDurationSec": {
"type": "number",
"minimum": 0,
"example": 1
},
"maxDurationSec": {
"type": "number",
"minimum": 0,
"example": 3600
},
"formats": {
"minItems": 1,
"example": [
"video/mp4"
],
"type": "array",
"items": {
"type": "string"
}
},
"maxBytes": {
"type": "integer",
"minimum": 1,
"example": 49000000
},
"aspectRatios": {
"example": [],
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false,
"required": [
"minDurationSec",
"maxDurationSec",
"formats",
"maxBytes",
"aspectRatios"
]
}CapabilityCarouselDto
#/components/schemas/CapabilityCarouselDto
{
"type": "object",
"properties": {
"maxItems": {
"type": "integer",
"minimum": 1,
"example": 10
},
"mixedMedia": {
"type": "boolean",
"example": false
}
},
"additionalProperties": false,
"required": [
"maxItems",
"mixedMedia"
]
}PublishContentRequirementsDto
#/components/schemas/PublishContentRequirementsDto
{
"type": "object",
"properties": {
"alternatives": {
"minItems": 1,
"description": "OR alternatives; requirements inside each item are AND-ed. These are minimums, not exclusive content modes.",
"type": "array",
"items": {
"$ref": "#/components/schemas/PublishContentAlternativeDto"
}
}
},
"additionalProperties": false,
"required": [
"alternatives"
]
}PublishContentAlternativeDto
#/components/schemas/PublishContentAlternativeDto
{
"type": "object",
"properties": {
"text": {
"type": "boolean",
"description": "When true, non-blank text is required. False does not prohibit text."
},
"media": {
"type": "boolean",
"description": "When true, at least one media item is required. False does not prohibit media."
},
"options": {
"description": "Post option names that must carry a non-empty value.",
"example": [
"link"
],
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false,
"required": [
"text",
"media",
"options"
]
}InboxCapabilityDto
#/components/schemas/InboxCapabilityDto
{
"type": "object",
"properties": {
"dm": {
"type": "boolean"
},
"comments": {
"type": "boolean"
},
"reviews": {
"type": "boolean"
},
"mentions": {
"type": "boolean"
},
"reactions": {
"type": "boolean"
}
},
"additionalProperties": false,
"required": [
"dm",
"comments",
"reviews",
"mentions",
"reactions"
]
}AnalyticsCapabilityDto
#/components/schemas/AnalyticsCapabilityDto
{
"type": "object",
"properties": {
"post": {
"type": "array",
"items": {
"type": "string"
}
},
"account": {
"type": "array",
"items": {
"type": "string"
}
},
"companion": {
"$ref": "#/components/schemas/AnalyticsCompanionCapabilityDto"
}
},
"additionalProperties": false,
"required": [
"post",
"account"
]
}AnalyticsCompanionCapabilityDto
#/components/schemas/AnalyticsCompanionCapabilityDto
{
"type": "object",
"properties": {
"granularity": {
"type": "string",
"enum": [
"location"
]
}
},
"additionalProperties": false,
"required": [
"granularity"
]
}AdsCapabilityDto
#/components/schemas/AdsCapabilityDto
{
"type": "object",
"properties": {
"objectives": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false,
"required": [
"objectives"
]
}AccountCapabilityDto
#/components/schemas/AccountCapabilityDto
{
"type": "object",
"properties": {
"accountId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$"
},
"profileId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$"
},
"freshness": {
"type": "string",
"enum": [
"fresh",
"stale"
]
},
"observedAt": {
"type": "string",
"format": "date-time"
},
"capabilities": {
"$ref": "#/components/schemas/PlatformCapabilitiesDto"
}
},
"additionalProperties": false,
"required": [
"accountId",
"profileId",
"freshness",
"observedAt",
"capabilities"
]
}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"
]
}