TwitterAPIs Docs
API ReferenceWrite Actions

Follow User

Follow a user as the authenticated account. Requires a logged-in session for the acting account. Billed at $0.0015 per call. Cost: $0.0015 per call.

POST
/user/follow

Authorization

bearerAuth
AuthorizationBearer <token>

Pass your API key as a bearer token on every request: Authorization: Bearer <API_KEY>.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/user/follow" \  -H "Content-Type: application/json" \  -d '{    "user_id": "44196397"  }'
{  "status": "success"}