OverviewProductsPlatformsAPI ReferenceResources
Posting Analytics

Cancel a tracking window

DELETEhttps://zernio.com/api/v1/analytics/tracking/{windowId}

Stops tracking and returns the window with its final status. A window that already completed keeps its completed status and its final read. A cancelled window gets no final read and fires no post.tracking_completed webhook.

PlatformsTikTokLinkedInPinterestReddit

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Path parameters

windowIdstringRequired

Responses

Success· the request worked

Errors· the request failed

DELETE/v1/analytics/tracking/{windowId}
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.analytics.cancelTrackingWindow({  path: {    windowId: 'window_abc123',  },});console.log(data);
{  "window": {    "id": "string",    "postId": "string",    "accountId": "string",    "platform": "string",    "platformPostId": "string",    "startsAt": "2019-08-24T14:15:22Z",    "endsAt": "2019-08-24T14:15:22Z",    "status": "open",    "finalReadAt": "2019-08-24T14:15:22Z",    "completionReason": "final_read",    "requestedBy": "string",    "latest": {      "views": 0,      "likes": 0,      "comments": 0,      "shares": 0,      "saves": 0,      "syncedAt": "2019-08-24T14:15:22Z"    }  }}
OpenAPI specification
Was this page helpful?