Sinch Node.js SDK - v1.5.0
    Preparing search index...

    Class FaxesApi

    Index

    Methods

    • Delete fax content Delete the fax content for a fax using the ID number of the fax. Please note that this only deletes the content of the fax from storage.

      Parameters

      Returns Promise<void>

    • Send a fax or multiple faxes Create and send one or multiple faxes. Fax content may be supplied via one or more files or URLs of supported filetypes. This endpoint supports the following content types for the fax payload:

      • Multipart/form-data
      • Application/json We will however always return a fax array in the response in application json. If you supply a callbackUrl the callback will be sent as multipart/form-data with the content of the fax as an attachment to the body, unless you specify callbackUrlContentType as application/json.

      Files may be included in the POST request as multipart/form-data parts.

      Any URL on the Internet (including ones with basic authentication), and we'll pull it down and make it a fax. This might be useful to you if you're using a web framework for templates and creating fax files. Please note: If you are passing fax a secure URL (starting with 'https://'), make sure that your SSL certificate (including your intermediate cert, if you have one) is installed properly, valid, and up-to-date.

      Parameters

      Returns Promise<Fax.Fax[]>