zumpo/docs
Dashboard
Skip to content
platforms / API reference
GETlistPlatforms

List platform capabilities

Authentication

The following security requirement applies to this operation.

  1. bearerhttp

    scheme
    bearer
    bearerFormat
    zumpo-api-key
Read the authentication guide

Parameters

accountIdqueryoptional

Optional 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
application/json
Response 200array
Array itemobject
#/components/schemas/PlatformCapabilityDto
additionalProperties
false
required
[ "platform", "capabilities", "mediaDelivery", "quotaModel", "apiVersion", "apiSunsetAt" ]
platformstringrequired

Platform 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
#/components/schemas/PlatformCapabilitiesDto
additionalProperties
false
required
[ "publish", "inbox", "analytics", "ads" ]
publishoneOfrequired
oneOf / 1boolean
enum
[ false ]
oneOf / 2object
#/components/schemas/PublishCapabilityDto
additionalProperties
false
required
[ "text", "image", "video", "carousel", "nativeScheduling", "requiredOptions" ]
textobjectrequired
#/components/schemas/CapabilityTextDto
additionalProperties
false
required
[ "maxLength" ]
maxLengthintegerrequired
minimum
1
example
500
imageoneOfrequired
oneOf / 1boolean
enum
[ false ]
oneOf / 2object
#/components/schemas/CapabilityImageDto
additionalProperties
false
required
[ "maxCount", "formats", "maxBytes" ]
maxCountintegerrequired
minimum
1
example
4
formatsarrayrequired
minItems
1
example
[ "image/jpeg" ]
Array itemstring
maxBytesintegerrequired
minimum
1
example
10000000
documentoneOf

Additive binary-document capability. Omission means the platform has not declared document support.

oneOf / 1boolean
enum
[ false ]
oneOf / 2object
#/components/schemas/CapabilityDocumentDto
additionalProperties
false
required
[ "maxCount", "formats", "maxBytes" ]
maxCountintegerrequired
minimum
1
example
1
formatsarrayrequired
minItems
1
example
[ "application/pdf", "application/zip", "application/octet-stream" ]
Array itemstring
maxBytesintegerrequired
minimum
1
example
49000000
videooneOfrequired
oneOf / 1boolean
enum
[ false ]
oneOf / 2object
#/components/schemas/CapabilityVideoDto
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 itemstring
maxBytesintegerrequired
minimum
1
example
49000000
aspectRatiosarrayrequired
example
[]
Array itemstring
carouseloneOfrequired
oneOf / 1boolean
enum
[ false ]
oneOf / 2object
#/components/schemas/CapabilityCarouselDto
additionalProperties
false
required
[ "maxItems", "mixedMedia" ]
maxItemsintegerrequired
minimum
1
example
10
mixedMediabooleanrequired
example
false
nativeSchedulingbooleanrequired
requiredOptionsarrayrequired
Array itemstring
contentRequirementsallOf

Minimum content combinations, present after a platform payload audit.

allOf / 1object
#/components/schemas/PublishContentRequirementsDto
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
#/components/schemas/PublishContentAlternativeDto
additionalProperties
false
required
[ "text", "media", "options" ]
textbooleanrequired

When true, non-blank text is required. False does not prohibit text.

mediabooleanrequired

When 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 itemstring
inboxoneOfrequired
oneOf / 1boolean
enum
[ false ]
oneOf / 2object
#/components/schemas/InboxCapabilityDto
additionalProperties
false
required
[ "dm", "comments", "reviews", "mentions", "reactions" ]
dmbooleanrequired
commentsbooleanrequired
reviewsbooleanrequired
mentionsbooleanrequired
reactionsbooleanrequired
analyticsoneOfrequired
oneOf / 1boolean
enum
[ false ]
oneOf / 2object
#/components/schemas/AnalyticsCapabilityDto
additionalProperties
false
required
[ "post", "account" ]
postarrayrequired
Array itemstring
accountarrayrequired
Array itemstring
companionobject
#/components/schemas/AnalyticsCompanionCapabilityDto
additionalProperties
false
required
[ "granularity" ]
granularitystringrequired
enum
[ "location" ]
adsoneOfrequired
oneOf / 1boolean
enum
[ false ]
oneOf / 2object
#/components/schemas/AdsCapabilityDto
additionalProperties
false
required
[ "objectives" ]
objectivesarrayrequired
Array itemstring
mediaDeliverystringrequired
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" ]
apiVersionstringrequired

Adapter in hedefledigi platform API surumu

example
v1
apiSunsetAtstringrequired

Known deprecation date (ISO) or null

