Zernio
Zernio
API Reference

Twitter Engagement

Search recent tweetsGETLook up a tweetGETBookmark a tweetPOSTFollow a userPOSTRemove bookmarkDELETERetweet a postPOSTUndo retweetDELETEUnfollow a userDELETE
Dashboard
llms.txtOpenAPI
OverviewPlatformsAPI ReferenceResources
Twitter Engagement

Follow a user

Follow a user on X. Requires the follows.write OAuth scope. For protected accounts, a follow request is sent instead (pending_follow will be true).


POST
/v1/twitter/follow

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

{  "status": "string",  "targetUserId": "string",  "following": true,  "pending_follow": true,  "platform": "string"}
Was this page helpful?

Bookmark a tweet

Bookmark a tweet by ID. Requires the bookmark.write OAuth scope. Rate limit: 50 requests per 15-min window.

Remove bookmark

Remove a bookmark from a tweet.

accountId*string

The account ID

targetUserId*string

The X ID of the user to follow