Files
Upload a file
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)
POST
/
accounts
/
{user_id}
/
files
Authorizations
Authorization
string
headerrequiredOAuth2 Authorization Grant
Path Parameters
user_id
string
default: selfrequiredself or user id of a corporate member
Query Parameters
format
enum<string>
Can be 'pdf' or 'tiff'
Available options:
tiff
, pdf
Body
multipart/form-data
File to be uploaded
fax_file
file
requiredPath to file to upload
Response
201 - application/json
File path object
path
string
requiredPath of newly uploaded file