Sign in

Add comment to answer

documented

Create a new comment on an answer.

POST /answers/{ids}/comments/addAnswersno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.stackexchange.com/2.1/posts/{{$ids}}/comments/add?site=stackoverflow&key={{STACKEXCHANGE_API_KEY}}" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"body": "{{$comment}}"}'