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