Post a text activity
Publish a text post to your AniList activity feed.
POST https://cotlet.dev/api/v1/anilist/activities
write Confirm
Publishes to your profile and shows to your followers. Returns the new activity ID and its link. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| text string required | string | Post text, 5 to 10000 characters. |
Request
curl -X POST https://cotlet.dev/api/v1/anilist/activities \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"text":"text"}' result = client.call("anilist", "post_activity", {"text":"text"}) const result = await cotlet.call('anilist', 'post_activity', {"text":"text"}); cotlet call anilist post_activity --data '{"text":"text"}' Example response
{
"activity_id": 912345999,
"url": "https://anilist.co/activity/912345999",
"posted": true
}