Forum Discussion
Shubham5
May 09, 2024Copper Contributor
Access team meeting chat before the meeting starts when created using API
Hi, I am creating an event using Event API - https://learn.microsoft.com/en-us/graph/api/user-post-events?view=graph-rest-1.0&tabs=http and creating a teams meeting using online meeting API - https:/...
Nivedipa-MSFT
Microsoft
Jun 05, 2024Shubham5 - Thanks for reporting your issue. Could you please let us know which API are you using? Is it event API or online meeting API?
In order to create meeting in calendar you have to create event as an online meeting using below API
example:
POST https://graph.microsoft.com/v1.0/me/events
Prefer: outlook.timezone="Pacific Standard Time"
Content-type: application/json
{
"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":"samanthab@contoso.com",
"name": "Samantha Booth"
},
"type": "required"
}
],
"allowNewTimeProposals": true,
"isOnlineMeeting": true,
"onlineMeetingProvider": "teamsForBusiness"
}
Nivedipa-MSFT
Microsoft
Jun 11, 2024Shubham5 - Could you please confirm is your issue resolved or are you still facing this issue?