List sent faxes
curl --request POST \
--url https://api.amplify.xyz/v1/faxes/lists \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"sort_by": "Newest"
}
'import requests
url = "https://api.amplify.xyz/v1/faxes/lists"
payload = { "sort_by": "Newest" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({sort_by: 'Newest'})
};
fetch('https://api.amplify.xyz/v1/faxes/lists', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.amplify.xyz/v1/faxes/lists",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'sort_by' => 'Newest'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.amplify.xyz/v1/faxes/lists"
payload := strings.NewReader("{\n \"sort_by\": \"Newest\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.amplify.xyz/v1/faxes/lists")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"sort_by\": \"Newest\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.amplify.xyz/v1/faxes/lists")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"sort_by\": \"Newest\"\n}"
response = http.request(request)
puts response.read_body{
"status": 1,
"message": "SentFax list retrieved successfully",
"data": [
{
"id": 150004099,
"job_id": "01M1NSAPE73ZJTEGEZQMHC8P6P",
"sender": "+19073131400",
"receiver": "+14084132233",
"duration": "",
"pages": 1,
"fax_status": "Delivered",
"sent_fax_time": 1788511347,
"source": "fax",
"sent_pages": 1,
"failed_pages": 0
}
],
"meta": {
"total": 17,
"next_cursor": "",
"previous_cursor": "",
"limit": 20
}
}{
"status": 0,
"message": "Internal Server Error"
}Send faxes
List sent faxes
Retrieve sent fax jobs and their current transmission results.
POST
/
v1
/
faxes
/
lists
List sent faxes
curl --request POST \
--url https://api.amplify.xyz/v1/faxes/lists \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"sort_by": "Newest"
}
'import requests
url = "https://api.amplify.xyz/v1/faxes/lists"
payload = { "sort_by": "Newest" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({sort_by: 'Newest'})
};
fetch('https://api.amplify.xyz/v1/faxes/lists', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.amplify.xyz/v1/faxes/lists",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'sort_by' => 'Newest'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.amplify.xyz/v1/faxes/lists"
payload := strings.NewReader("{\n \"sort_by\": \"Newest\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.amplify.xyz/v1/faxes/lists")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"sort_by\": \"Newest\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.amplify.xyz/v1/faxes/lists")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"sort_by\": \"Newest\"\n}"
response = http.request(request)
puts response.read_body{
"status": 1,
"message": "SentFax list retrieved successfully",
"data": [
{
"id": 150004099,
"job_id": "01M1NSAPE73ZJTEGEZQMHC8P6P",
"sender": "+19073131400",
"receiver": "+14084132233",
"duration": "",
"pages": 1,
"fax_status": "Delivered",
"sent_fax_time": 1788511347,
"source": "fax",
"sent_pages": 1,
"failed_pages": 0
}
],
"meta": {
"total": 17,
"next_cursor": "",
"previous_cursor": "",
"limit": 20
}
}{
"status": 0,
"message": "Internal Server Error"
}Returns sent faxes for the authenticated account. Each record includes its
job_id, sender and receiver, page counts, current status, and transmission time.
The response includes cursor pagination metadata. Additional request-side pagination controls have not yet been confirmed.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Sort order for the returned faxes. Newest is the confirmed value.
