{ "openapi": "3.0.2", "info": { "title": "Klaviyo API (Beta)", "version": "2026-10-15.pre", "description": "The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details.", "contact": { "name": "Klaviyo Developer Experience Team", "email": "developers@klaviyo.com", "url": "https://developers.klaviyo.com" }, "termsOfService": "https://www.klaviyo.com/legal/api-terms", "license": { "name": "License", "url": "https://www.klaviyo.com/legal" } }, "servers": [ { "url": "https://a.klaviyo.com", "description": "Production" } ], "security": [ { "Klaviyo-API-Key": [] } ], "paths": { "/api/social-series-reports": { "post": { "operationId": "query_social_series_beta", "summary": "Query Social Series", "description": "\n > \ud83d\udea7 This endpoint is in beta and subject to change.\n >\n > A beta revision header (2026-10-15.pre) is required to use our beta APIs. Klaviyo APIs in beta are not intended for use in production. See our [versioning and deprecation policy](https://developers.klaviyo.com/en/docs/api_versioning_and_deprecation_policy) for more information.\n\nTime-bucketed series for one or more statistics.\n\n``social_subscribers`` requires ``filter.channel``. The funnel statistics (``funnel_started``, ``funnel_submitted_identifier``, ``funnel_ended``) require ``filter.automation_id`` and can't be combined with ``social_subscribers`` in one request. A statistic that is not yet available returns ``422`` with code ``statistic_not_yet_available``.

*Rate limits*:
Burst: `3/s`
Steady: `60/m`\n\n**Scopes:**\n`social:read`\n\n[OpenAPI Spec](https://raw.githubusercontent.com/klaviyo/openapi/main/openapi/beta/apis/query_social_series_beta.json)", "parameters": [ { "name": "fields[social-series-report]", "in": "query", "description": "For more information please visit https://developers.klaviyo.com/en/v2026-10-15.pre/reference/api-overview#sparse-fieldsets", "required": false, "schema": { "type": "array", "items": { "type": "string", "enum": [ "id", "results" ] } }, "explode": false }, { "name": "revision", "in": "header", "description": "API endpoint revision (format: YYYY-MM-DD[.suffix])", "required": true, "schema": { "type": "string", "default": "2026-10-15.pre" } } ], "requestBody": { "description": "Request body for the social-series-report endpoint.", "required": true, "content": { "application/vnd.api+json": { "schema": { "$ref": "#/components/schemas/SocialSeriesReportQueryRequestDataWrapper" } } } }, "responses": { "200": { "description": "Success", "content": { "application/vnd.api+json": { "schema": { "$ref": "#/components/schemas/SocialSeriesReportResponseDataWrapper" } } } }, "4XX": { "$ref": "#/components/responses/ClientError" }, "5XX": { "$ref": "#/components/responses/ServerError" } }, "tags": [ "Beta APIs" ], "x-klaviyo-beta-revision": "2026-10-15.pre", "x-klaviyo-operation-aliases": [ "create_social_series_report" ], "x-klaviyo-pre-release": "BETA", "x-klaviyo-ratelimit": { "burst": "3/s", "steady": "60/m" }, "x-klaviyo-scopes": [ "social:read" ], "x-klaviyo-subtag": "Reporting" } } }, "components": { "responses": { "ClientError": { "description": "Client Error", "content": { "application/vnd.api+json": { "schema": { "type": "object", "properties": { "errors": { "type": "array", "items": { "type": "object", "required": [ "id", "code", "title", "detail" ], "properties": { "id": { "type": "string" }, "code": { "type": "string" }, "title": { "type": "string" }, "detail": { "type": "string" }, "source": { "type": "object", "properties": { "pointer": { "type": "string" }, "parameter": { "type": "string" } } } } } } }, "required": [ "errors" ] } } } }, "ServerError": { "description": "Server Error", "content": { "application/vnd.api+json": { "schema": { "type": "object", "properties": { "errors": { "type": "array", "items": { "type": "object", "required": [ "id", "code", "title", "detail" ], "properties": { "id": { "type": "string" }, "code": { "type": "string" }, "title": { "type": "string" }, "detail": { "type": "string" }, "source": { "type": "object", "properties": { "pointer": { "type": "string" }, "parameter": { "type": "string" } } } } } } }, "required": [ "errors" ] } } } } }, "schemas": { "ObjectLinks": { "type": "object", "properties": { "self": { "type": "string", "format": "uri" } }, "required": [ "self" ] }, "SocialReportTimeframeRequest": { "type": "object", "properties": { "key": { "description": "Named preset window.", "type": "string", "example": "last_90_days", "enum": [ "last_7_days", "last_30_days", "last_90_days", "month_to_date" ], "nullable": true }, "start": { "description": "ISO-8601 lower-bound (inclusive) for the report window.", "type": "string", "format": "date-time", "example": "2026-08-07T00:00:00+00:00", "nullable": true }, "end": { "description": "ISO-8601 upper-bound (exclusive) for the report window.", "type": "string", "format": "date-time", "example": "2026-08-14T00:00:00+00:00", "nullable": true } } }, "SocialSeriesData": { "type": "object", "properties": { "id": { "description": "Bucket start date (ISO-8601), unique within the response.", "type": "string", "example": "2026-08-07T00:00:00+00:00" }, "interval": { "description": "Echo of the requested granularity.", "type": "string", "enum": [ "day", "week" ] }, "statistics": { "description": "Map of statistic key -> value for this bucket.", "type": "object", "example": { "social_subscribers": 1 } } }, "required": [ "id", "interval", "statistics" ] }, "SocialSeriesFilterRequest": { "type": "object", "properties": { "channel": { "description": "Subscriber-growth channel to scope social_subscribers to. Required when requesting social_subscribers; ignored otherwise.", "type": "string", "example": "email", "enum": [ "email", "sms", "whatsapp" ], "nullable": true }, "automation_id": { "description": "Scopes funnel_started/funnel_submitted_identifier/funnel_ended to one auto-reply automation. Required for those statistics.", "type": "string", "example": "01KTKY9QMP6R13ZMEX1HMAMB8Q", "nullable": true } } }, "SocialSeriesReportQueryRequest": { "type": "object", "properties": { "statistics": { "description": "Statistics to compute per time bucket.", "type": "array", "items": { "$ref": "#/components/schemas/SocialSeriesStatistic" }, "example": [ "social_subscribers" ] }, "timeframe": { "description": "Time window for the report.", "example": { "key": "last_90_days" }, "allOf": [ { "$ref": "#/components/schemas/SocialReportTimeframeRequest" } ] }, "interval": { "description": "Bucket granularity: day or week.", "type": "string", "example": "day", "enum": [ "day", "week" ] }, "filter": { "description": "Statistic-appropriate filters.", "allOf": [ { "$ref": "#/components/schemas/SocialSeriesFilterRequest" } ], "nullable": true } }, "required": [ "statistics", "timeframe", "interval" ] }, "SocialSeriesReportQueryRequestData": { "type": "object", "properties": { "type": { "$ref": "#/components/schemas/SocialSeriesReportResourceName" }, "attributes": { "$ref": "#/components/schemas/SocialSeriesReportQueryRequest" } }, "required": [ "type", "attributes" ] }, "SocialSeriesReportQueryRequestDataWrapper": { "type": "object", "properties": { "data": { "$ref": "#/components/schemas/SocialSeriesReportQueryRequestData" } }, "required": [ "data" ] }, "SocialSeriesReportResourceName": { "type": "string", "enum": [ "social-series-report" ] }, "SocialSeriesReportResponse": { "type": "object", "properties": { "results": { "description": "Computed series-report buckets.", "type": "array", "items": { "$ref": "#/components/schemas/SocialSeriesData" } } }, "required": [ "results" ] }, "SocialSeriesReportResponseData": { "type": "object", "properties": { "type": { "$ref": "#/components/schemas/SocialSeriesReportResourceName" }, "id": { "description": "Opaque identifier for the series report response.", "type": "string", "example": "b13f8dea-895a-4a7c-a349-cc8efd25b1ba" }, "attributes": { "$ref": "#/components/schemas/SocialSeriesReportResponse" }, "links": { "$ref": "#/components/schemas/ObjectLinks" } }, "required": [ "type", "id", "attributes", "links" ] }, "SocialSeriesReportResponseDataWrapper": { "type": "object", "properties": { "data": { "$ref": "#/components/schemas/SocialSeriesReportResponseData" }, "links": { "$ref": "#/components/schemas/ObjectLinks" } }, "required": [ "data" ] }, "SocialSeriesStatistic": { "description": "Metrics computable per time bucket.", "type": "string", "enum": [ "social_subscribers", "funnel_started", "funnel_submitted_identifier", "funnel_ended" ] } }, "securitySchemes": { "Klaviyo-API-Key": { "type": "apiKey", "in": "header", "name": "Authorization", "description": "Private key authentication for /api/ endpoints is performed by setting the `Authorization` header to `Klaviyo-API-Key your-private-api-key`
For more information please visit https://developers.klaviyo.com/en/v2026-10-15.pre/reference/api-overview#authentication", "x-default": "Klaviyo-API-Key your-private-api-key" } } }, "tags": [ { "name": "Beta APIs", "description": "beta apis" } ] }