Access to call detail for external app

We have a requirement by our customer service department to get access to call detail for their individual users in order to generate tickets in their ticketing system. Their programmer wanted select access to the asteriskcdr table but I was wondering if there was an API that would allow them access to that data instead.