Hi @Rishma Chawla ,
As far as I know, Teams has API in Microsoft Graph. The following link shows the example of how to retrieve a list of participant objects in the call:
https://learn.microsoft.com/en-us/graph/api/call-list-participants?view=graph-rest-1.0&tabs=http
Considering this issue is related to Programming. We also recommend you post your question in Stack OverFlow. You can tag your question with microsoft-teams so that our team and the Microsoft Teams developer community can spot your question.
https://stackoverflow.com/questions/tagged/microsoft-teams
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.