Currently, Files API supports one at a time file upload. In order to upload multiple files you need to add them to a queue and send with separate payloads.
For more information about sharing files, check our official documentation.
In case of any questions, contact us at support@pubnub.com.