nullable
true
example
null
accountCapabilityobject
#/components/schemas/AccountCapabilityDto
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
#/components/schemas/PlatformCapabilitiesDto
additionalProperties
false
required
[ "publish", "inbox", "analytics", "ads" ]
publishoneOfrequired
oneOf / 1boolean
enum
[ false ]
oneOf / 2object
#/components/schemas/PublishCapabilityDto
additionalProperties
false
required
[ "text", "image", "video", "carousel", "nativeScheduling", "requiredOptions" ]
textobjectrequired
#/components/schemas/CapabilityTextDto
additionalProperties
false
required
[ "maxLength" ]
maxLengthintegerrequired
minimum
1
example
500
imageoneOfrequired
oneOf / 1boolean
enum
[ false ]
oneOf / 2object
#/components/schemas/CapabilityImageDto
additionalProperties
false
required
[ "maxCount", "formats", "maxBytes" ]
maxCountintegerrequired
minimum
1
example
4
formatsarrayrequired
minItems
1
example
[ "image/jpeg" ]
Array itemstring
maxBytesintegerrequired
minimum
1
example
10000000
documentoneOf

Additive binary-document capability. Omission means the platform has not declared document support.

oneOf / 1boolean
enum
[ false ]
oneOf / 2object
#/components/schemas/CapabilityDocumentDto
additionalProperties
false
required
[ "maxCount", "formats", "maxBytes" ]
maxCountintegerrequired
minimum
1
example
1
formatsarrayrequired
minItems
1
example
[ "application/pdf", "application/zip", "application/octet-stream" ]
Array itemstring
maxBytesintegerrequired
minimum
1
example
49000000
videooneOfrequired
oneOf / 1boolean
enum
[ false ]
oneOf / 2object
#/components/schemas/CapabilityVideoDto
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 itemstring
maxBytesintegerrequired
minimum
1
example
49000000
aspectRatiosarrayrequired
example
[]
Array itemstring
carouseloneOfrequired
oneOf / 1boolean
enum
[ false ]
oneOf / 2object
#/components/schemas/CapabilityCarouselDto
additionalProperties
false
required
[ "maxItems", "mixedMedia" ]
maxItemsintegerrequired
minimum
1
example
10
mixedMediabooleanrequired
example
false
nativeSchedulingbooleanrequired
requiredOptionsarrayrequired
Array itemstring
contentRequirementsallOf

Minimum content combinations, present after a platform payload audit.

allOf / 1object
#/components/schemas/PublishContentRequirementsDto
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
#/components/schemas/PublishContentAlternativeDto
additionalProperties
false
required
[ "text", "media", "options" ]
textbooleanrequired

When true, non-blank text is required. False does not prohibit text.

mediabooleanrequired

When 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 itemstring
inboxoneOfrequired
oneOf / 1boolean
enum
[ false ]
oneOf / 2object
#/components/schemas/InboxCapabilityDto
additionalProperties
false
required
[ "dm", "comments", "reviews", "mentions", "reactions" ]
dmbooleanrequired
commentsbooleanrequired
reviewsbooleanrequired
mentionsbooleanrequired
reactionsbooleanrequired
analyticsoneOfrequired
oneOf / 1boolean
enum
[ false ]
oneOf / 2object
#/components/schemas/AnalyticsCapabilityDto
additionalProperties
false
required
[ "post", "account" ]
postarrayrequired
Array itemstring
accountarrayrequired
Array itemstring
companionobject
#/components/schemas/AnalyticsCompanionCapabilityDto
additionalProperties
false
required
[ "granularity" ]
granularitystringrequired
enum
[ "location" ]
adsoneOfrequired
oneOf / 1boolean
enum
[ false ]
oneOf / 2object
#/components/schemas/AdsCapabilityDto
additionalProperties
false
required
[ "objectives" ]
objectivesarrayrequired
Array itemstring
Original schema
{
  "type": "array",
  "items": {
    "$ref": "#/components/schemas/PlatformCapabilityDto"
  }
}
400Invalid request

Invalid request

application/json
Response 400object
#/components/schemas/ZumpoErrorDto
required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequired

Human-readable message. UNSTABLE — do not branch on it.

example
WhatsApp session window expired; use a template message.
typestringrequired

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
codestringrequired

Stable machine-readable code.

example
whatsapp_window_expired
paramstring

Offending parameter, present only when relevant.

example
body
docUrlstringrequired

https://docs.zumpo.io/errors/{code}

example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequired

Support correlation id: req_ + 16 hex.

example
req_7f3a9c2e1b8d4056
detailsobject

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.

additionalProperties
true
example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
  "$ref": "#/components/schemas/ZumpoErrorDto"
}
401Authentication failed

Authentication failed

application/json
Response 401object
#/components/schemas/ZumpoErrorDto
required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequired

Human-readable message. UNSTABLE — do not branch on it.

example
WhatsApp session window expired; use a template message.
typestringrequired

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
codestringrequired

Stable machine-readable code.

example
whatsapp_window_expired
paramstring

Offending parameter, present only when relevant.

example
body
docUrlstringrequired

https://docs.zumpo.io/errors/{code}

