OverviewProductsPlatformsAPI ReferenceResources
Comments

Unpin comment

DELETEhttps://zernio.com/api/v1/inbox/comments/{postId}/{commentId}/pin

Unpin a previously pinned comment. TikTok accounts connected through the TikTok for Business app only.

Authentication

AuthorizationBearer tokenRequired

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

Path parameters

postIdstringRequired
commentIdstringRequired

Query parameters

accountIdstringRequired

Responses

Success· the request worked

Errors· the request failed

DELETE/v1/inbox/comments/{postId}/{commentId}/pin
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.comments.unpinInboxComment({  path: {    postId: 'post_abc123',    commentId: 'comment_abc123',  },  query: {    accountId: 'account_abc123',  },});console.log(data);
{  "status": "string",  "commentId": "string",  "pinned": true,  "platform": "string"}
OpenAPI specification
Was this page helpful?