# Zoom Meeting API create or update meeting endpoints not respecting alternative hosts email notification flag

**URL:** <https://devforum.zoom.us/t/zoom-meeting-api-create-or-update-meeting-endpoints-not-respecting-alternative-hosts-email-notification-flag/98516>\
**Category:** Meetings\
**Tags:** api\
**Created:** [November 16, 2023, 9:31pm UTC](https://devforum.zoom.us/t/zoom-meeting-api-create-or-update-meeting-endpoints-not-respecting-alternative-hosts-email-notification-flag/98516 "2023-11-16T21:31:52Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![ynoor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ynoor/32/53974_2.png) [@ynoor](https://devforum.zoom.us/u/ynoor)\
**Post date:** [November 16, 2023, 9:31pm UTC](https://devforum.zoom.us/t/zoom-meeting-api-create-or-update-meeting-endpoints-not-respecting-alternative-hosts-email-notification-flag/98516/1 "2023-11-16T21:31:52Z")

</div>

Hi,  
We are using Zoom Meeting API to create/update Zoom meetings. But, we want to restrict alternative hosts from getting emails from Zoom. Hence, we are sending Zoom Meeting API with these settings in the following endpoints:

1. POST /users/{userId}/meetings  
Link: [Zoom Meeting API](https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/meetingCreate)

```json
{
  ....
  "settings": {
    ....
    "alternative_hosts": "example1@host.com;example2@host.com",
    "alternative_hosts_email_notification": false,
    "email_notification": false,
    ....
  },
  ....
}

```

1. PATCH /meetings/{meetingId}  
Link: [Zoom Meeting API](https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/meetingUpdate)

```json
{
  "settings": {
    "alternative_hosts": "example2@host.com;example3@host.com"
  }
}

```

OR

```json
{
  "settings": {
    "alternative_hosts": "example2@host.com;example3@host.com",
    "alternative_hosts_email_notification": false,
    "email_notification": false,
  }
}

```

Unfortunately, all of our alternative hosts are getting emails no matter what we set for the `alternative_hosts_email_notification` and `email_notification` flags in the create / update meeting endpoint. In fact, if we drop and add the same alternative host back using the update meeting endpoint, all alternative hosts get meeting invitation emails again (the first invitation is sent during meeting creation). So I am not sure what’s going on.

Please help.

Note: I have searched your changelog and found that this issue was fixed in the Zoom-One-January-24-2022 bug fixes. But it doesn’t seem to be working anymore. See the Bug Fixes section for: “Fix an issue where updating a meeting via API would always send an email notification to the alternative host, regardless of the alternative\_hosts\_email\_notification parameter’s value in the POST /users/{userId}/meetings API.”

Thanks  
Yamin

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [November 17, 2023, 5:34pm UTC](https://devforum.zoom.us/t/zoom-meeting-api-create-or-update-meeting-endpoints-not-respecting-alternative-hosts-email-notification-flag/98516/2 "2023-11-17T17:34:49Z")

</div>

Hi @ynoor  
Thanks for reaching out to us! I see that you are having issues when creating/updating meetings and you do not want the alternative hosts to get an email upon meeting creation.

I was not able to replicate this on my end. I am able to schedule a meeting and the alternative hosts are not getting email notifications  
Could you please share with me the entire request body you are sending upon meeting creation so I can replicate this on my end

---

<div class="post-metadata">

**Author:** ![ynoor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ynoor/32/53974_2.png) [@ynoor](https://devforum.zoom.us/u/ynoor)\
**Post date:** [November 17, 2023, 6:14pm UTC](https://devforum.zoom.us/t/zoom-meeting-api-create-or-update-meeting-endpoints-not-respecting-alternative-hosts-email-notification-flag/98516/3 "2023-11-17T18:14:52Z")

</div>

> [@elisa.zoom](#):
>
> Could you please share with me the entire request body you are sending upon meeting creation so I can replicate this on my end

Here’s the data for meeting creation:

```json
{
  "default_password": true,
  "password": "secret password",
  "topic": "some topic",
  "agenda": "some agenda",
  "settings": {
    "waiting_room": true,
    "meeting_authentication": true,
    "host_video": false,
    "participant_video": false,
    "join_before_host": false,
    "mute_upon_entry": true,
    "auto_recording": false,
    "breakout_room": {
      "enable": false
    },
    "approved_or_denied_countries_or_regions": {
      "approved_list": [
        "US"
      ],
      "enable": true,
      "method": "approve"
    },
    "alternative_hosts": "person1@example.com;person2@example.com",
    "alternative_hosts_email_notification": false,
    "email_notification": false,
    "alternative_host_update_polls": true,
    "watermark": false
  },
  "type": 8,
  "start_time": "2023-11-16T08:00:00Z",
  "recurrence": {
    "repeat_interval": 1,
    "type": 1,
    "end_times": 2
  },
  "duration": 15
}

```

And here’s the meeting update data we are sending:

```json
{
  "settings": {
    "alternative_hosts": "example2@host.com;example3@host.com"
  }
}

```

---

<div class="post-metadata">

**Author:** ![ynoor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ynoor/32/53974_2.png) [@ynoor](https://devforum.zoom.us/u/ynoor)\
**Post date:** [November 17, 2023, 6:17pm UTC](https://devforum.zoom.us/t/zoom-meeting-api-create-or-update-meeting-endpoints-not-respecting-alternative-hosts-email-notification-flag/98516/4 "2023-11-17T18:17:34Z")

</div>

Here’s our meeting creation data:

```json
{
  "default_password": true,
  "password": "secret password",
  "topic": "some topic",
  "agenda": "some agenda",
  "settings": {
    "waiting_room": true,
    "meeting_authentication": true,
    "host_video": false,
    "participant_video": false,
    "join_before_host": false,
    "mute_upon_entry": true,
    "auto_recording": false,
    "breakout_room": {
      "enable": false
    },
    "approved_or_denied_countries_or_regions": {
      "approved_list": [
        "US"
      ],
      "enable": true,
      "method": "approve"
    },
    "alternative_hosts": "person1@example.com;person2@example.com",
    "alternative_hosts_email_notification": false,
    "email_notification": false,
    "alternative_host_update_polls": true,
    "watermark": false
  },
  "type": 8,
  "start_time": "2023-11-16T08:00:00Z",
  "recurrence": {
    "repeat_interval": 1,
    "type": 1,
    "end_times": 2
  },
  "duration": 15
}

```

And meeting update data we are sending:

```json
{
  "settings": {
    "alternative_hosts": "example2@host.com;example3@host.com"
  }
}

```

---

<div class="post-metadata">

**Author:** ![ynoor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ynoor/32/53974_2.png) [@ynoor](https://devforum.zoom.us/u/ynoor)\
**Post date:** [November 29, 2023, 5:38pm UTC](https://devforum.zoom.us/t/zoom-meeting-api-create-or-update-meeting-endpoints-not-respecting-alternative-hosts-email-notification-flag/98516/5 "2023-11-29T17:38:40Z")

</div>

@elisa.zoom: Any update on this one?

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [November 29, 2023, 5:50pm UTC](https://devforum.zoom.us/t/zoom-meeting-api-create-or-update-meeting-endpoints-not-respecting-alternative-hosts-email-notification-flag/98516/6 "2023-11-29T17:50:30Z")

</div>

Hi @ynoor  
sorry for the late reply here! I did not get a notification on my end.  
I just did a quick testing on my end and was able to replicate this behavior  
But I also was able to disable the setting in the Web portal so the alternative\_hosts do not receive an email notification:

Personal Tab \> Settings \> In Meeting (Advance) \> Email Notification and disabled the setting

 ![Screenshot 2023-11-29 at 12.50.08 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/3/3390bb1af5f75293972550e8d31bc6c8ae253075.png)

---

<div class="post-metadata">

**Author:** ![ynoor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ynoor/32/53974_2.png) [@ynoor](https://devforum.zoom.us/u/ynoor)\
**Post date:** [November 29, 2023, 6:18pm UTC](https://devforum.zoom.us/t/zoom-meeting-api-create-or-update-meeting-endpoints-not-respecting-alternative-hosts-email-notification-flag/98516/7 "2023-11-29T18:18:29Z")

</div>

@elisa.zoom Well, that’s a personal setting and we are using Zoom Meeting API to create meetings. So, we cannot ask everyone to turn off their alternative host notification setting in their personal Zoom web portal. It defeats the purpose of using Zoom Meeting API.

Besides that, I see this issue was fixed in one of your bug-fix logs. Maybe something happened in the code that it got reverted. I am referring to this:

" \* Fix an issue where updating a meeting via API would always send an email notification to the alternative host, regardless of the `alternative_hosts_email_notification` parameter’s value in the `POST /users/{userId}/meetings` API."

> **[Zoom One - January 24, 2022](https://devsupport.zoom.us/hc/en-us/articles/12425482984205-Zoom-One-January-24-2022)**
>
> The following changes were released on January 24, 2022:
> Added
> Master APIs
> 
> 
> Update an internal number
> 
> 
> /accounts/{accountId}/sip\_trunk/internal\_numbers/{numberId}
> 
> 
> 
> 
> Enhancements
> 
> 
> Added the new...

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [November 29, 2023, 7:21pm UTC](https://devforum.zoom.us/t/zoom-meeting-api-create-or-update-meeting-endpoints-not-respecting-alternative-hosts-email-notification-flag/98516/8 "2023-11-29T19:21:56Z")

</div>

Hi @ynoor  
Thanks for sharing these details again.  
I have created an internal ticket for our Engineering team about this  
(ZSEE-113069 for reference)  
I will update you as soon as I hear back from my team

---

<div class="post-metadata">

**Author:** ![ynoor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ynoor/32/53974_2.png) [@ynoor](https://devforum.zoom.us/u/ynoor)\
**Post date:** [November 29, 2023, 7:39pm UTC](https://devforum.zoom.us/t/zoom-meeting-api-create-or-update-meeting-endpoints-not-respecting-alternative-hosts-email-notification-flag/98516/9 "2023-11-29T19:39:00Z")

</div>

Thanks, Elisa. I hope to hear from you soon.

---

<div class="post-metadata">

**Author:** ![imdadpg](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/imdadpg/32/54165_2.png) [@imdadpg](https://devforum.zoom.us/u/imdadpg)\
**Post date:** [November 30, 2023, 4:39pm UTC](https://devforum.zoom.us/t/zoom-meeting-api-create-or-update-meeting-endpoints-not-respecting-alternative-hosts-email-notification-flag/98516/10 "2023-11-30T16:39:01Z")

</div>

As of my last knowledge update in January 2022, I don’t have the specific details on the Zoom Meeting API’s behavior with regard to alternative hosts’ email notification flags. However, I can provide you with general guidance on how to approach this issue:

1. **API Documentation:** Review the official Zoom Meeting API documentation for the specific version you are using. The documentation should provide details on how the API handles alternative hosts and their email notification settings. Check for any specific parameters related to alternative hosts and notifications.
2. **Update to the Latest API Version:** If you are not using the latest version of the Zoom Meeting API, consider updating to the latest version. Zoom may have introduced new features or fixed issues in more recent releases.
3. **Check for Known Issues:** Look for any known issues or release notes related to alternative hosts and email notifications in the Zoom API. Sometimes, the Zoom development team may acknowledge specific issues and provide workarounds or solutions.
4. **Review API Request Payload:** Ensure that you are providing the correct parameters and values in your API requests when creating or updating meetings. Double-check the payload to confirm that the alternative hosts and their notification settings are properly specified.
5. **Test in a Controlled Environment:** Create a test environment where you can experiment with the Zoom Meeting API without affecting live meetings. Test different scenarios, including alternative hosts and email notifications, to observe the behavior of the API.
6. **Contact Zoom Support:** If you cannot find a solution in the documentation or community forums, consider reaching out to Zoom support. They can provide assistance and guidance on any specific issues you are facing with the API.
7. **Community Forums:** Explore Zoom’s developer community forums to see if other developers have experienced similar issues. Community forums can be valuable resources for sharing experiences and finding solutions.

Keep in mind that the information provided here is based on the status of the Zoom Meeting API up to January 2022, and there may have been updates or changes since then. Always refer to the latest official documentation for the most accurate and up-to-date information.

---

<div class="post-metadata">

**Author:** ![ynoor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ynoor/32/53974_2.png) [@ynoor](https://devforum.zoom.us/u/ynoor)\
**Post date:** [November 30, 2023, 5:34pm UTC](https://devforum.zoom.us/t/zoom-meeting-api-create-or-update-meeting-endpoints-not-respecting-alternative-hosts-email-notification-flag/98516/11 "2023-11-30T17:34:48Z")

</div>

Yes, we are using Zoom’s latest Meeting API (V2) and looking at their documentation here ([Zoom Meeting API](https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/meetingCreate)). We have also sent hundreds of payloads testing on our end in a controlled manner with no success with these flags. We are using server-to-server OAuth and have a webhook setup. Everything else works as intended like meeting creation/updating meetings, getting the list of users, getting the participation records, etc.

According to Zoom’s documentation of the create meeting endpoint (link above)

1. The description of **alternative\_hosts\_email\_notification** setting says:  
`Whether to send email notifications to alternative hosts. This value defaults to true.`

2. The description of **email\_notification** setting says:  
`Whether to send email notifications to alternative hosts and users with scheduling privileges. This value defaults to true.`

We are sending `false` for both these flags. So we expect to see no emails being sent to the alternative hosts.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [December 6, 2023, 4:08pm UTC](https://devforum.zoom.us/t/zoom-meeting-api-create-or-update-meeting-endpoints-not-respecting-alternative-hosts-email-notification-flag/98516/12 "2023-12-06T16:08:50Z")

</div>

Hi @ynoor  
Thank you for your patience here.  
I just wanted to come back to you with an update about this issue.  
It looks like this is a bug on our end and we will be fixing this in our January Release.  
Thank you for your patience and I appreciate your help on identifying this issue!  
cheers,  
elisa

---

<div class="post-metadata">

**Author:** ![ynoor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ynoor/32/53974_2.png) [@ynoor](https://devforum.zoom.us/u/ynoor)\
**Post date:** [December 6, 2023, 4:23pm UTC](https://devforum.zoom.us/t/zoom-meeting-api-create-or-update-meeting-endpoints-not-respecting-alternative-hosts-email-notification-flag/98516/13 "2023-12-06T16:23:03Z")

</div>

Thanks, Elisa. I appreciate the update.
