curl --request POST \
--url https://api.mintfax.com/v1/faxes/{fax}/resend \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"to": "<string>",
"webhook_url": "<string>",
"max_attempts": 3
}
'import requests
url = "https://api.mintfax.com/v1/faxes/{fax}/resend"
payload = {
"to": "<string>",
"webhook_url": "<string>",
"max_attempts": 3
}
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({to: '<string>', webhook_url: '<string>', max_attempts: 3})
};
fetch('https://api.mintfax.com/v1/faxes/{fax}/resend', 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.mintfax.com/v1/faxes/{fax}/resend",
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([
'to' => '<string>',
'webhook_url' => '<string>',
'max_attempts' => 3
]),
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.mintfax.com/v1/faxes/{fax}/resend"
payload := strings.NewReader("{\n \"to\": \"<string>\",\n \"webhook_url\": \"<string>\",\n \"max_attempts\": 3\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.mintfax.com/v1/faxes/{fax}/resend")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"to\": \"<string>\",\n \"webhook_url\": \"<string>\",\n \"max_attempts\": 3\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mintfax.com/v1/faxes/{fax}/resend")
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 \"to\": \"<string>\",\n \"webhook_url\": \"<string>\",\n \"max_attempts\": 3\n}"
response = http.request(request)
puts response.read_body{
"id": "fax_8aZqRm4yT3vK7pNxJ2bH9c",
"status": "queued",
"to": "+12125551234",
"tags": {},
"created_at": "2023-11-07T05:31:56Z",
"resent_from": "fax_8aZqRm4yT3vK7pNxJ2bH9c"
}Resend a Fax
Resubmits a previously failed or delivered fax using the original document. A new credit hold is placed. Returns the new fax record.
curl --request POST \
--url https://api.mintfax.com/v1/faxes/{fax}/resend \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"to": "<string>",
"webhook_url": "<string>",
"max_attempts": 3
}
'import requests
url = "https://api.mintfax.com/v1/faxes/{fax}/resend"
payload = {
"to": "<string>",
"webhook_url": "<string>",
"max_attempts": 3
}
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({to: '<string>', webhook_url: '<string>', max_attempts: 3})
};
fetch('https://api.mintfax.com/v1/faxes/{fax}/resend', 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.mintfax.com/v1/faxes/{fax}/resend",
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([
'to' => '<string>',
'webhook_url' => '<string>',
'max_attempts' => 3
]),
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.mintfax.com/v1/faxes/{fax}/resend"
payload := strings.NewReader("{\n \"to\": \"<string>\",\n \"webhook_url\": \"<string>\",\n \"max_attempts\": 3\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.mintfax.com/v1/faxes/{fax}/resend")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"to\": \"<string>\",\n \"webhook_url\": \"<string>\",\n \"max_attempts\": 3\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mintfax.com/v1/faxes/{fax}/resend")
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 \"to\": \"<string>\",\n \"webhook_url\": \"<string>\",\n \"max_attempts\": 3\n}"
response = http.request(request)
puts response.read_body{
"id": "fax_8aZqRm4yT3vK7pNxJ2bH9c",
"status": "queued",
"to": "+12125551234",
"tags": {},
"created_at": "2023-11-07T05:31:56Z",
"resent_from": "fax_8aZqRm4yT3vK7pNxJ2bH9c"
}Authorizations
API key as Bearer token. Use an account key (mfx_acct_...) for
/account/* endpoints, and an environment key (mfx_test_... for
sandbox, mfx_live_... for live) for /environment/*, /faxes,
/webhooks, and /events.
Headers
Client-generated key for idempotent submission (recommended). Duplicate keys return the original response without re-processing. Keys expire after 24 hours.
Path Parameters
The fax public id
Body
Response
FaxSubmissionResource
Unique fax identifier (fax_-prefixed).
"fax_8aZqRm4yT3vK7pNxJ2bH9c"
Initial fax status.
queued, submitted, in_progress, delivered, failed "queued"
Destination fax number in E.164 format.
"+12125551234"
Echo of caller-supplied metadata. Empty serializes as {}.
Show child attributes
Show child attributes
UTC timestamp when the fax record was created.
Original fax identifier when this submission is a resend; only present on resends.
"fax_8aZqRm4yT3vK7pNxJ2bH9c"