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

Parameters: reply_to_activity
NameTypeDescription
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
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."}'
Python
result = client.call("anilist", "reply_to_activity", {"activity_id":912345678,"text":"Thanks! Episode 9 was my favourite too."})
Node.js
const result = await cotlet.call('anilist', 'reply_to_activity', {"activity_id":912345678,"text":"Thanks! Episode 9 was my favourite too."});
CLI
cotlet call anilist reply_to_activity --data '{"activity_id":912345678,"text":"Thanks! Episode 9 was my favourite too."}'

Example response

JSON

{
  "reply_id": 77120045,
  "activity_id": 912345678,
  "posted": 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.