# List All Media of a Fax Use this endpoint for the [Fax Media](./index.mdx) method to return a [paged list](/docs/rest/compatibility-api/overview/paging.mdx) of media belonging to this fax sorted. The most recent media will appear first. ## Parameters | Parameter | | :- | | None | ## Request shell curl https://example.signalwire.com/api/laml/2010-04-01/Accounts/{AccountSid}/Faxes/{FaxSid}/Media.json \ -X GET \ -u YourProjectID:YourAuthToken javascript const { RestClient } = require(@signalwire/compatibility-api) const client = RestClient(YourProjectID, YourAuthToken, { signalwireSpaceUrl: example.signalwire.com }) client.fax.faxes(FaxSid) .media .each(media => console.log(media.sid)); csharp using System; using System.Collections.Generic; using Twilio; using Twilio.Rest.Fax.V1.Fax; class Program { static void Main(string[] args) { TwilioClient.Init(YourProjectID, YourAuthToken, new Dictionary { [signalwireSpaceUrl] = {SPACE}.signalwire.com }); var media = FaxMediaResource.Read( ); foreach(var record in media) { Console.WriteLine(record.Sid); } } } python from signalwire.rest import Client as signalwire_client client = signalwire_client(YourProjectID, YourAuthToken, signalwire_space_url = example.signalwire.com) media = client.fax.faxes(FaxSid).media.list() for record in media: print(record.sid) ruby require signalwire/sdk @client = Signalwire::REST::Client.new YourProjectID, YourAuthToken, signalwire_space_url: example.signalwire.com media = @client.faxes(FaxSid).media.list media.each do |record| puts record.sid end ## Responses 200 OK
json { uri: /api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472ac/Faxes/b3877c40-da60-4998-90ad-b792e98472fs/Media?Page=0&PageSize=50, first_page_uri: /api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472ac/Faxes/b3877c40-da60-4998-90ad-b792e98472fs/Media?Page=0&PageSize=50, next_page_uri: null, previous_page_uri: null, page: 0, page_size: 50, media: [ { content_type: application/pdf, date_created: 2018-11-27T20:00:00Z, date_updated: 2018-11-28T20:00:00Z, url: /api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472ac/Faxes/b3877c40-da60-4998-90ad-b792e98472fs/Media/b3877c40-da60-4998-90ad-b792e98472fx } ] }