API for contacts, for frontend learning