Create Outbound Fax

Create a new Fax request

GET or POST Request

https://v1.api19.com/fax/create

Send us a GET or POST request with your key and the source, destination and files.

We we will deliver your fax and get back to you. We support 3 methods to send fax files to us. You can choose whichever you would prefer.

Method 1 - HTTP Post of file1=url, file2=url

This method is pretty straight forward, send file1=, file2= with urls and get is supported

curl -X POST https://v1.api19.com/fax/create \
 -d "destination=3035551212" \
 -d "file1=http://x.com/file1.jpg" \
 -d "file2=http://x.com/file2.jpg" \
 -d 'key=your-key'

Method 2 - JSON Post of URLs

Send a JSON post to our server with the URLs in an array called files

Example JSON post:

{
    "key": "hfg29hg23fh23",
    "source": 3038883333,
    "destination": 8823321111,
    "files": [
        "http:\/\/example.com\/test1.jpg",
        "http:\/\/example.com\/fax2.jpg"
    ]
}

Method 3 - HTTP Multipart File Post

Send an HTTP Multipart post or use CURL @file to include the file in the multipart. You don't have to name them file1=, we will look for any multipart file attached.

HTTP Post Variables Supported

Argument

Required

Type

key

yes

api key

source

yes

fax number with us

destination

yes

destination fax number

file1

yes

URL with supported file type

file2-10

no

add up to 20 files

ignore_bad_files

no

yes

ignore all files you send that are bad and continue sending the rest

@file

no

use CURL or http multi post to attach files to your web request

call_back_url

no

URL to call you back when done

HTTP Call Back

If you request, we will send you an HTTP call back with your fax status with the following parameters using HTTP POST:

Last updated