Skip to content

Get a received fax document

GET
/v1/Accounts/{auth_id}/Faxes/recive/media/{call_sid}
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.

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

CA0123456789abcdef0123456789abcdef

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

example

No 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"
}