Follow or unfollow a user

Follow a user, or unfollow if you already do.

POST https://cotlet.dev/api/v1/anilist/user/follow

write Confirm

The other user gets a following notification. Returns whether you now follow them. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: follow_user
NameTypeDescription
username string required string AniList username.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/anilist/user/follow \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"username":"username"}'
Python
result = client.call("anilist", "follow_user", {"username":"username"})
Node.js
const result = await cotlet.call('anilist', 'follow_user', {"username":"username"});
CLI
cotlet call anilist follow_user --data '{"username":"username"}'

Example response

JSON

{
  "username": "newfan7",
  "following": true
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.