Skip to main content
POST
/
x
/
users
/
{id}
/
follow
Follow user
curl --request POST \
  --url https://api.example.com/x/users/{id}/follow \
  --header 'Content-Type: <content-type>' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "account": "<string>"
}
'
10 credits per call · All plans from $0.00012/credit
Action-specific rate limit: The follow endpoint is limited to 20 requests per minute and 400 requests per day per account. This is separate from the general write tier (30 per 60s). Exceeding either limit returns 429 Too Many Requests.
curl -X POST https://xquik.com/api/v1/x/users/44196397/follow \
  -H "x-api-key: xq_YOUR_KEY_HERE" \
  -H "Content-Type: application/json" \
  -d '{
    "account": "myxaccount"
  }' | jq

Headers

x-api-key
string
required
Your API key. Session cookie authentication is also supported. Generate a key from the dashboard.
Content-Type
string
required
Must be application/json.

Path parameters

id
string
required
The X user ID of the account to follow.

Body

account
string
required
X username or account ID of your connected account to act as.

Response

success
boolean
Always true on success.
{
  "success": true
}
Related: Unfollow User to reverse this action, or Get User to look up user details before following.