The <ReceiveFax> element receives a fax and saves it into your local storage.

You must inform the file path where the fax should be saved.

If the folder/subfolders where the file should be saved don't exist, they will be created automatically.

Element Attributes

Attribute Name Description Allowed Values Default Value
action URL to be called with fax operation result. It can be a list of URLs separated by comamns (to permit fallback in case the main URL fails to reply)

After fax operation finishes, Plivo will call the 'action' URL with the following parameters:

Parameter Description
FaxResultCode See:
FaxResultText See:
FaxOperation 'transmission' or 'reception' (but in this case, 'reception')
FaxFilePath path of TIFF file


Example 1

The below XML receives a fax and saves it as received_faxes/some_fax.tiff. If folder received_faxes doesn't exist, it will be created automatically.