API for the iOS application.