code: public function download($sessionId, array $downloads)
      {
          $parameters = [
              'query' => [],
              'body' => json_encode(['sessionId' => $sessionId, 'downloads' => $downloads], JSON_UNESCAPED_UNICODE),
              'headers' => [],
          ];
  
          $result = $this->post('v1/events/download', $parameters, true);
  
          return $result;
      }
docs: Track a Media download.
  
  NOTICE!
  Execution of this call will be delayed until destruct!
  
  @param int            $sessionId The session id to log the download on
  @param DownloadItem[] $downloads An array of DownloadItem (media & template) that was downloaded