Receive
The <Receive> verb tells SignalWire to receive an incoming fax, which results in the creation of a new Fax instance resource.
Faxes remain stored indefinitely. To delete a fax, use the appropriate API call from the Compatibility API.
Verb attributes
The URL to request when a fax has failed or has been received.
The type of media used to store fax media. Valid values are application/pdf or image/tiff.
The method attribute specifies whether the request to action is a GET or a POST. Valid values are GET or POST.
The size to interpret incoming pages as. Valid values are letter, legal, or a4.
Action callback
If the verb attribute action is specified, the action callback will include the Standard Fax Request Parameters plus the following optional parameters:
The error code provides more information on a failed fax.
The message explaining the reason for fax failure.
The status of the fax.
The media URL to request to retrieve incoming media.
The number of pages received from a successful fax.
The transmitting subscriber identification (TSID) reported by the fax machine that sent in the fax.
Examples
Receive a fax
SignalWire will receive the incoming fax and provide a URL endpoint.
Store fax image
This example shows that the media from the incoming fax will be stored on SignalWire’s server in TIFF format.