Ask a Question
Back to All

Call records not being returned in Stats request

Hi team,

I'm trying to make a call to https://developers.dialpad.com/reference/statscreate to get reports on call recordings, but the returned data doesn't seem to include all the call recordings in the company.

I can call the endpoint and get the response, but the only records that get included are those that are to or from a department. None of the calls to or from individual users seem to be included.

I've tried including the user ID in the target_id section, and also just restricting to the whole office, but nothing seems to be working. Am I missing something obvious here? All the recordings are appearing in the Call History UI, so they are definitely being returned.