new command for the get_token api call.