Write Actions

Unfollow User

Unfollow a user as the authenticated account. Requires a logged-in session for the acting account. Billed at $0.0008 per call, the same as a standard read. Cost: $0.0008 per call.

post/user/unfollow

Request

  • Base URL: https://api.twitterapis.com/twitter
  • URL: https://api.twitterapis.com/twitter/user/unfollow
  • Auth: HTTP bearer

Query parameters

user_idstring

Numeric ID of the user to unfollow. Send this or username; user_id wins when both are present.

Example:44196397
usernamestring

Handle of the user to unfollow, with or without the leading @. Resolved to its numeric ID for you through the same cached lookup as Check Follow Relationship; an unknown handle returns 404 and no unfollow is issued.

Example:elonmusk
proxystring

Optional. Pass your own proxy (http(s)/socks URL) to egress the write through your clean IP for best success; if omitted, we use the session's proxy / our default.

Response

Unfollow a user on behalf of an authenticated account.

okboolean

True when the unfollow is recorded.

Changes

No recorded changes to this operation across all 1 revision of this API.