List conversations
Reads conversation threads live from every eligible connected account in one request. Omit accountId to fan out across all eligible accounts; supply it to read a single account. An account is eligible only when its platform adapter implements conversation listing, so a platform without that capability is skipped rather than reported as a failure. A per-account failure does not fail the request: it is counted in meta.accountsFailed and named in meta.failedAccounts, and the remaining accounts are still returned.
Authentication
The following security requirement applies to this operation.
Read the authentication guideParameters
cursorqueryoptionalOpaque cursor returned by this endpoint. It encodes one resume position per account and is only valid for the query that produced it.
cursorstring- minLength
1- maxLength
8192
Original schema
{
"type": "string",
"minLength": 1,
"maxLength": 8192
}limitqueryoptionallimitinteger- minimum
1- maximum
100- default
50
Original schema
{
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 50
}sortOrderqueryoptionalOrder by last message time. Conversations with no known last message always sort last, in both directions.
sortOrderstring- enum
[ "asc", "desc" ]- default
desc
Original schema
{
"type": "string",
"enum": [
"asc",
"desc"
],
"default": "desc"
}statusqueryoptionalConversation status filter. Only active is supported today; archived returns 400 because no connected platform exposes archived conversations here.
statusstring- enum
[ "active", "archived" ]
Original schema
{
"type": "string",
"enum": [
"active",
"archived"
]
}platformqueryoptionalRestrict the fan-out to accounts on one platform.
platformstring- 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" ]
Original schema
{
"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"
]
}profileIdqueryoptionalRestrict the fan-out to accounts on one profile.
profileIdstring- pattern
^[0-9a-f]{24}$
Original schema
{
"type": "string",
"pattern": "^[0-9a-f]{24}$"
}accountIdqueryoptionalRestrict the fan-out to one account. Omit to read every eligible account.
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 200object
- additionalProperties
false- required
[ "data", "pagination", "meta" ]
dataarrayrequired
Array itemobject
- additionalProperties
false- required
[ "accountId", "platform", "id", "participantId" ]
accountIdstringrequiredZumpo account this conversation was read from.
- pattern
^[0-9a-f]{24}$
platformstringrequiredPlatform of the account this conversation was read from.
- 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" ]
idstringrequiredProvider conversation id, opaque and platform specific.
- minLength
1- maxLength
256
participantIdstringrequiredProvider id of the other participant.
- minLength
1- maxLength
256
participantNamestringDisplay name of the participant when the provider returns one.
- maxLength
256
lastMessageAtstringTimestamp of the last known message, when the provider reports it.
- nullable
true- format
date-time
unreadCountnumberUnread message count when the provider reports it.
- minimum
0
windowExpiresAtstringEnd of the platform messaging window, when the platform enforces one.
- nullable
true- format
date-time
paginationobjectrequired
- additionalProperties
false- required
[ "hasMore", "nextCursor" ]
hasMorebooleanrequiredTrue when at least one eligible account still has pages to read. A round that fails for an account keeps this true while that account is retried; after a few consecutive failures the account is abandoned for this cursor chain so pagination can terminate.
nextCursorstringrequiredOpaque cursor that resumes the fan-out. Pass it back unchanged as the cursor query parameter.
- nullable
true
metaobjectrequired
- additionalProperties
false- required
[ "accountsQueried", "accountsFailed", "failedAccounts", "lastUpdated" ]
accountsQueriednumberrequiredEligible accounts this request actually issued a provider read for, failures included. Accounts already exhausted by an earlier page are not re-read and not counted.
- minimum
0
accountsFailednumberrequiredEligible accounts this round could not read, whether or not the provider was reached. Each one is named in failedAccounts.
- minimum
0
failedAccountsarrayrequired
One entry per failed account. Empty when nothing failed.
Array itemobject
- additionalProperties
false- required
[ "accountId", "platform", "code" ]
accountIdstringrequired- pattern
^[0-9a-f]{24}$
platformstringrequired- 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" ]
codestringrequiredStable Zumpo error code explaining why this account was not read.
- pattern
^[a-z][a-z0-9_]{0,63}$
lastUpdatedstringrequiredServer time this fan-out was assembled.
- format
date-time
Original schema
{
"$ref": "#/components/schemas/InboxConversationsResponseDto"
}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"
}401Response schema
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"
}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"
}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.
InboxConversationsResponseDto
#/components/schemas/InboxConversationsResponseDto
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/InboxConversationDto"
}
},
"pagination": {
"$ref": "#/components/schemas/InboxConversationsPaginationDto"
},
"meta": {
"$ref": "#/components/schemas/InboxConversationsMetaDto"
}
},
"additionalProperties": false,
"required": [
"data",
"pagination",
"meta"
]
}InboxConversationDto
#/components/schemas/InboxConversationDto
{
"type": "object",
"properties": {
"accountId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "Zumpo account this conversation was read from."
},
"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 of the account this conversation was read from."
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"description": "Provider conversation id, opaque and platform specific."
},
"participantId": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"description": "Provider id of the other participant."
},
"participantName": {
"type": "string",
"maxLength": 256,
"description": "Display name of the participant when the provider returns one."
},
"lastMessageAt": {
"type": "string",
"nullable": true,
"format": "date-time",
"description": "Timestamp of the last known message, when the provider reports it."
},
"unreadCount": {
"type": "number",
"minimum": 0,
"description": "Unread message count when the provider reports it."
},
"windowExpiresAt": {
"type": "string",
"nullable": true,
"format": "date-time",
"description": "End of the platform messaging window, when the platform enforces one."
}
},
"additionalProperties": false,
"required": [
"accountId",
"platform",
"id",
"participantId"
]
}InboxConversationsPaginationDto
#/components/schemas/InboxConversationsPaginationDto
{
"type": "object",
"properties": {
"hasMore": {
"type": "boolean",
"description": "True when at least one eligible account still has pages to read. A round that fails for an account keeps this true while that account is retried; after a few consecutive failures the account is abandoned for this cursor chain so pagination can terminate."
},
"nextCursor": {
"type": "string",
"nullable": true,
"description": "Opaque cursor that resumes the fan-out. Pass it back unchanged as the cursor query parameter."
}
},
"additionalProperties": false,
"required": [
"hasMore",
"nextCursor"
]
}InboxConversationsMetaDto
#/components/schemas/InboxConversationsMetaDto
{
"type": "object",
"properties": {
"accountsQueried": {
"type": "number",
"minimum": 0,
"description": "Eligible accounts this request actually issued a provider read for, failures included. Accounts already exhausted by an earlier page are not re-read and not counted."
},
"accountsFailed": {
"type": "number",
"minimum": 0,
"description": "Eligible accounts this round could not read, whether or not the provider was reached. Each one is named in failedAccounts."
},
"failedAccounts": {
"description": "One entry per failed account. Empty when nothing failed.",
"type": "array",
"items": {
"$ref": "#/components/schemas/InboxConversationFailedAccountDto"
}
},
"lastUpdated": {
"type": "string",
"format": "date-time",
"description": "Server time this fan-out was assembled."
}
},
"additionalProperties": false,
"required": [
"accountsQueried",
"accountsFailed",
"failedAccounts",
"lastUpdated"
]
}InboxConversationFailedAccountDto
#/components/schemas/InboxConversationFailedAccountDto
{
"type": "object",
"properties": {
"accountId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$"
},
"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"
]
},
"code": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,63}$",
"description": "Stable Zumpo error code explaining why this account was not read."
}
},
"additionalProperties": false,
"required": [
"accountId",
"platform",
"code"
]
}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"
]
}