Before sending a fax you need to upload your files using this API. In order to upload your fax file, you have to send a multipart/form-data request with your file. Set the name to fax_file, filename to your file’s name with extension, and the Content-Type to the file’s MIME type. In most cases, the filename directive will be automatically added by your library of choice. If the upload was successful you would receive a file_path which you can use to send your fax. (Permitted scopes: fax:all:edit, fax:file:edit)
OAuth2 Authorization Grant
User ID. Use 'self' for your own account, or provide a specific user ID for corporate member accounts.
Can be 'pdf' or 'tiff' File type
tiff, pdf A file to be uploaded. The file can be in PDF, TIFF, Word, Excel, RTF or image format.
File to be uploaded
Path to file to upload
Simple object containing path of created file
File path object
Path of newly uploaded file