List Fax Media
Changed onReturns the document media associated with one fax. Use it when a fax SID is known and you need the media SID or metadata; Message Media contains MMS attachments and is a separate collection.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Fax.
Learn more about API scopes.
Request
- Base URLhttps://YOUR_SPACE.signalwire.com/api/laml/2010-04-01
- URLhttps://YOUR_SPACE.signalwire.com/api/laml/2010-04-01/Accounts/{AccountSid}/Faxes/{FaxSid}/Media
- AuthHTTP basic
Path parameters
Universal Unique Identifier.
The Project ID that uniquely identifies the Account.
Universal Unique Identifier.
The Fax ID that uniquely identifies the Fax.
Query parameters
The page index to retrieve. Zero-indexed.
The number of results per page. Default is 50, maximum is 1000.
Token for cursor-based pagination. Required when Page > 0.
Response
The request has succeeded.
Example response
{
"uri": "/fax/v1/Faxes/b3877c40-da60-4998-90ad-b792e98472fx/Media?Page=0&PageSize=50",
"first_page_uri": "/fax/v1/Faxes/b3877c40-da60-4998-90ad-b792e98472fx/Media?PageSize=50",
"page_size": 50,
"media": [
{
"account_sid": "b3877c40-da60-4998-90ad-b792e98472ac",
"content_type": "application/pdf",
"date_created": "2018-11-26T20:00:00Z",
"date_updated": "2018-11-27T20:00:00Z",
"fax_sid": "b3877c40-da60-4998-90ad-b792e98472fx",
"sid": "b3877c40-da60-4998-90ad-b792e98472me",
"uri": "/fax/v1/Faxes/b3877c40-da60-4998-90ad-b792e98472fx/Media/b3877c40-da60-4998-90ad-b792e98472me.json",
"url": "/fax/v1/Faxes/b3877c40-da60-4998-90ad-b792e98472fx/Media/b3877c40-da60-4998-90ad-b792e98472me.json"
}
],
"fax_media": [
{
"account_sid": "b3877c40-da60-4998-90ad-b792e98472ac",
"content_type": "application/pdf",
"date_created": "2018-11-26T20:00:00Z",
"date_updated": "2018-11-27T20:00:00Z",
"fax_sid": "b3877c40-da60-4998-90ad-b792e98472fx",
"sid": "b3877c40-da60-4998-90ad-b792e98472me",
"uri": "/fax/v1/Faxes/b3877c40-da60-4998-90ad-b792e98472fx/Media/b3877c40-da60-4998-90ad-b792e98472me.json",
"url": "/fax/v1/Faxes/b3877c40-da60-4998-90ad-b792e98472fx/Media/b3877c40-da60-4998-90ad-b792e98472me.json"
}
]
}Changes
- info
added 'unevaluatedProperties' constraint to the response body for the status
- info
added 'unevaluatedProperties' constraint to the response body for the status
- info
added 'unevaluatedProperties' constraint to the response body for the status
- info
added 'unevaluatedProperties' constraint to the response body for the status
- info
added 'unevaluatedProperties' constraint to the response body for the status
- info
added 'unevaluatedProperties' constraint to the
/response property for the status - info
added 'unevaluatedProperties' constraint to the
/response property for the status
- info
- breaking
response property
next_page_urilist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
previous_page_urilist-of-types was widened by adding typesnullto media typeapplication/jsonof response200
- breaking