add registrations API endpoint