Reply to an activity
Reply to a text or list activity.
POST https://cotlet.dev/api/v1/anilist/activities/{activity_id}/replies
write Confirm
Posts a public reply under the activity, and its author gets a notification. Returns the reply ID. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| activity_id integer required | integer | Activity ID from list_activity or list_notifications. |
| text string required | string | Reply text, 2 to 8000 characters. |
Request
curl -X POST https://cotlet.dev/api/v1/anilist/activities/912345678/replies \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"text":"Thanks! Episode 9 was my favourite too."}' result = client.call("anilist", "reply_to_activity", {"activity_id":912345678,"text":"Thanks! Episode 9 was my favourite too."}) const result = await cotlet.call('anilist', 'reply_to_activity', {"activity_id":912345678,"text":"Thanks! Episode 9 was my favourite too."}); cotlet call anilist reply_to_activity --data '{"activity_id":912345678,"text":"Thanks! Episode 9 was my favourite too."}' Example response
{
"reply_id": 77120045,
"activity_id": 912345678,
"posted": true
}