Open main menu
MediaWiki:Apihelp-query+users-param-token
Use
action=query&meta=tokens
instead.