Get total minutes and session count

Hi! I would like to get the minutes and session count from the Daily API.

Is there a supported way to do so?

Tagged:

Answers

  • Tamara
    Tamara Dailynista
    edited January 13

    Hi Reece, hope you're doing well!

    You can query Daily's participant minutes by first requesting a list of all meetings with the /meetings endpoint: https://docs.daily.co/reference/rest-api/meetings (and specify a time period using in your request.)

    The response object contains a participants object, each with a duration field to use to calculate minutes.

    It should be sufficient to sum meetings that have an end timestamp within the relevant time period (e.g. each calendar month) to have a reasonably accurate number for total sessions and used minutes.