Is there a approach to get instant onlineMeeting in Microsoft Graph API?

Shutova Kate 0 Reputation points
2023-05-08T19:52:53.41+00:00

I need to get teams online meetings or teams calls including instant meetings or calls. Are there some approaches to do this? I found next methods https://learn.microsoft.com/en-us/graph/api/onlinemeeting-get?view=graph-rest-1.0&tabs=http, https://learn.microsoft.com/en-us/graph/api/call-get?view=graph-rest-1.0&tabs=http for getting meetings or calls by id, join url (for meetings) etc. But how can I get these ids/urls etc including instant (not only scheduled) meetings?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,063 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Patchfox 3,791 Reputation points
    2023-05-09T12:24:49.4233333+00:00

    Hi Shutova Kate,

    If I understand you correctly you want a list of online meetings with the urls? Or only for single meetings?
    For single meetings you should already get this with the response from your posted endpoint.

    https://learn.microsoft.com/en-us/graph/api/onlinemeeting-get?view=graph-rest-1.0&tabs=http#response-1

    HTTP/1.1 200 OK
    Content-Type: application/json
    Content-Length: 1574
    
    {
      "@odata.type": "#microsoft.graph.onlineMeeting",
      "autoAdmittedUsers": "everyone",
      "audioConferencing": {
        "tollNumber": "5552478",
        "tollFreeNumber": "5550588",
        "ConferenceId": "9999999",
        "dialinUrl": "https://dialin.teams.microsoft.com/6787A136-B9B8-4D39-846C-C0F1FF937F10?id=xxxxxxx"
      },
      "chatInfo": {
        "@odata.type": "#microsoft.graph.chatInfo",
        "threadId": "19:cbee7c1c860e465cebf7bee0d@thread.skype",
        "messageId": "153367081"
      },
      "creationDateTime": "2018-05-30T00:12:19.0726086Z",
      "endDateTime": "2018-05-30T01:00:00Z",
      "id": "112f7296-5fa4-42ca-bae8-6a692b15d4b8_19:cbee7c1c860e465f8258e3cebf7bee0d@thread.skype",
      "joinWebUrl": "https://teams.microsoft.com/l/meetup-join/19%3a:meeting_NTg0NmQ3NTctZDVkZC00YzRhLThmNmEtOGQDdmZDZk@thread.v2/0?context=%7b%22Tid%22%3a%aa67bd4c-8475-432d-bd41-39f255720e0a%22%2c%22Oid%22%3a%22112f7296-5fa4-42ca-bb15d4b8%22%7d",
      "participants": {
      "@odata.type": "#microsoft.graph.meetingParticipants",
        "attendees": [
          {
            "@odata.type": "#microsoft.graph.identitySet",
            "identity": {
              "user": {
                "@odata.type": "#microsoft.graph.identity",
                "id": "112f7296-5ca-bae8-6a692b15d4b8",
                "displayName": "Tyler Stein"
              }
            },
            "upn": "upn-value"
          }
        ],
        "organizer": {
          "@odata.type": "#microsoft.graph.identitySet",
          "identity": {
            "user": {
              "@odata.type": "#microsoft.graph.identity",
              "id": "5810cedeb-b2c1-e9bd5d53ec96",
              "displayName": "Jasmine Miller"
            }
          },
          "upn": "upn-value"
        }
      },
      "startDateTime": "2018-05-30T00:30:00Z",
      "subject": "Test Meeting.",
      "videoTeleconferenceId": "123456789",
      "lobbyBypassSettings": {
        "scope": "everyone",
        "isDialInBypassEnabled": true
      },
      "joinMeetingIdSettings": {
        "isPasscodeRequired": false,
        "joinMeetingId": "1234567890",
        "passcode": null
      },
      "isEntryExitAnnounced": true,
      "allowedPresenters": "everyone"
    }
    
    

    For Instant Meetings it is hard to get this information, because you need the the Id from the creation of the meeting.

    I hope I could still help you hit this question.


    If the reply was helpful, please don’t forget to upvote or accept it as an answer, thank you.