cURL
curl --request GET \
--url 'https://apis.proofy.io/v1/verify/file/{id}/download?api_key='import requests
url = "https://apis.proofy.io/v1/verify/file/{id}/download?api_key="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://apis.proofy.io/v1/verify/file/{id}/download?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/{id}/download?api_key=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://apis.proofy.io/v1/verify/file/{id}/download?api_key="
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://apis.proofy.io/v1/verify/file/{id}/download?api_key=")
.asString();require 'uri'
require 'net/http'
url = URI("https://apis.proofy.io/v1/verify/file/{id}/download?api_key=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"status": "ready",
"url": "https://data-exchange-dev-verifier.s3.amazonaws.com/bulks/exports/9f13c66c-51b5-4f28-8470-606a1d4bf099.csv?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAYJMSIKZRYBTA5MPB%2F20240804%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240804T135925Z&X-Amz-Expires=6000&X-Amz-Signature=6336b64a6d33034fc17a930d001f8306a1c9481932f2a262a58e3ddc5c1ce513&X-Amz-SignedHeaders=host"
}{
"message": "Bad Request"
}{
"message": "Unauthorized"
}{
"message": "Not Found"
}{
"message": "Internal Server Error"
}File
Download file
Get download link for file with results
GET
/
verify
/
file
/
{id}
/
download
cURL
curl --request GET \
--url 'https://apis.proofy.io/v1/verify/file/{id}/download?api_key='import requests
url = "https://apis.proofy.io/v1/verify/file/{id}/download?api_key="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://apis.proofy.io/v1/verify/file/{id}/download?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/{id}/download?api_key=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://apis.proofy.io/v1/verify/file/{id}/download?api_key="
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://apis.proofy.io/v1/verify/file/{id}/download?api_key=")
.asString();require 'uri'
require 'net/http'
url = URI("https://apis.proofy.io/v1/verify/file/{id}/download?api_key=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"status": "ready",
"url": "https://data-exchange-dev-verifier.s3.amazonaws.com/bulks/exports/9f13c66c-51b5-4f28-8470-606a1d4bf099.csv?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAYJMSIKZRYBTA5MPB%2F20240804%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240804T135925Z&X-Amz-Expires=6000&X-Amz-Signature=6336b64a6d33034fc17a930d001f8306a1c9481932f2a262a58e3ddc5c1ce513&X-Amz-SignedHeaders=host"
}{
"message": "Bad Request"
}{
"message": "Unauthorized"
}{
"message": "Not Found"
}{
"message": "Internal Server Error"
}This endpoint returns a link to a file containing the verification result data in CSV format. The only required parameters for this endpoint are the API key and the file ID of the file to be uploaded.
⌘I