Submit verification for processing
curl --request POST \
--url https://api.proofage.net/v1/verifications/{verification}/submit \
--header 'X-API-Key: <api-key>' \
--header 'X-HMAC-Signature: <api-key>'import requests
url = "https://api.proofage.net/v1/verifications/{verification}/submit"
headers = {
"X-API-Key": "<api-key>",
"X-HMAC-Signature": "<api-key>"
}
response = requests.post(url, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'X-HMAC-Signature': '<api-key>'}
};
fetch('https://api.proofage.net/v1/verifications/{verification}/submit', 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.proofage.net/v1/verifications/{verification}/submit",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>",
"X-HMAC-Signature: <api-key>"
],
]);
$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://api.proofage.net/v1/verifications/{verification}/submit"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("X-HMAC-Signature", "<api-key>")
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.proofage.net/v1/verifications/{verification}/submit")
.header("X-API-Key", "<api-key>")
.header("X-HMAC-Signature", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.proofage.net/v1/verifications/{verification}/submit")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["X-HMAC-Signature"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"message": "<string>"
}{
"error": {
"code": "MISSING_REQUIRED_MEDIA",
"message": "All required media must be uploaded before submitting."
}
}Verifications
Submit verification for processing
Submits the verification for automated processing once the current attempt’s media is uploaded.
An upload moves the verification to started. A facial age estimation that asked for a document
is submitted the same way, after the document is uploaded.
Answers 200 with an empty body; the decision arrives by webhook.
POST
/
verifications
/
{verification}
/
submit
Submit verification for processing
curl --request POST \
--url https://api.proofage.net/v1/verifications/{verification}/submit \
--header 'X-API-Key: <api-key>' \
--header 'X-HMAC-Signature: <api-key>'import requests
url = "https://api.proofage.net/v1/verifications/{verification}/submit"
headers = {
"X-API-Key": "<api-key>",
"X-HMAC-Signature": "<api-key>"
}
response = requests.post(url, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'X-HMAC-Signature': '<api-key>'}
};
fetch('https://api.proofage.net/v1/verifications/{verification}/submit', 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.proofage.net/v1/verifications/{verification}/submit",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>",
"X-HMAC-Signature: <api-key>"
],
]);
$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://api.proofage.net/v1/verifications/{verification}/submit"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("X-HMAC-Signature", "<api-key>")
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.proofage.net/v1/verifications/{verification}/submit")
.header("X-API-Key", "<api-key>")
.header("X-HMAC-Signature", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.proofage.net/v1/verifications/{verification}/submit")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["X-HMAC-Signature"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"message": "<string>"
}{
"error": {
"code": "MISSING_REQUIRED_MEDIA",
"message": "All required media must be uploaded before submitting."
}
}Authorizations
Your workspace public key (pk_test_… or pk_live_…).
HMAC-SHA256 of the request, hex-encoded, keyed with the workspace secret key. See API authentication.
Path Parameters
The verification ID
Response
The verification was submitted. The body is empty.
The response is of type string.
Example:
""