cURL
curl --request POST \
--url 'https://apis.proofy.io/v1/verify/file/create?api_key=' \
--header 'Content-Type: application/json' \
--data '
{
"file_url": "http://example.com/full/path/to/file.csv",
"file_name": "Your file name.csv"
}
'import requests
url = "https://apis.proofy.io/v1/verify/file/create?api_key="
payload = {
"file_url": "http://example.com/full/path/to/file.csv",
"file_name": "Your file name.csv"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
file_url: 'http://example.com/full/path/to/file.csv',
file_name: 'Your file name.csv'
})
};
fetch('https://apis.proofy.io/v1/verify/file/create?api_key=', 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://apis.proofy.io/v1/verify/file/create?api_key=",
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([
'file_url' => 'http://example.com/full/path/to/file.csv',
'file_name' => 'Your file name.csv'
]),
CURLOPT_HTTPHEADER => [
"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://apis.proofy.io/v1/verify/file/create?api_key="
payload := strings.NewReader("{\n \"file_url\": \"http://example.com/full/path/to/file.csv\",\n \"file_name\": \"Your file name.csv\"\n}")
req, _ := http.NewRequest("POST", url, payload)
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://apis.proofy.io/v1/verify/file/create?api_key=")
.header("Content-Type", "application/json")
.body("{\n \"file_url\": \"http://example.com/full/path/to/file.csv\",\n \"file_name\": \"Your file name.csv\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://apis.proofy.io/v1/verify/file/create?api_key=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"file_url\": \"http://example.com/full/path/to/file.csv\",\n \"file_name\": \"Your file name.csv\"\n}"
response = http.request(request)
puts response.read_body{
"status": "parsing",
"id": "9b034ae4-9d28-4c5b-9cca-1b3871a9adc1"
}{
"message": "Not enough credits"
}{
"message": "Unauthorized"
}{
"message": "Not Found"
}{
"message": "Internal Server Error"
}File
Upload by url
Verifies one or multiple emails in a file by your url
POST
/
verify
/
file
/
create
cURL
curl --request POST \
--url 'https://apis.proofy.io/v1/verify/file/create?api_key=' \
--header 'Content-Type: application/json' \
--data '
{
"file_url": "http://example.com/full/path/to/file.csv",
"file_name": "Your file name.csv"
}
'import requests
url = "https://apis.proofy.io/v1/verify/file/create?api_key="
payload = {
"file_url": "http://example.com/full/path/to/file.csv",
"file_name": "Your file name.csv"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
file_url: 'http://example.com/full/path/to/file.csv',
file_name: 'Your file name.csv'
})
};
fetch('https://apis.proofy.io/v1/verify/file/create?api_key=', 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://apis.proofy.io/v1/verify/file/create?api_key=",
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([
'file_url' => 'http://example.com/full/path/to/file.csv',
'file_name' => 'Your file name.csv'
]),
CURLOPT_HTTPHEADER => [
"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://apis.proofy.io/v1/verify/file/create?api_key="
payload := strings.NewReader("{\n \"file_url\": \"http://example.com/full/path/to/file.csv\",\n \"file_name\": \"Your file name.csv\"\n}")
req, _ := http.NewRequest("POST", url, payload)
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://apis.proofy.io/v1/verify/file/create?api_key=")
.header("Content-Type", "application/json")
.body("{\n \"file_url\": \"http://example.com/full/path/to/file.csv\",\n \"file_name\": \"Your file name.csv\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://apis.proofy.io/v1/verify/file/create?api_key=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"file_url\": \"http://example.com/full/path/to/file.csv\",\n \"file_name\": \"Your file name.csv\"\n}"
response = http.request(request)
puts response.read_body{
"status": "parsing",
"id": "9b034ae4-9d28-4c5b-9cca-1b3871a9adc1"
}{
"message": "Not enough credits"
}{
"message": "Unauthorized"
}{
"message": "Not Found"
}{
"message": "Internal Server Error"
}The file creation endpoint allows you to verify multiple emails at once by creating a task to process the file asynchronously.
Verification results are not included in the response.
File upload recommendation
Yourfile_url must be public – ensure that the source you provide is accessible to everyone.
For efficiency and deduplication, submit data in a single task rather than splitting it.
For example, submit one file with 50k emails instead of 10 files of 5k each. If using data from a CRM, buffer it locally before submission.
Size limiting
The Bulk API supports files up to 65 MB.⌘I