Get post comments
Returns one owned YouTube, Instagram or Facebook post comment page. The account determines the platform. Internal posts resolve to a unique published account target; Meta verifies provider media ownership. Meta fields withheld by the provider remain null.
Authentication
The following security requirement applies to this operation.
Read the authentication guideParameters
postIdpathrequiredInternal post id or provider YouTube, Instagram or Facebook post id.
postIdstringrequired- minLength
1- maxLength
128- pattern
^[A-Za-z0-9_-]{1,128}$
Original schema
{
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_-]{1,128}$"
}moderationStatusqueryoptionalOptional YouTube owner moderation-queue filter.
moderationStatusstring- enum
[ "published", "heldForReview", "likelySpam" ]
Original schema
{
"type": "string",
"enum": [
"published",
"heldForReview",
"likelySpam"
]
}cursorqueryoptionalOpaque context-bound cursor returned by this endpoint.
cursorstring- minLength
1- maxLength
8192
Original schema
{
"type": "string",
"minLength": 1,
"maxLength": 8192
}limitqueryoptionallimitinteger- minimum
1- maximum
100- default
25
Original schema
{
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 25
}accountIdqueryrequiredaccountIdstringrequired- 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 200oneOf
oneOf / 1object
- additionalProperties
false- required
[ "status", "comments", "pagination", "meta" ]
statusstringrequired- enum
[ "success" ]
commentsarrayrequired
- maxItems
100
Array itemobject
- additionalProperties
false- required
[ "id", "message", "createdTime", "from", "likeCount", "replyCount", "platform", "url", "replies", "canReply", "canDelete", "canHide", "canLike", "isHidden", "isLiked", "likeUri", "cid", "parentId", "rootUri", "rootCid" ]
idstringrequired- pattern
^[A-Za-z0-9_-]{1,256}$
messagestringrequired- minLength
1- maxLength
20000
createdTimestringrequired- format
date-time
fromobjectrequired
- additionalProperties
false- required
[ "name", "picture", "isOwner", "verifiedType" ]
idstringYouTube author channel id. Omitted when YouTube withholds it.
- pattern
^UC[A-Za-z0-9_-]{1,120}$
namestringrequired- minLength
1- maxLength
256
usernamestringPlatform username when one is exposed. YouTube comments omit this field.
- maxLength
256
picturestringrequired- format
uri- nullable
true- maxLength
2048
isOwnerbooleanrequiredverifiedTypestringrequiredAlways null because YouTube does not expose this badge taxonomy.
- enum
[ "blue", "government", "business", "none" ]- nullable
true
likeCountintegerrequired- minimum
0
replyCountintegerrequired- minimum
0
platformstringrequired- enum
[ "youtube" ]
urlstringrequired- format
uri- nullable
true- maxLength
512
repliesarrayrequired
Always empty: YouTube commentThreads can contain only a partial reply subset.
- maxItems
0
Array itemobjectcanReplybooleanrequiredcanDeletebooleanrequiredcanHidebooleanrequiredcanLikebooleanrequiredisHiddenbooleanrequiredisLikedbooleanrequiredlikeUristringrequired- nullable
true- maxLength
512
cidstringrequired- nullable
true- maxLength
512
parentIdstringrequired- nullable
true- maxLength
256
rootUristringrequired- nullable
true- maxLength
2048
rootCidstringrequired- nullable
true- maxLength
512
paginationobjectrequired
- additionalProperties
false- required
[ "hasMore", "cursor" ]
hasMorebooleanrequiredcursorstringrequiredOpaque context-bound continuation cursor; never a raw YouTube token.
- nullable
true- minLength
1- maxLength
8192
metaobjectrequired
- additionalProperties
false- required
[ "platform", "postId", "accountId", "subreddit", "lastUpdated" ]
platformstringrequired- enum
[ "youtube" ]
postIdstringrequired- minLength
1- maxLength
128
accountIdstringrequired- pattern
^[0-9a-f]{24}$
subredditstringrequired- nullable
true
lastUpdatedstringrequired- format
date-time
adCommentsobject
Boosted Meta-post redirect metadata. Null for YouTube comments.
- nullable
true
allOf / 1object
- additionalProperties
false
adIdstring- minLength
1- maxLength
128
adCommentsUrlstring- minLength
1- maxLength
2048
postobject
Reddit target-post preview. Null for YouTube and other non-Reddit platforms.
- nullable
true
allOf / 1object
- additionalProperties
false
idstringfullnamestringtitlestringselftextstringauthorstringsubredditstringpermalinkstring- format
uri
urlstring- format
uri
scoreintegernumCommentsinteger- minimum
0
createdUtcinteger- minimum
0
over18booleanstickiedbooleanflairTextstring- nullable
true
isGallerybooleanoneOf / 2object
- additionalProperties
false- required
[ "status", "comments", "pagination", "meta" ]
statusstringrequired- enum
[ "success" ]
commentsarrayrequired
- maxItems
100
Array itemobject
- additionalProperties
false- required
[ "id", "message", "createdTime", "from", "likeCount", "replyCount", "platform", "url", "replies", "canReply", "canDelete", "canHide", "canLike", "isHidden", "isLiked", "likeUri", "cid", "parentId", "rootUri", "rootCid" ]
idstringrequired- pattern
^[1-9][0-9]{0,31}(?:_[1-9][0-9]{0,31})?$
messagestringrequired- nullable
true- maxLength
20000
createdTimestringrequired- nullable
true- format
date-time
fromobjectrequired
- additionalProperties
false- required
[ "name", "picture", "isOwner", "verifiedType" ]
idstring- maxLength
128
namestringrequired- nullable
true- maxLength
512
picturestringrequired- nullable
true
isOwnerbooleanrequiredverifiedTypestringrequired- nullable
true
likeCountintegerrequired- minimum
0- nullable
true
replyCountintegerrequiredNull when the provider does not return a complete reply count.
- minimum
0- nullable
true
platformstringrequired- enum
[ "facebook", "instagram" ]
urlstringrequired- nullable
true
repliesarrayrequired
This page contains top-level comments; nested replies are not claimed to be complete.
- maxItems
0
Array itemobjectcanReplybooleanrequiredcanDeletebooleanrequiredcanHidebooleanrequiredcanLikebooleanrequiredisHiddenbooleanrequired- nullable
true
isLikedbooleanrequired- nullable
true
likeUristringrequired- nullable
true
cidstringrequired- nullable
true
parentIdstringrequired- nullable
true
rootUristringrequired- nullable
true
rootCidstringrequired- nullable
true
paginationobjectrequired
- additionalProperties
false- required
[ "hasMore", "cursor" ]
hasMorebooleanrequiredcursorstringrequiredOpaque context-bound continuation cursor; never a raw YouTube token.
- nullable
true- minLength
1- maxLength
8192
metaobjectrequired
- additionalProperties
false- required
[ "platform", "postId", "accountId", "subreddit", "lastUpdated" ]
platformstringrequired- enum
[ "facebook", "instagram" ]
postIdstringrequired- maxLength
128
accountIdstringrequired- pattern
^[0-9a-f]{24}$
subredditstringrequired- nullable
true
lastUpdatedstringrequired- format
date-time
Original schema
{
"oneOf": [
{
"$ref": "#/components/schemas/YoutubeInboxCommentsResponseDto"
},
{
"$ref": "#/components/schemas/MetaInboxCommentsResponseDto"
}
]
}400Response schema
Response 400object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}401Authentication failed
Authentication failed
Response 401object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}403Response schema
Response 403object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}404Response schema
Response 404object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}409Response schema
Response 409object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}429Response schema
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"
}502Response schema
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"
}503Response schema
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.
YoutubeInboxCommentsResponseDto
#/components/schemas/YoutubeInboxCommentsResponseDto
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"success"
]
},
"comments": {
"maxItems": 100,
"type": "array",
"items": {
"$ref": "#/components/schemas/YoutubeInboxCommentDto"
}
},
"pagination": {
"$ref": "#/components/schemas/YoutubeCommentPaginationDto"
},
"meta": {
"$ref": "#/components/schemas/YoutubeCommentMetaDto"
},
"post": {
"nullable": true,
"description": "Reddit target-post preview. Null for YouTube and other non-Reddit platforms.",
"type": "object",
"allOf": [
{
"$ref": "#/components/schemas/YoutubeInboxRedditPostDto"
}
]
}
},
"additionalProperties": false,
"required": [
"status",
"comments",
"pagination",
"meta"
]
}YoutubeInboxCommentDto
#/components/schemas/YoutubeInboxCommentDto
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,256}$"
},
"message": {
"type": "string",
"minLength": 1,
"maxLength": 20000
},
"createdTime": {
"type": "string",
"format": "date-time"
},
"from": {
"$ref": "#/components/schemas/YoutubeCommentAuthorDto"
},
"likeCount": {
"type": "integer",
"minimum": 0
},
"replyCount": {
"type": "integer",
"minimum": 0
},
"platform": {
"type": "string",
"enum": [
"youtube"
]
},
"url": {
"type": "string",
"format": "uri",
"nullable": true,
"maxLength": 512
},
"replies": {
"maxItems": 0,
"description": "Always empty: YouTube commentThreads can contain only a partial reply subset.",
"type": "array",
"items": {
"type": "object"
}
},
"canReply": {
"type": "boolean"
},
"canDelete": {
"type": "boolean"
},
"canHide": {
"type": "boolean"
},
"canLike": {
"type": "boolean"
},
"isHidden": {
"type": "boolean"
},
"isLiked": {
"type": "boolean"
},
"likeUri": {
"type": "string",
"nullable": true,
"maxLength": 512
},
"cid": {
"type": "string",
"nullable": true,
"maxLength": 512
},
"parentId": {
"type": "string",
"nullable": true,
"maxLength": 256
},
"rootUri": {
"type": "string",
"nullable": true,
"maxLength": 2048
},
"rootCid": {
"type": "string",
"nullable": true,
"maxLength": 512
}
},
"additionalProperties": false,
"required": [
"id",
"message",
"createdTime",
"from",
"likeCount",
"replyCount",
"platform",
"url",
"replies",
"canReply",
"canDelete",
"canHide",
"canLike",
"isHidden",
"isLiked",
"likeUri",
"cid",
"parentId",
"rootUri",
"rootCid"
]
}YoutubeCommentAuthorDto
#/components/schemas/YoutubeCommentAuthorDto
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^UC[A-Za-z0-9_-]{1,120}$",
"description": "YouTube author channel id. Omitted when YouTube withholds it."
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"username": {
"type": "string",
"maxLength": 256,
"description": "Platform username when one is exposed. YouTube comments omit this field."
},
"picture": {
"type": "string",
"format": "uri",
"nullable": true,
"maxLength": 2048
},
"isOwner": {
"type": "boolean"
},
"verifiedType": {
"type": "string",
"enum": [
"blue",
"government",
"business",
"none"
],
"nullable": true,
"description": "Always null because YouTube does not expose this badge taxonomy."
}
},
"additionalProperties": false,
"required": [
"name",
"picture",
"isOwner",
"verifiedType"
]
}YoutubeCommentPaginationDto
#/components/schemas/YoutubeCommentPaginationDto
{
"type": "object",
"properties": {
"hasMore": {
"type": "boolean"
},
"cursor": {
"type": "string",
"nullable": true,
"minLength": 1,
"maxLength": 8192,
"description": "Opaque context-bound continuation cursor; never a raw YouTube token."
}
},
"additionalProperties": false,
"required": [
"hasMore",
"cursor"
]
}YoutubeCommentMetaDto
#/components/schemas/YoutubeCommentMetaDto
{
"type": "object",
"properties": {
"platform": {
"type": "string",
"enum": [
"youtube"
]
},
"postId": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"accountId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$"
},
"subreddit": {
"type": "string",
"nullable": true
},
"lastUpdated": {
"type": "string",
"format": "date-time"
},
"adComments": {
"nullable": true,
"description": "Boosted Meta-post redirect metadata. Null for YouTube comments.",
"type": "object",
"allOf": [
{
"$ref": "#/components/schemas/YoutubeInboxAdCommentsDto"
}
]
}
},
"additionalProperties": false,
"required": [
"platform",
"postId",
"accountId",
"subreddit",
"lastUpdated"
]
}YoutubeInboxAdCommentsDto
#/components/schemas/YoutubeInboxAdCommentsDto
{
"type": "object",
"properties": {
"adId": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"adCommentsUrl": {
"type": "string",
"minLength": 1,
"maxLength": 2048
}
},
"additionalProperties": false
}YoutubeInboxRedditPostDto
#/components/schemas/YoutubeInboxRedditPostDto
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"fullname": {
"type": "string"
},
"title": {
"type": "string"
},
"selftext": {
"type": "string"
},
"author": {
"type": "string"
},
"subreddit": {
"type": "string"
},
"permalink": {
"type": "string",
"format": "uri"
},
"url": {
"type": "string",
"format": "uri"
},
"score": {
"type": "integer"
},
"numComments": {
"type": "integer",
"minimum": 0
},
"createdUtc": {
"type": "integer",
"minimum": 0
},
"over18": {
"type": "boolean"
},
"stickied": {
"type": "boolean"
},
"flairText": {
"type": "string",
"nullable": true
},
"isGallery": {
"type": "boolean"
}
},
"additionalProperties": false
}MetaInboxCommentsResponseDto
#/components/schemas/MetaInboxCommentsResponseDto
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"success"
]
},
"comments": {
"maxItems": 100,
"type": "array",
"items": {
"$ref": "#/components/schemas/MetaInboxCommentDto"
}
},
"pagination": {
"$ref": "#/components/schemas/YoutubeCommentPaginationDto"
},
"meta": {
"$ref": "#/components/schemas/MetaCommentMetaDto"
}
},
"additionalProperties": false,
"required": [
"status",
"comments",
"pagination",
"meta"
]
}MetaInboxCommentDto
#/components/schemas/MetaInboxCommentDto
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[1-9][0-9]{0,31}(?:_[1-9][0-9]{0,31})?$"
},
"message": {
"type": "string",
"nullable": true,
"maxLength": 20000
},
"createdTime": {
"type": "string",
"nullable": true,
"format": "date-time"
},
"from": {
"$ref": "#/components/schemas/MetaCommentAuthorDto"
},
"likeCount": {
"type": "integer",
"minimum": 0,
"nullable": true
},
"replyCount": {
"type": "integer",
"minimum": 0,
"nullable": true,
"description": "Null when the provider does not return a complete reply count."
},
"platform": {
"type": "string",
"enum": [
"facebook",
"instagram"
]
},
"url": {
"type": "string",
"nullable": true
},
"replies": {
"maxItems": 0,
"description": "This page contains top-level comments; nested replies are not claimed to be complete.",
"type": "array",
"items": {
"type": "object"
}
},
"canReply": {
"type": "boolean"
},
"canDelete": {
"type": "boolean"
},
"canHide": {
"type": "boolean"
},
"canLike": {
"type": "boolean"
},
"isHidden": {
"type": "boolean",
"nullable": true
},
"isLiked": {
"type": "boolean",
"nullable": true
},
"likeUri": {
"type": "string",
"nullable": true
},
"cid": {
"type": "string",
"nullable": true
},
"parentId": {
"type": "string",
"nullable": true
},
"rootUri": {
"type": "string",
"nullable": true
},
"rootCid": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false,
"required": [
"id",
"message",
"createdTime",
"from",
"likeCount",
"replyCount",
"platform",
"url",
"replies",
"canReply",
"canDelete",
"canHide",
"canLike",
"isHidden",
"isLiked",
"likeUri",
"cid",
"parentId",
"rootUri",
"rootCid"
]
}MetaCommentAuthorDto
#/components/schemas/MetaCommentAuthorDto
{
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 128
},
"name": {
"type": "string",
"nullable": true,
"maxLength": 512
},
"picture": {
"type": "string",
"nullable": true
},
"isOwner": {
"type": "boolean"
},
"verifiedType": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false,
"required": [
"name",
"picture",
"isOwner",
"verifiedType"
]
}MetaCommentMetaDto
#/components/schemas/MetaCommentMetaDto
{
"type": "object",
"properties": {
"platform": {
"type": "string",
"enum": [
"facebook",
"instagram"
]
},
"postId": {
"type": "string",
"maxLength": 128
},
"accountId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$"
},
"subreddit": {
"type": "string",
"nullable": true
},
"lastUpdated": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false,
"required": [
"platform",
"postId",
"accountId",
"subreddit",
"lastUpdated"
]
}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"
]
}