twitter engagement
Bookmark a tweet
Bookmark a tweet by ID. Requires the bookmark.write OAuth scope. Rate limit: 50 requests per 15-min window.
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
accountIdstring
The social account ID
tweetIdstring
The ID of the tweet to bookmark
Response Body
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.twitterengagement.bookmarkPost({ body: { accountId: 'account_abc123', tweetId: 'tweet_abc123', },});console.log(data);{
"status": "success",
"tweetId": "string",
"bookmarked": true,
"platform": "twitter"
}Empty
{
"error": "Unauthorized"
}Empty