add registration_id api