Get a received fax document
GET
/v1/Accounts/{auth_id}/Faxes/recive/media/{call_sid}
const url = 'https://api.siprtc.io/v1/Accounts/AC000000000000000000/Faxes/recive/media/CA0123456789abcdef0123456789abcdef';const options = {method: 'GET', headers: {Authorization: 'Basic <credentials>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.siprtc.io/v1/Accounts/AC000000000000000000/Faxes/recive/media/CA0123456789abcdef0123456789abcdef \ --header 'Authorization: Basic <credentials>'Returns a pre-signed link to the TIFF image of a fax your account received, identified by the CallSid shown in List received faxes. The link is valid for 15 minutes; request a new one after that.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” auth_id
required
string
Your account’s Auth ID (20 upper-case letters and digits).
Example
AC000000000000000000 call_sid
required
string
CallSid of the received fax.
Example
CA0123456789abcdef0123456789abcdefResponses
Section titled “ Responses ”Download link.
Media type application/json
object
url
Pre-signed link to the received fax TIFF; valid for 15 minutes.
string
Example
{ "url": "https://fax-bucket.s3.us-east-1.amazonaws.com/CA0123456789abcdef0123456789abcdef.tif?X-Amz-Expires=900&X-Amz-Signature=0000"}Missing or wrong credentials, or credentials that may not act for {auth_id}. Body: ‘Authentication failed’.
Media type application/json
string
Example generated
exampleNo received fax with that CallSid on this account (message ‘No media found for MediaID: …’), or the link could not be created.
Media type application/json
object
message
Human-readable reason.
string
status
Always “failed”.
string
Example
{ "message": "fax not found", "status": "failed"}Unexpected server error.
Media type application/json
object
message
Human-readable reason.
string
Example
{ "message": "Request Entity Too Large"}