***
id: 218836df-b1dc-420b-86be-b4030cb1f53e
slug: /sdks/reference/faxes/send
title: Send
sidebar-title: Send
max-toc-depth: 3
----------------
Use this endpoint for the Fax method to send a Fax.
## Request examples
```javascript title="Node.js"
const { RestClient } = require('@signalwire/compatibility-api')
const client = RestClient('YourProjectID', 'YourAuthToken', { signalwireSpaceUrl: 'example.signalwire.com' })
client.fax.faxes
.create({
from: '+13103383454',
to: '+13104456789',
mediaUrl: 'https://example.com/fax.pdf'
})
.then(fax => console.log(fax.sid))
.done();
```
```csharp
using System;
using System.Collections.Generic;
using Twilio;
using Twilio.Rest.Fax.V1;
class Program
{
static void Main(string[] args)
{
TwilioClient.Init("YourProjectID", "YourAuthToken", new Dictionary { ["signalwireSpaceUrl"] = "{SPACE}.signalwire.com" });
var fax = FaxResource.Create(
from: "+13103383454",
to: "+13104456789",
mediaUrl: new Uri("https://example.com/fax.pdf")
);
Console.WriteLine(fax.Sid);
}
}
```
```python
from signalwire.rest import Client as signalwire_client
client = signalwire_client("YourProjectID", "YourAuthToken", signalwire_space_url = 'example.signalwire.com')
fax = client.fax.faxes \
.create(
from_='+13103383454',
to='+13104456789',
media_url='https://example.com/fax.pdf'
)
print(fax.sid)
```
```ruby
require 'signalwire/sdk'
@client = Signalwire::REST::Client.new 'YourProjectID', 'YourAuthToken', signalwire_space_url: "example.signalwire.com"
fax = @client.fax.faxes
.create(
from: '+13103383454',
to: '+13104456789',
media_url: 'https://example.com/fax.pdf'
)
puts fax.sid
```
***
## StatusCallback parameters
The `StatusCallback` request contains the following parameters:
The transmitting subscriber identification (TSID) reported by the fax machine that sent in the fax.
The status of the fax.
The original URL passed when a fax is sent.
The number of pages received from a successful fax.
The SID that uniquely identifies the fax media.
The media URL to request to retrieve incoming media.
The error code provides more information on a failed fax.
The message explaining the reason for fax failure.