Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825

Warning: foreach() argument must be of type array|object, string given in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 830

Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Zoom_Helpers::api_request( $body,  $action_data = null )

Method api_request


Warning: foreach() argument must be of type array|object, string given in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 830

Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825

Parameters Parameters

$params

(Required)


Top ↑

Return Return

(void)


Source Source

File: src/integrations/zoom/helpers/zoom-helpers.php

	public function api_request( $body, $action_data = null ) {
		$client = $this->get_client();
		$body['access_token'] = $client['access_token'];
		$params = array(
			'endpoint' => self::API_ENDPOINT,
			'body' => $body,
			'action' => $action_data
		);
		$response = Api_Server::api_call( $params );
		$this->check_for_errors( $response );
		return $response;
	}