zumpo/docs
Dashboard
Skip to content
analytics / API reference
GETgetLinkedInAggregateAnalytics

Get LinkedIn aggregate stats

Returns TOTAL or DAILY analytics across posts published through Zernio for a personal LinkedIn account.

Authentication

The following security requirement applies to this operation.

  1. bearerhttp

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

Parameters

accountIdpathrequired
accountIdstringrequired
pattern
^[0-9a-f]{24}$
Original schema
{
  "type": "string",
  "pattern": "^[0-9a-f]{24}$"
}
metricsqueryoptional
metricsstring
example
IMPRESSION,REACTION,COMMENT,POST_SAVE,POST_SEND
Original schema
{
  "example": "IMPRESSION,REACTION,COMMENT,POST_SAVE,POST_SEND",
  "type": "string"
}
endDatequeryoptional
endDatestring
format
date
Original schema
{
  "format": "date",
  "type": "string"
}
startDatequeryoptional
startDatestring
format
date
Original schema
{
  "format": "date",
  "type": "string"
}
aggregationqueryoptional
aggregationstring
default
TOTAL
enum
[ "TOTAL", "DAILY" ]
Original schema
{
  "type": "string",
  "default": "TOTAL",
  "enum": [
    "TOTAL",
    "DAILY"
  ]
}

Responses

Status codes and shapes declared for this operation. Read each description for the meaning of that response.

200Response schema
application/json
Response 200oneOf
oneOf / 1object
#/components/schemas/LinkedInAggregateAnalyticsTotalResponseDto
additionalProperties
false
required
[ "accountId", "platform", "accountType", "username", "aggregation", "dateRange", "analytics", "note", "lastUpdated" ]
accountIdstringrequired
pattern
^[0-9a-f]{24}$
platformstringrequired
enum
[ "linkedin" ]
accountTypestringrequired
enum
[ "personal" ]
usernamestringrequired
minLength
1
maxLength
512
aggregationstringrequired
enum
[ "TOTAL" ]
dateRangeobjectrequired
nullable
true
allOf / 1object
#/components/schemas/LinkedInAnalyticsDateRangeDto
additionalProperties
false
required
[ "startDate", "endDate" ]
startDatestringrequired
format
date
endDatestringrequired
format
date
analyticsobjectrequired
#/components/schemas/LinkedInAggregateTotalMetricsDto
additionalProperties
false
impressionsnumber
minimum
0
reachnumber
minimum
0
reactionsnumber
minimum
0
commentsnumber
minimum
0
sharesnumber
minimum
0
savesnumber
minimum
0
sendsnumber
minimum
0
engagementRatenumber
minimum
0
skippedMetricsarray
Array itemstring
notestringrequired
lastUpdatedstringrequired
format
date-time
oneOf / 2object
#/components/schemas/LinkedInAggregateAnalyticsDailyResponseDto
additionalProperties
false
required
[ "accountId", "platform", "accountType", "username", "aggregation", "dateRange", "analytics", "note", "lastUpdated" ]
accountIdstringrequired
pattern
^[0-9a-f]{24}$
platformstringrequired
enum
[ "linkedin" ]
accountTypestringrequired
enum
[ "personal" ]
usernamestringrequired
minLength
1
maxLength
512
aggregationstringrequired
enum
[ "DAILY" ]
dateRangeobjectrequired
nullable
true
allOf / 1object
#/components/schemas/LinkedInAnalyticsDateRangeDto
additionalProperties
false
required
[ "startDate", "endDate" ]
startDatestringrequired
format
date
endDatestringrequired
format
date
analyticsobjectrequired
#/components/schemas/LinkedInAggregateDailyMetricsDto
additionalProperties
false
impressionsarray
Array itemobject
#/components/schemas/LinkedInDailyAnalyticsPointDto
additionalProperties
false
required
[ "date", "count" ]
datestringrequired
format
date
countnumberrequired
minimum
0
reactionsarray
Array itemobject
#/components/schemas/LinkedInDailyAnalyticsPointDto
additionalProperties
false
required
[ "date", "count" ]
datestringrequired
format
date
countnumberrequired
minimum
0
commentsarray
Array itemobject
#/components/schemas/LinkedInDailyAnalyticsPointDto
additionalProperties
false
required
[ "date", "count" ]
datestringrequired
format
date
countnumberrequired
minimum
0
sharesarray
Array itemobject
#/components/schemas/LinkedInDailyAnalyticsPointDto
additionalProperties
false
required
[ "date", "count" ]
datestringrequired
format
date
countnumberrequired
minimum
0
savesarray
Array itemobject
#/components/schemas/LinkedInDailyAnalyticsPointDto
additionalProperties
false
required
[ "date", "count" ]
datestringrequired
format
date
countnumberrequired
minimum
0
sendsarray
Array itemobject
#/components/schemas/LinkedInDailyAnalyticsPointDto
additionalProperties
false
required
[ "date", "count" ]
datestringrequired
format
date
countnumberrequired
minimum
0
skippedMetricsarray
Array itemstring
notestringrequired
lastUpdatedstringrequired
format
date-time
Original schema
{
  "oneOf": [
    {
      "$ref": "#/components/schemas/LinkedInAggregateAnalyticsTotalResponseDto"
    },
    {
      "$ref": "#/components/schemas/LinkedInAggregateAnalyticsDailyResponseDto"
    }
  ]
}
400Response schema
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"
}
401Response schema
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"
}
403Response schema
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"
}
404Response schema
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"
}
409Response schema
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"
}
429Response schema
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"
}
502Response schema
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"
}
503Response schema
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.

