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
| Name | Type | Description |
|---|---|---|
| username string required | string | AniList username. |
Request
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"}' result = client.call("anilist", "follow_user", {"username":"username"}) const result = await cotlet.call('anilist', 'follow_user', {"username":"username"}); cotlet call anilist follow_user --data '{"username":"username"}' Example response
{
"username": "newfan7",
"following": true
}