support for api_token and arbitrary response variables