example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequired

Support correlation id: req_ + 16 hex.

example
req_7f3a9c2e1b8d4056
detailsobject

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.

additionalProperties
true
example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
  "$ref": "#/components/schemas/ZumpoErrorDto"
}
403Permission denied

Permission denied

application/json
Response 403object
#/components/schemas/ZumpoErrorDto
required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequired

Human-readable message. UNSTABLE — do not branch on it.

example
WhatsApp session window expired; use a template message.
typestringrequired

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
codestringrequired

Stable machine-readable code.

example
whatsapp_window_expired
paramstring

Offending parameter, present only when relevant.

example
body
docUrlstringrequired

https://docs.zumpo.io/errors/{code}

example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequired

Support correlation id: req_ + 16 hex.

example
req_7f3a9c2e1b8d4056
detailsobject

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.

additionalProperties
true
example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
  "$ref": "#/components/schemas/ZumpoErrorDto"
}
404Resource not found

Resource not found

application/json
Response 404object
#/components/schemas/ZumpoErrorDto
required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequired

Human-readable message. UNSTABLE — do not branch on it.

example
WhatsApp session window expired; use a template message.
typestringrequired

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
codestringrequired

Stable machine-readable code.

example
whatsapp_window_expired
paramstring

Offending parameter, present only when relevant.

example
body
docUrlstringrequired

https://docs.zumpo.io/errors/{code}

example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequired

Support correlation id: req_ + 16 hex.

example
req_7f3a9c2e1b8d4056
detailsobject

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.

additionalProperties
true
example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
  "$ref": "#/components/schemas/ZumpoErrorDto"
}
409Conflict

Conflict

application/json
Response 409object
#/components/schemas/ZumpoErrorDto
required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequired

Human-readable message. UNSTABLE — do not branch on it.

example
WhatsApp session window expired; use a template message.
typestringrequired

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
codestringrequired

Stable machine-readable code.

example
whatsapp_window_expired
paramstring

Offending parameter, present only when relevant.

example
body
docUrlstringrequired

https://docs.zumpo.io/errors/{code}

example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequired

Support correlation id: req_ + 16 hex.

example
req_7f3a9c2e1b8d4056
detailsobject

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.

additionalProperties
true
example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
  "$ref": "#/components/schemas/ZumpoErrorDto"
}
429Rate limit exceeded

Rate limit exceeded

application/json
Response 429object
#/components/schemas/ZumpoErrorDto
required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequired

Human-readable message. UNSTABLE — do not branch on it.

example
WhatsApp session window expired; use a template message.
typestringrequired

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
codestringrequired

Stable machine-readable code.

example
whatsapp_window_expired
paramstring

Offending parameter, present only when relevant.

example
body
docUrlstringrequired

https://docs.zumpo.io/errors/{code}

example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequired

Support correlation id: req_ + 16 hex.

example
req_7f3a9c2e1b8d4056
detailsobject

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.

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

application/json
Response 500object
#/components/schemas/ZumpoErrorDto
required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequired

Human-readable message. UNSTABLE — do not branch on it.

example
WhatsApp session window expired; use a template message.
typestringrequired

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
codestringrequired

Stable machine-readable code.

example
whatsapp_window_expired
paramstring

Offending parameter, present only when relevant.

example
body
docUrlstringrequired

https://docs.zumpo.io/errors/{code}

example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequired

Support correlation id: req_ + 16 hex.

example
req_7f3a9c2e1b8d4056
detailsobject

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.

additionalProperties
true
example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
  "$ref": "#/components/schemas/ZumpoErrorDto"
}
502Platform error

Platform error

application/json
Response 502object
#/components/schemas/ZumpoErrorDto
required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequired

Human-readable message. UNSTABLE — do not branch on it.

example
WhatsApp session window expired; use a template message.
typestringrequired

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
codestringrequired

Stable machine-readable code.

example
whatsapp_window_expired
paramstring

Offending parameter, present only when relevant.

example
body
docUrlstringrequired

https://docs.zumpo.io/errors/{code}

example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequired

Support correlation id: req_ + 16 hex.

example
req_7f3a9c2e1b8d4056
detailsobject

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.

additionalProperties
true
example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
  "$ref": "#/components/schemas/ZumpoErrorDto"
}
503Service unavailable

Service unavailable

application/json
Response 503object
#/components/schemas/ZumpoErrorDto
required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequired

Human-readable message. UNSTABLE — do not branch on it.

example
WhatsApp session window expired; use a template message.
typestringrequired

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
codestringrequired

Stable machine-readable code.

example
whatsapp_window_expired
paramstring

Offending parameter, present only when relevant.

example
body
docUrlstringrequired

https://docs.zumpo.io/errors/{code}

example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequired

Support correlation id: req_ + 16 hex.

example
req_7f3a9c2e1b8d4056
detailsobject

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.

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"
  ]
}