MediaWiki:Apihelp-commentsubmit-summary

The commentsubmit API allows to submit/post a comment after filling in the following parameters: pageID, parentID, commentText.