MediaWiki:Apihelp-query+userinfo-paramvalue-prop-hasmsg/en

Adds a tag messages if the current user has pending messages.