Get full verification result
curl --request POST \
--url https://ivs.idenfy.com/api/v2/full \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"scanRef": "328c6766-934e-11ed-bb9b-025ad99a18e7"
}
'import requests
url = "https://ivs.idenfy.com/api/v2/full"
payload = { "scanRef": "328c6766-934e-11ed-bb9b-025ad99a18e7" }
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({scanRef: '328c6766-934e-11ed-bb9b-025ad99a18e7'})
};
fetch('https://ivs.idenfy.com/api/v2/full', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://ivs.idenfy.com/api/v2/full")
.header("Authorization", "Basic <encoded-value>")
.header("Content-Type", "application/json")
.body("{\n \"scanRef\": \"328c6766-934e-11ed-bb9b-025ad99a18e7\"\n}")
.asString();<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://ivs.idenfy.com/api/v2/full",
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([
'scanRef' => '328c6766-934e-11ed-bb9b-025ad99a18e7'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}require 'uri'
require 'net/http'
url = URI("https://ivs.idenfy.com/api/v2/full")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Basic <encoded-value>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"scanRef\": \"328c6766-934e-11ed-bb9b-025ad99a18e7\"\n}"
response = http.request(request)
puts response.read_bodyusing RestSharp;
var options = new RestClientOptions("https://ivs.idenfy.com/api/v2/full");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Basic <encoded-value>");
request.AddJsonBody("{\n \"scanRef\": \"328c6766-934e-11ed-bb9b-025ad99a18e7\"\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://ivs.idenfy.com/api/v2/full"
payload := strings.NewReader("{\n \"scanRef\": \"328c6766-934e-11ed-bb9b-025ad99a18e7\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Basic <encoded-value>")
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))
}val client = OkHttpClient()
val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n \"scanRef\": \"328c6766-934e-11ed-bb9b-025ad99a18e7\"\n}")
val request = Request.Builder()
.url("https://ivs.idenfy.com/api/v2/full")
.post(body)
.addHeader("Authorization", "Basic <encoded-value>")
.addHeader("Content-Type", "application/json")
.build()
val response = client.newCall(request).execute()import Foundation
let parameters = ["scanRef": "328c6766-934e-11ed-bb9b-025ad99a18e7"] as [String : Any?]
let postData = try JSONSerialization.data(withJSONObject: parameters, options: [])
let url = URL(string: "https://ivs.idenfy.com/api/v2/full")!
var request = URLRequest(url: url)
request.httpMethod = "POST"
request.timeoutInterval = 10
request.allHTTPHeaderFields = [
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
]
request.httpBody = postData
let (data, _) = try await URLSession.shared.data(for: request)
print(String(decoding: data, as: UTF8.self)){
"final": false,
"platform": "PC",
"status": {
"overall": "APPROVED",
"suspicionReasons": [],
"fraudTags": [],
"mismatchTags": [],
"autoDocument": "DOC_VALIDATED",
"autoFace": "FACE_MATCH",
"manualDocument": null,
"manualFace": null,
"denyReasons": [],
"amlResultClass": "NOT_CHECKED",
"pepsStatus": "NOT_CHECKED",
"sanctionsStatus": "NOT_CHECKED",
"adverseMediaStatus": "NOT_CHECKED",
"additionalSteps": "NOT_FOUND"
},
"data": {
"docFirstName": "JOHN",
"docLastName": "SAMPLE BUTCH",
"docNumber": "DE4878783",
"docPersonalCode": null,
"docExpiry": "2034-03-09",
"docDob": "1965-03-10",
"docDateOfIssue": "2024-03-09",
"docType": "PASSPORT",
"docSex": "MALE",
"docNationality": "NL",
"docIssuingCountry": "NL",
"fullName": "JOHN SAMPLE BUTCH",
"manuallyDataChanged": false,
"selectedCountry": "NL",
"duplicateFaces": null,
"duplicateDocFaces": null,
"additionalData": {}
},
"fileUrls": {
"FRONT": "https://...",
"FACE": "https://..."
},
"additionalStepPdfUrls": {},
"scanRef": "328c6766-934e-11ed-bb9b-025ad99a18e7",
"clientId": "W2GL2K333Y",
"externalRef": null,
"companyId": null,
"beneficiaryId": null,
"startTime": 1700000000,
"finishTime": 1700000120,
"clientIp": "203.0.113.10",
"clientIpCountry": "NL",
"clientLocation": "Amsterdam, NL",
"amlCheck": null,
"AML": null,
"LID": null
}{
"message": "Invalid scan ref",
"identifier": "ASSOCIATION_ERROR",
"documentation": "https://documentation.idenfy.com",
"severity": "NOT_SEVERE"
}Get full verification result
Returns the complete result of one verification (status, extracted document data, file links and every enabled check) in the same structure as the result webhook.
Use it as a fallback to webhooks only, and do not poll it. See Data Retrieval for when to use it.
Differences from the webhook:
finalalways readsfalse. Do not rely on it.status.overalldoes not showREVIEWINGwhile a manual review is pending. It shows the automatic result until the reviewer finishes. CheckPOST /api/v2/statusfor a pending review. See Data Retrieval → Before You Act on a Result.
POST
/
api
/
v2
/
full
Get full verification result
curl --request POST \
--url https://ivs.idenfy.com/api/v2/full \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"scanRef": "328c6766-934e-11ed-bb9b-025ad99a18e7"
}
'import requests
url = "https://ivs.idenfy.com/api/v2/full"
payload = { "scanRef": "328c6766-934e-11ed-bb9b-025ad99a18e7" }
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({scanRef: '328c6766-934e-11ed-bb9b-025ad99a18e7'})
};
fetch('https://ivs.idenfy.com/api/v2/full', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://ivs.idenfy.com/api/v2/full")
.header("Authorization", "Basic <encoded-value>")
.header("Content-Type", "application/json")
.body("{\n \"scanRef\": \"328c6766-934e-11ed-bb9b-025ad99a18e7\"\n}")
.asString();<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://ivs.idenfy.com/api/v2/full",
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([
'scanRef' => '328c6766-934e-11ed-bb9b-025ad99a18e7'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}require 'uri'
require 'net/http'
url = URI("https://ivs.idenfy.com/api/v2/full")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Basic <encoded-value>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"scanRef\": \"328c6766-934e-11ed-bb9b-025ad99a18e7\"\n}"
response = http.request(request)
puts response.read_bodyusing RestSharp;
var options = new RestClientOptions("https://ivs.idenfy.com/api/v2/full");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Basic <encoded-value>");
request.AddJsonBody("{\n \"scanRef\": \"328c6766-934e-11ed-bb9b-025ad99a18e7\"\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://ivs.idenfy.com/api/v2/full"
payload := strings.NewReader("{\n \"scanRef\": \"328c6766-934e-11ed-bb9b-025ad99a18e7\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Basic <encoded-value>")
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))
}val client = OkHttpClient()
val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n \"scanRef\": \"328c6766-934e-11ed-bb9b-025ad99a18e7\"\n}")
val request = Request.Builder()
.url("https://ivs.idenfy.com/api/v2/full")
.post(body)
.addHeader("Authorization", "Basic <encoded-value>")
.addHeader("Content-Type", "application/json")
.build()
val response = client.newCall(request).execute()import Foundation
let parameters = ["scanRef": "328c6766-934e-11ed-bb9b-025ad99a18e7"] as [String : Any?]
let postData = try JSONSerialization.data(withJSONObject: parameters, options: [])
let url = URL(string: "https://ivs.idenfy.com/api/v2/full")!
var request = URLRequest(url: url)
request.httpMethod = "POST"
request.timeoutInterval = 10
request.allHTTPHeaderFields = [
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
]
request.httpBody = postData
let (data, _) = try await URLSession.shared.data(for: request)
print(String(decoding: data, as: UTF8.self)){
"final": false,
"platform": "PC",
"status": {
"overall": "APPROVED",
"suspicionReasons": [],
"fraudTags": [],
"mismatchTags": [],
"autoDocument": "DOC_VALIDATED",
"autoFace": "FACE_MATCH",
"manualDocument": null,
"manualFace": null,
"denyReasons": [],
"amlResultClass": "NOT_CHECKED",
"pepsStatus": "NOT_CHECKED",
"sanctionsStatus": "NOT_CHECKED",
"adverseMediaStatus": "NOT_CHECKED",
"additionalSteps": "NOT_FOUND"
},
"data": {
"docFirstName": "JOHN",
"docLastName": "SAMPLE BUTCH",
"docNumber": "DE4878783",
"docPersonalCode": null,
"docExpiry": "2034-03-09",
"docDob": "1965-03-10",
"docDateOfIssue": "2024-03-09",
"docType": "PASSPORT",
"docSex": "MALE",
"docNationality": "NL",
"docIssuingCountry": "NL",
"fullName": "JOHN SAMPLE BUTCH",
"manuallyDataChanged": false,
"selectedCountry": "NL",
"duplicateFaces": null,
"duplicateDocFaces": null,
"additionalData": {}
},
"fileUrls": {
"FRONT": "https://...",
"FACE": "https://..."
},
"additionalStepPdfUrls": {},
"scanRef": "328c6766-934e-11ed-bb9b-025ad99a18e7",
"clientId": "W2GL2K333Y",
"externalRef": null,
"companyId": null,
"beneficiaryId": null,
"startTime": 1700000000,
"finishTime": 1700000120,
"clientIp": "203.0.113.10",
"clientIpCountry": "NL",
"clientLocation": "Amsterdam, NL",
"amlCheck": null,
"AML": null,
"LID": null
}{
"message": "Invalid scan ref",
"identifier": "ASSOCIATION_ERROR",
"documentation": "https://documentation.idenfy.com",
"severity": "NOT_SEVERE"
}Authorizations
Body
application/json
Response
Full verification result.
Same structure as the result webhook, with the differences listed on the endpoint. Nested check objects are null when the check is not enabled or did not run.
Was this page helpful?