# How to notify webinar panelists and alternate hosts when the webinar date/time is update by host

**URL:** <https://devforum.zoom.us/t/how-to-notify-webinar-panelists-and-alternate-hosts-when-the-webinar-date-time-is-update-by-host/88224>\
**Category:** Webinars\
**Created:** [May 11, 2023, 7:36am UTC](https://devforum.zoom.us/t/how-to-notify-webinar-panelists-and-alternate-hosts-when-the-webinar-date-time-is-update-by-host/88224 "2023-05-11T07:36:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![malayakanta.nayak](https://avatars.discourse-cdn.com/v4/letter/m/839c29/32.png) [@malayakanta.nayak](https://devforum.zoom.us/u/malayakanta.nayak)\
**Post date:** [May 11, 2023, 7:36am UTC](https://devforum.zoom.us/t/how-to-notify-webinar-panelists-and-alternate-hosts-when-the-webinar-date-time-is-update-by-host/88224/1 "2023-05-11T07:36:54Z")

</div>

Hi,

I am trying to notify the registrants and the panelists when an webinar date is updated. I am setting the the notify\_registrants option TRUE while scheduling a webinar. It works for registrants but not for the panelists and alternate hosts in the webinar.

Is there a way we can achieve it via the API? Or any other suggestions?

Thanks

---

<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:** [May 16, 2023, 4:59pm UTC](https://devforum.zoom.us/t/how-to-notify-webinar-panelists-and-alternate-hosts-when-the-webinar-date-time-is-update-by-host/88224/3 "2023-05-16T16:59:21Z")

</div>

Hi @malayakanta.nayak  
Thanks for reaching out to the Zoom Developer Forum and welcome to our community!  
Could you please share with me how are you creating the webinar? are you scheduling this Via API? if so, could you please share with me the request body that you are sending so I can try and replicate this issue on my end?

Thanks,  
Elisa

---

<div class="post-metadata">

**Author:** ![malayakanta.nayak](https://avatars.discourse-cdn.com/v4/letter/m/839c29/32.png) [@malayakanta.nayak](https://devforum.zoom.us/u/malayakanta.nayak)\
**Post date:** [May 17, 2023, 7:14am UTC](https://devforum.zoom.us/t/how-to-notify-webinar-panelists-and-alternate-hosts-when-the-webinar-date-time-is-update-by-host/88224/4 "2023-05-17T07:14:12Z")

</div>

Hi @elisa.zoom ,

I am using Zoom API. Below is my code:

```auto
$body = [
  // Webinar topic.
  "topic" => $fields['topic'],
  // Webinar description.
  "agenda" => $fields['description'],
  // 5 = Webinar; 6 = Recurring webinar with no fixed time;
  // 9 = Recurring webinar with a fixed time.
  "type" => 5,
  // Webinar start time.
  "start_time" => $fields['start_time'],
  // Webinar duration (minutes). Used for scheduled webinars only.
  "duration" => $fields['duration'],
  // Webinar passcode.
  "password" => rand(111111, 999999),
  // Time zone to format start_time.
  // For example, "America/Los_Angeles".
  "timezone" => $fields['timezone'],
  "settings" => [
    "host_video" => TRUE,
    "panelists_video" => TRUE,
    // Registration required + automatically approve.
    "approval_type" => 0,
    "attendees_and_panelists_reminder_email_notification" => [
      "enable" => TRUE,
      // Send email reminder 1 hour before webinar.
      "type" => 1,
    ],
    "follow_up_absentees_email_notification" => [
      "enable" => TRUE,
      // Send email 1 day after scheduled end date.
      "type" => 1,
    ],
    "follow_up_attendees_email_notification" => [
      "enable" => TRUE,
      // Send email 1 day after scheduled end date.
      "type" => 1,
    ],
    "audio" => "both",
    "meeting_authentication" => TRUE,
    "allow_multiple_devices" => TRUE,
    "panelists_invitation_email_notification" => TRUE,
    "question_and_answer" => [
      "enable" => TRUE,
      "allow_anonymous_questions" => TRUE,
      "answer_questions" => "all",
    ],
    // Send email notifications to registrants about approval,
    // cancellation, denial of the registration.
    "registrants_email_notification" => TRUE,
    // Attendees need to register for each session in order to attend.
    "registration_type" => 2,
    "enable_session_branding" => TRUE,
    "practice_session" => TRUE,
    "alternative_host_update_polls" => TRUE,
    "notify_registrants" => TRUE,
  ],
  // An array of key => value.
  "tracking_fields" => $fields['tracking_fields'],
];
try {
  $response = $this->apiClient->request('post', 'users/me/webinars', [], $body);
  return !is_null($response) ? Json::decode($response->getBody()->getContents()) : NULL;
} catch (\Exception $e) {
  $this->logger->error('Error while creating the webinar "%error"', ['%error' => $e->getMessage()]);
  return NULL;
}

```

---

<div class="post-metadata">

**Author:** ![malayakanta.nayak](https://avatars.discourse-cdn.com/v4/letter/m/839c29/32.png) [@malayakanta.nayak](https://devforum.zoom.us/u/malayakanta.nayak)\
**Post date:** [May 17, 2023, 7:30am UTC](https://devforum.zoom.us/t/how-to-notify-webinar-panelists-and-alternate-hosts-when-the-webinar-date-time-is-update-by-host/88224/5 "2023-05-17T07:30:47Z")

</div>

@elisa.zoom,

Also I the panelists and alternate hosts dont get any emails, when they are removed from a webinar.

To remove panelist I am using [https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/webinarPanelistDelete](https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/webinarPanelistDelete)

To remove alternate host, I am using [https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/webinarUpdate](https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/webinarUpdate) endpoint with `alternative_hosts` parameter.
