adding api_key hash