Logo
Twitter API Documentation

Follow a user ID

POST https://api.twitter.com/2/users/:id/following

Allows a user ID to follow another user.

For full details, see the API reference for this endpoint.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status





Curl
curl -X POST 'https://api.twitter.com/2/users/:id/following' -d '{"target_user_id":"2244994945"}'

ENDPOINTS