LinkedInAggregateAnalyticsTotalResponseDto

#/components/schemas/LinkedInAggregateAnalyticsTotalResponseDto

{
  "type": "object",
  "properties": {
    "accountId": {
      "type": "string",
      "pattern": "^[0-9a-f]{24}$"
    },
    "platform": {
      "type": "string",
      "enum": [
        "linkedin"
      ]
    },
    "accountType": {
      "type": "string",
      "enum": [
        "personal"
      ]
    },
    "username": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512
    },
    "aggregation": {
      "type": "string",
      "enum": [
        "TOTAL"
      ]
    },
    "dateRange": {
      "nullable": true,
      "type": "object",
      "allOf": [
        {
          "$ref": "#/components/schemas/LinkedInAnalyticsDateRangeDto"
        }
      ]
    },
    "analytics": {
      "$ref": "#/components/schemas/LinkedInAggregateTotalMetricsDto"
    },
    "skippedMetrics": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "note": {
      "type": "string"
    },
    "lastUpdated": {
      "type": "string",
      "format": "date-time"
    }
  },
  "additionalProperties": false,
  "required": [
    "accountId",
    "platform",
    "accountType",
    "username",
    "aggregation",
    "dateRange",
    "analytics",
    "note",
    "lastUpdated"
  ]
}
LinkedInAnalyticsDateRangeDto

#/components/schemas/LinkedInAnalyticsDateRangeDto

{
  "type": "object",
  "properties": {
    "startDate": {
      "type": "string",
      "format": "date"
    },
    "endDate": {
      "type": "string",
      "format": "date"
    }
  },
  "additionalProperties": false,
  "required": [
    "startDate",
    "endDate"
  ]
}
LinkedInAggregateTotalMetricsDto

#/components/schemas/LinkedInAggregateTotalMetricsDto

{
  "type": "object",
  "properties": {
    "impressions": {
      "type": "number",
      "minimum": 0
    },
    "reach": {
      "type": "number",
      "minimum": 0
    },
    "reactions": {
      "type": "number",
      "minimum": 0
    },
    "comments": {
      "type": "number",
      "minimum": 0
    },
    "shares": {
      "type": "number",
      "minimum": 0
    },
    "saves": {
      "type": "number",
      "minimum": 0
    },
    "sends": {
      "type": "number",
      "minimum": 0
    },
    "engagementRate": {
      "type": "number",
      "minimum": 0
    }
  },
  "additionalProperties": false
}
LinkedInAggregateAnalyticsDailyResponseDto

#/components/schemas/LinkedInAggregateAnalyticsDailyResponseDto

{
  "type": "object",
  "properties": {
    "accountId": {
      "type": "string",
      "pattern": "^[0-9a-f]{24}$"
    },
    "platform": {
      "type": "string",
      "enum": [
        "linkedin"
      ]
    },
    "accountType": {
      "type": "string",
      "enum": [
        "personal"
      ]
    },
    "username": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512
    },
    "aggregation": {
      "type": "string",
      "enum": [
        "DAILY"
      ]
    },
    "dateRange": {
      "nullable": true,
      "type": "object",
      "allOf": [
        {
          "$ref": "#/components/schemas/LinkedInAnalyticsDateRangeDto"
        }
      ]
    },
    "analytics": {
      "$ref": "#/components/schemas/LinkedInAggregateDailyMetricsDto"
    },
    "skippedMetrics": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "note": {
      "type": "string"
    },
    "lastUpdated": {
      "type": "string",
      "format": "date-time"
    }
  },
  "additionalProperties": false,
  "required": [
    "accountId",
    "platform",
    "accountType",
    "username",
    "aggregation",
    "dateRange",
    "analytics",
    "note",
    "lastUpdated"
  ]
}
LinkedInAggregateDailyMetricsDto

#/components/schemas/LinkedInAggregateDailyMetricsDto

{
  "type": "object",
  "properties": {
    "impressions": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/LinkedInDailyAnalyticsPointDto"
      }
    },
    "reactions": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/LinkedInDailyAnalyticsPointDto"
      }
    },
    "comments": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/LinkedInDailyAnalyticsPointDto"
      }
    },
    "shares": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/LinkedInDailyAnalyticsPointDto"
      }
    },
    "saves": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/LinkedInDailyAnalyticsPointDto"
      }
    },
    "sends": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/LinkedInDailyAnalyticsPointDto"
      }
    }
  },
  "additionalProperties": false
}
LinkedInDailyAnalyticsPointDto

#/components/schemas/LinkedInDailyAnalyticsPointDto

{
  "type": "object",
  "properties": {
    "date": {
      "type": "string",
      "format": "date"
    },
    "count": {
      "type": "number",
      "minimum": 0
    }
  },
  "additionalProperties": false,
  "required": [
    "date",
    "count"
  ]
}
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"
  ]
}