Forum Discussion
How to obtain the ID of an online meeting and edit the title using Graph API?
- Oct 25, 2023
Hi LeeJinWoo,
you can try using these steps:To obtain the ID of an online meeting:
- Using the joinWebUrl: Call the following Graph API endpoint:
GET /communications/onlineMeetings/?$filter=VideoTeleconferenceId%20eq%20'{videoTeleconferenceId}'
where {videoTeleconferenceId} is the videoTeleconferenceId property of the MeetingInfo object.
- Using the meeting organizer's user ID: Call the following Graph API endpoint:
GET /users/{userId}/onlineMeetings
where {userId} is the user ID of the meeting organizer.
To edit the title of an online meeting:
- Call the following Graph API endpoint:
PATCH /me/onlineMeetings/{meetingId}
where {meetingId} is the ID of the online meeting.
- In the request body, include the subject property with the new title of the online meeting.
Example:
PATCH /me/onlineMeetings/19:email address removed for privacy reasons/ { "subject": "New meeting title" }
You need the OnlineMeetings.ReadWrite permission to call the above Graph API endpoints.
Get onlineMeeting - Microsoft Graph v1.0 | Microsoft LearnPlease click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.If the post was useful in other ways, please consider giving it Like.
Kindest regards,
Leon Pavesic
(LinkedIn)
Hi LeeJinWoo,
you can try using these steps:
To obtain the ID of an online meeting:
- Using the joinWebUrl: Call the following Graph API endpoint:
GET /communications/onlineMeetings/?$filter=VideoTeleconferenceId%20eq%20'{videoTeleconferenceId}'
where {videoTeleconferenceId} is the videoTeleconferenceId property of the MeetingInfo object.
- Using the meeting organizer's user ID: Call the following Graph API endpoint:
GET /users/{userId}/onlineMeetings
where {userId} is the user ID of the meeting organizer.
To edit the title of an online meeting:
- Call the following Graph API endpoint:
PATCH /me/onlineMeetings/{meetingId}
where {meetingId} is the ID of the online meeting.
- In the request body, include the subject property with the new title of the online meeting.
Example:
PATCH /me/onlineMeetings/19:email address removed for privacy reasons/
{
"subject": "New meeting title"
}
You need the OnlineMeetings.ReadWrite permission to call the above Graph API endpoints.
Get onlineMeeting - Microsoft Graph v1.0 | Microsoft Learn
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.
If the post was useful in other ways, please consider giving it Like.
Kindest regards,
Leon Pavesic
(LinkedIn)
LeeJinWoo - We tried to get the meeting using https://learn.microsoft.com/en-us/graph/api/onlinemeeting-get?view=graph-rest-1.0&tabs=http#example-3-retrieve-an-online-meeting-by-joinweburl.
We used the id from above response to update the meeting subject and meeting subject is updated successfully. Could you please confirm if the answer provided LeonPavesic solved your issue.