Search This Blog

Breaking

Sunday, 5 September 2021

[Zoom] How to create zoom calendar meetings via API

 If you are using zoom APIs and at some time, you need to create meetings via API's, then the below endpoints can help:

1. First create a token. Here, I am using OAuth2.0. To create Oauth2.0, we can use client id and secret id.


1. Grant Type: Authorization Code
2. Callback URL: https://oauth.pstmn.io/v1/callback
3. Authorize using a browser
4. Auth URL: https://zoom.us/oauth/authorize
5. Access Token URL: https://zoom.us/oauth/token
6. Client ID
7. Client Secret

2. Once the auth is created, it can be used in meetings API.

For Example:

To list all meetings, the following curl can be seen:

Get: https://api.zoom.us/v2/users/me/meetings

3. To create a new meeting, we can use the below API:


Body:

{
"topic": "Meting created via - API- ${{$randomInt}}",
"type": 2,
"start_time": "2021-09-10T12:10:10Z",
"duration": "3",
"settings": {
"host_video": true,
"participant_video": true,
"join_before_host": true,
"mute_upon_entry": "true",
"watermark": "true",
"audio": "voip",
"auto_recording": "cloud"
}
}

4. To update a meeting, the below API can used:

https://api.zoom.us/v2/meetings/78257544816

{
"topic": "Meting uppdated after creation via -API -> ${{$randomInt}}",
"type": 2,
"start_time": "2021-09-10T12:10:10Z",
"duration": "3",
"settings": {
"host_video": true,
"participant_video": true,
"join_before_host": true,
"mute_upon_entry": "true",
"watermark": "true",
"audio": "voip",
"auto_recording": "cloud"
}

}

5. To Delete a meeting, it can be deleted with the below api.

https://api.zoom.us/v2/meetings/73068576098








No comments:

Post a Comment