Use API to get the Live Event Attendee list

Anonymous
2021-01-13T11:14:42.187+00:00

We would like to know if there is any way to get the attendee list of Live Event through API

We found Online meeting in Microsoft Graph API -

However, we could only get the meeting host from this API and no other attendees.

We also found the other two API which can potentially get the participants, however, we don't know how to get the Call ID.

Anyone could help?

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,319 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Manish-MSFT 256 Reputation points
    2021-01-15T07:09:09.723+00:00

    Hi, @Anonymous :

    To get attendee list of event, please make sure that attendees are added to live event while creating it.

    Here is the API that returns attendees of live event. You can see attendee list in response here

    Event is different from Call, If you want to use call API you first need to get call ID.

    You can this API to get Call id, then use the id in subsequent api's you mentioned.

    Thanks,

    Manish Chitre


    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.

    1 person found this answer helpful.
    0 comments No comments

  2. Manish-MSFT 256 Reputation points
    2021-01-15T11:12:10.707+00:00

    @Anonymous :

    1. https://graph.microsoft.com/v1.0/me/events : [Post] sent request to this API to create an Event. Request: {"subject":"Let's go for lunch","body":{"contentType":"HTML","content":"Does noon work for you?"},"start":{"dateTime":"2017-04-15T12:00:00","timeZone":"Pacific Standard Time"},"end":{"dateTime":"2017-04-15T14:00:00","timeZone":"Pacific Standard Time"},"location":{"displayName":"Harry's Bar"},"attendees":[{"emailAddress":{"address":"first email address","name":"firstName"},"type":"required"},{"emailAddress":{"address":"{secound email address}","name":"{secound name}"},"type":"required"}],"allowNewTimeProposals":true,"transactionId":"7E163156-7762-4BEB-A1C6-729EA81755B8"}

    Once, event is created I then used ListEvents API [Get] request to list my event which also returned attendees to the event.

    57020-image.png

    57078-image.png

    Please follow above steps you will get attendees joining that event.

    Thanks,

    Manish Chitre


    If the response is helpful, please click "Mark as Best Response" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.