• Send a fax

    Send a fax by providing source and destination numbers and a URL to a PDF file to send.

    View Docs
    • cURL
    • Node
    • Python
    # put your own credentials here
    ACCOUNT_SID=AC5ef872f6da5a21de157d80997a64bd33
    AUTH_TOKEN=[AuthToken]
    
    curl -X POST "https://fax.twilio.com/v1/Faxes" \
        --data-urlencode To=+16518675309 \
        --data-urlencode From=+14158141829 \
        -d MediaUrl=https://example.com/my-fax.pdf \
        -u $ACCOUNT_SID:$AUTH_TOKEN
    // Twilio Credentials
    var accountSid = 'AC5ef872f6da5a21de157d80997a64bd33';
    var authToken = '[AuthToken]';
    
    //require the Twilio module and create a REST client
    var client = require('twilio')(accountSid, authToken);
    
    client.faxes.create({
      to: "+16518675309",
      from: "+14158141829",
      mediaUrl: "https://example.com/my-fax.pdf"
     }, function(err, fax) {
      console.log(fax.sid);
    });
    from twilio.rest import TwilioRestClient
    
    # put your own credentials here
    ACCOUNT_SID = "AC5ef872f6da5a21de157d80997a64bd33"
    AUTH_TOKEN = "[AuthToken]"
    
    client = TwilioRestClient(ACCOUNT_SID, AUTH_TOKEN)
    
    client.faxes.create(
      to="+16518675309",
      from_="+14158141829",
      media_url="https://example.com/my-fax.pdf",
      status_callback="https://example.com/fax-callback"
    )
  • View faxes

    We store a list of your sent and received faxes, along with the media, for 180 days. You can filter by source and destination number.

    View Docs
    • cURL
    • Node
    • Python
    # put your own credentials here
    ACCOUNT_SID=AC5ef872f6da5a21de157d80997a64bd33
    AUTH_TOKEN=[AuthToken]
    
    curl "https://fax.twilio.com/v1/Faxes" \
        --data-urlencode To=+16518675309 \
        -u $ACCOUNT_SID:$AUTH_TOKEN
    // Twilio Credentials
    var accountSid = 'AC5ef872f6da5a21de157d80997a64bd33';
    var authToken = '[AuthToken]';
    
    //require the Twilio module and create a REST client
    var client = require('twilio')(accountSid, authToken);
    
    client.faxes.list({
      to: "+16518675309"
    }, function(err, faxes) {
      console.log(faxes.length);
    });
    from twilio.rest import TwilioRestClient
    
    # put your own credentials here
    ACCOUNT_SID = "AC5ef872f6da5a21de157d80997a64bd33"
    AUTH_TOKEN = "[AuthToken]"
    
    client = TwilioRestClient(ACCOUNT_SID, AUTH_TOKEN)
    
    client.faxes.list(
      to="+16518675309"
    )
The Twilio advantage
  • Communicate reliably

    Experience a 99.95% uptime SLA made possible with automated failover and zero-maintenance windows.

  • Operate at scale

    Extend the same app you write once to new markets with configurable features for localization and compliance.

  • Many channels

    Use the same platform you know for voice, SMS, video, chat, two-factor authentication, and more.

  • No shenanigans

    Get to market faster with pay-as-you-go pricing, free support, and the freedom to scale up or down without contracts.