Discussions

Ask a Question
Back to All

How to get id of a User Group?

I would like to get a stats endpoint to get calls only from/to a particular user group

https://dialpad.com/api/v2/stats

{
"days_ago_end": 7,
"days_ago_start": 0,
"export_type": "records",
"stat_type": "calls",
"timezone": "UTC",

"target_type": "staffgroup",
"target_id": "{How to get this value}"
}

Thanks