twitter engagement
Retweet a post
Retweet (repost) a tweet by ID. Rate limit: 50 requests per 15-min window. Shares the 300/3hr creation limit with tweet creation.
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 retweet
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.retweetPost({ body: { accountId: 'account_abc123', tweetId: 'tweet_abc123', },});console.log(data);{
"status": "success",
"tweetId": "string",
"retweeted": true,
"platform": "twitter"
}Empty
{
"error": "Unauthorized"
}Empty