add get subscription API