MediaWiki:Apihelp-query+info-param-token/en

Use action=query&meta=tokens instead.