Level up your Twilio API skills in TwilioQuest, an educational game for Mac, Windows, and Linux. Download Now

メニュー

Expand
Rate this page:

Thanks for rating this page!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

FaxMedia Resource

The FaxMedia resource is a subresource of each Fax resource that gives you more information about the media attached to an individual Fax resource.

If you've used our Messaging Media API, this should look very familiar to you.

FaxMedia properties

A FaxMedia resource has these properties:

Names in PHP format
sid
sid<ME> Not PII

The unique string that we created to identify the FaxMedia resource.

accountSid
sid<AC> Not PII

The SID of the Account that created the FaxMedia resource.

faxSid
sid<FX> Not PII

The SID of the fax the FaxMedia resource is associated with.

contentType
文字列 Not PII

The content type of the stored fax media. For example: application/pdf.

dateCreated
date_time<iso8601> Not PII

The date and time in GMT when the resource was created specified in ISO 8601 format.

dateUpdated
date_time<iso8601> Not PII

The date and time in GMT when the resource was last updated specified in ISO 8601 format.

url
url Not PII

The absolute URL of the FaxMedia resource.

Fetch a FaxMedia resource

GET
https://fax.twilio.com/v1/Faxes/{FaxSid}/Media/{Sid}

If you request fax media from a web application, you must specify an HTTP User-Agent header in your request.

パラメーター
Names in None format
fax_sid
必須
GET sid<FX> Not PII

The SID of the fax with the FaxMedia resource to fetch.

sid
必須
GET sid<ME> Not PII

The Twilio-provided string that uniquely identifies the FaxMedia resource to fetch.

例 1
        
        
        
        

        Read multiple FaxMedia resources

        GET
        https://fax.twilio.com/v1/Faxes/{FaxSid}/Media
        パラメーター
        Names in None format
        fax_sid
        必須
        GET sid<FX> Not PII

        The SID of the fax with the FaxMedia resources to read.

        例 1
              
              
              
              

              Delete a FaxMedia resource

              削除する
              https://fax.twilio.com/v1/Faxes/{FaxSid}/Media/{Sid}

              Deletes the FaxMedia resource and associated media file.

              This action cannot be undone.

              パラメーター
              Names in None format
              fax_sid
              必須
              削除する sid<FX> Not PII

              The SID of the fax with the FaxMedia resource to delete.

              sid
              必須
              削除する sid<ME> Not PII

              The Twilio-provided string that uniquely identifies the FaxMedia resource to delete.

              例 1
                    
                    
                    
                    
                    Rate this page:

                    ヘルプが必要ですか?

                    誰しもが一度は考える「コーディングって難しい」。そんな時は、お問い合わせフォームから質問してください。 または、Stack Overflow でTwilioタグのついた情報から欲しいものを探してみましょう。