You are here

public function ZoomAPIMeeting::create in Zoom API 7

Create Meeting.

Note: See the api documentation regarding the 'status' variable values in the response. Also notes how to pass the user name in the join URL to bypass the username dialog.

Parameters

string $host_zoom_user_id: The zoom user ID of the meeting host.

string $topic: The meeting topic. Max 300 chars.

int $type: The type of meeting:

  • 1: Instant meeting.
  • 2: Normal scheduled meeting (default).
  • 3: Recurring meeting with no fixed time.
  • 8: Recurring meeting with fixed time.

array $options: An array of optional meeting options.

Return value

array An array of the meeting.

File

includes/zoomapi.meeting.classes.inc, line 39
Meeting classes for Zoom API.

Class

ZoomAPIMeeting
Zoom API Meeting Class.

Code

public function create($host_zoom_user_id, $topic, $type = 2, $options = []) {
  $options['host_id'] = $host_zoom_user_id;
  $options['topic'] = substr($topic, 0, 300);
  $options['type'] = $type;
  return $this
    ->sendRequest('meeting/create', $options);
}