Skip to content

<Sendfax>

Send a fax document on the call.

Sends the fax document at the URL in its text (a TIFF file) on the call; use it on an answered call, e.g. an outbound API call. Note the element name is <Sendfax> and its faxident/faxheader attributes are all lower case.

<Response>
<Sendfax faxident="+14155550123" faxheader="Example Co"
statusCallback="https://example.com/fax-status">https://example.com/docs/invoice.tif</Sendfax>
</Response>
Attribute Values Default Description
faxident string none Station identifier (TSI) sent to the receiver, usually your fax number.
faxheader string — Header line printed at the top of each page.
statusCallback An absolute http:// or https:// URL — URL notified with the fax result.
statusCallbackMethod GET, POST POST HTTP method for statusCallback.

Sent to statusCallback:

Parameter Description
Direction FAX_SENT.
FaxStatus success or failed.
NumPages Pages transferred.
ErrorCode Fax result code.
ErrorMessage Fax result text.
RemoteStationId The receiver’s fax station id.
CallSid The call.
AccountSid The account.