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
action
The URL to request when a fax has failed or has been received.
mediaType
The type of media used to store fax media. Valid values are application/pdf or image/tiff.
method
The method attribute specifies whether the request to action is a GET or a POST. Valid values are GET or POST.
pageSize
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:
ErrorCode
The error code provides more information on a failed fax.
ErrorMessage
The message explaining the reason for fax failure.
FaxStatus
The status of the fax.
MediaUrl
The media URL to request to retrieve incoming media.
NumPages
The number of pages received from a successful fax.
RemoteStationId
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.
*Twilio and TwiML are trademarks of Twilio, Inc. SignalWire, Inc. and its products are not affiliated with or endorsed by Twilio, Inc.