twitter engagement
Follow a user
Follow a user on X/Twitter. Requires the follows.write OAuth scope. For protected accounts, a follow request is sent instead (pending_follow will be true).
AuthorizationBearer <token>
API key authentication - use your Late API key as a Bearer token
In: header
accountIdstring
The social account ID
targetUserIdstring
The Twitter ID of the user to follow
Response Body
application/json
application/json
curl -X POST "https://getlate.dev/api/v1/twitter/follow" \ -H "Content-Type: application/json" \ -d '{ "accountId": "string", "targetUserId": "string" }'{
"status": "success",
"targetUserId": "string",
"following": true,
"pending_follow": true,
"platform": "twitter"
}Empty
{
"error": "Unauthorized"
}Empty