curl --request POST \
--url https://api.urtentic.com/api/v1/verifications/{verificationId}/send-inputs \
--header 'Content-Type: multipart/form-data' \
--form 'inputs=[
{
"fileName": "selfie.mp4",
"fieldName": "SELFIE_VIDEO",
"value": "selfie.mp4"
},
{
"fieldName": "DOCUMENT_TYPE",
"value": "PASSPORT"
},
{
"fileName": "passport_front.jpg",
"fieldName": "FRONT_IMAGE",
"value": "passport_front.jpg"
}
]
' \
--form 'documents=(binary file data)' \
--form documents.items='@example-file'import requests
url = "https://api.urtentic.com/api/v1/verifications/{verificationId}/send-inputs"
files = { "documents.items": ("example-file", open("example-file", "rb")) }
payload = {
"inputs": "[
{
\"fileName\": \"selfie.mp4\",
\"fieldName\": \"SELFIE_VIDEO\",
\"value\": \"selfie.mp4\"
},
{
\"fieldName\": \"DOCUMENT_TYPE\",
\"value\": \"PASSPORT\"
},
{
\"fileName\": \"passport_front.jpg\",
\"fieldName\": \"FRONT_IMAGE\",
\"value\": \"passport_front.jpg\"
}
]
",
"documents": "(binary file data)"
}
response = requests.post(url, data=payload, files=files)
print(response.text)const form = new FormData();
form.append('inputs', '[
{
"fileName": "selfie.mp4",
"fieldName": "SELFIE_VIDEO",
"value": "selfie.mp4"
},
{
"fieldName": "DOCUMENT_TYPE",
"value": "PASSPORT"
},
{
"fileName": "passport_front.jpg",
"fieldName": "FRONT_IMAGE",
"value": "passport_front.jpg"
}
]
');
form.append('documents', '(binary file data)');
form.append('documents.items', '{
"fileName": "example-file"
}');
const options = {method: 'POST'};
options.body = form;
fetch('https://api.urtentic.com/api/v1/verifications/{verificationId}/send-inputs', 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.urtentic.com/api/v1/verifications/{verificationId}/send-inputs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"inputs\"\r\n\r\n[\r\n {\r\n \"fileName\": \"selfie.mp4\",\r\n \"fieldName\": \"SELFIE_VIDEO\",\r\n \"value\": \"selfie.mp4\"\r\n },\r\n {\r\n \"fieldName\": \"DOCUMENT_TYPE\",\r\n \"value\": \"PASSPORT\"\r\n },\r\n {\r\n \"fileName\": \"passport_front.jpg\",\r\n \"fieldName\": \"FRONT_IMAGE\",\r\n \"value\": \"passport_front.jpg\"\r\n }\r\n]\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"documents\"\r\n\r\n(binary file data)\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"documents.items\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n{\r\n \"fileName\": \"example-file\"\r\n}\r\n-----011000010111000001101001--",
CURLOPT_HTTPHEADER => [
"Content-Type: multipart/form-data"
],
]);
$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.urtentic.com/api/v1/verifications/{verificationId}/send-inputs"
payload := strings.NewReader("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"inputs\"\r\n\r\n[\r\n {\r\n \"fileName\": \"selfie.mp4\",\r\n \"fieldName\": \"SELFIE_VIDEO\",\r\n \"value\": \"selfie.mp4\"\r\n },\r\n {\r\n \"fieldName\": \"DOCUMENT_TYPE\",\r\n \"value\": \"PASSPORT\"\r\n },\r\n {\r\n \"fileName\": \"passport_front.jpg\",\r\n \"fieldName\": \"FRONT_IMAGE\",\r\n \"value\": \"passport_front.jpg\"\r\n }\r\n]\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"documents\"\r\n\r\n(binary file data)\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"documents.items\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n{\r\n \"fileName\": \"example-file\"\r\n}\r\n-----011000010111000001101001--")
req, _ := http.NewRequest("POST", url, payload)
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.urtentic.com/api/v1/verifications/{verificationId}/send-inputs")
.body("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"inputs\"\r\n\r\n[\r\n {\r\n \"fileName\": \"selfie.mp4\",\r\n \"fieldName\": \"SELFIE_VIDEO\",\r\n \"value\": \"selfie.mp4\"\r\n },\r\n {\r\n \"fieldName\": \"DOCUMENT_TYPE\",\r\n \"value\": \"PASSPORT\"\r\n },\r\n {\r\n \"fileName\": \"passport_front.jpg\",\r\n \"fieldName\": \"FRONT_IMAGE\",\r\n \"value\": \"passport_front.jpg\"\r\n }\r\n]\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"documents\"\r\n\r\n(binary file data)\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"documents.items\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n{\r\n \"fileName\": \"example-file\"\r\n}\r\n-----011000010111000001101001--")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.urtentic.com/api/v1/verifications/{verificationId}/send-inputs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request.body = "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"inputs\"\r\n\r\n[\r\n {\r\n \"fileName\": \"selfie.mp4\",\r\n \"fieldName\": \"SELFIE_VIDEO\",\r\n \"value\": \"selfie.mp4\"\r\n },\r\n {\r\n \"fieldName\": \"DOCUMENT_TYPE\",\r\n \"value\": \"PASSPORT\"\r\n },\r\n {\r\n \"fileName\": \"passport_front.jpg\",\r\n \"fieldName\": \"FRONT_IMAGE\",\r\n \"value\": \"passport_front.jpg\"\r\n }\r\n]\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"documents\"\r\n\r\n(binary file data)\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"documents.items\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n{\r\n \"fileName\": \"example-file\"\r\n}\r\n-----011000010111000001101001--"
response = http.request(request)
puts response.read_body{
"message": "Inputs received and processing started",
"status": "PROCESSING",
"inputsAccepted": [
"SELFIE_VIDEO",
"DOCUMENT_TYPE",
"FRONT_IMAGE"
]
}{
"error": "MISSING_REQUIRED_FILES",
"message": "One or more required files are missing",
"missingInputs": [
"BACK_IMAGE"
]
}{
"error": "VERIFICATION_NOT_FOUND",
"message": "The specified verification ID was not found"
}Send verification inputs
Submits verification inputs (documents, selfie, etc.) for processing. Supports multipart form data for file uploads.
Use Cases
- Uploading document images for verification
- Submitting selfie videos for liveness detection
- Providing user information for verification processes
Notes
- This endpoint accepts multipart/form-data to handle file uploads
- The “inputs” field must be a JSON string defining the uploaded files and their roles
- Multiple files can be uploaded in a single request
- Files should be referenced by their filename in the inputs JSON
curl --request POST \
--url https://api.urtentic.com/api/v1/verifications/{verificationId}/send-inputs \
--header 'Content-Type: multipart/form-data' \
--form 'inputs=[
{
"fileName": "selfie.mp4",
"fieldName": "SELFIE_VIDEO",
"value": "selfie.mp4"
},
{
"fieldName": "DOCUMENT_TYPE",
"value": "PASSPORT"
},
{
"fileName": "passport_front.jpg",
"fieldName": "FRONT_IMAGE",
"value": "passport_front.jpg"
}
]
' \
--form 'documents=(binary file data)' \
--form documents.items='@example-file'import requests
url = "https://api.urtentic.com/api/v1/verifications/{verificationId}/send-inputs"
files = { "documents.items": ("example-file", open("example-file", "rb")) }
payload = {
"inputs": "[
{
\"fileName\": \"selfie.mp4\",
\"fieldName\": \"SELFIE_VIDEO\",
\"value\": \"selfie.mp4\"
},
{
\"fieldName\": \"DOCUMENT_TYPE\",
\"value\": \"PASSPORT\"
},
{
\"fileName\": \"passport_front.jpg\",
\"fieldName\": \"FRONT_IMAGE\",
\"value\": \"passport_front.jpg\"
}
]
",
"documents": "(binary file data)"
}
response = requests.post(url, data=payload, files=files)
print(response.text)const form = new FormData();
form.append('inputs', '[
{
"fileName": "selfie.mp4",
"fieldName": "SELFIE_VIDEO",
"value": "selfie.mp4"
},
{
"fieldName": "DOCUMENT_TYPE",
"value": "PASSPORT"
},
{
"fileName": "passport_front.jpg",
"fieldName": "FRONT_IMAGE",
"value": "passport_front.jpg"
}
]
');
form.append('documents', '(binary file data)');
form.append('documents.items', '{
"fileName": "example-file"
}');
const options = {method: 'POST'};
options.body = form;
fetch('https://api.urtentic.com/api/v1/verifications/{verificationId}/send-inputs', 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.urtentic.com/api/v1/verifications/{verificationId}/send-inputs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"inputs\"\r\n\r\n[\r\n {\r\n \"fileName\": \"selfie.mp4\",\r\n \"fieldName\": \"SELFIE_VIDEO\",\r\n \"value\": \"selfie.mp4\"\r\n },\r\n {\r\n \"fieldName\": \"DOCUMENT_TYPE\",\r\n \"value\": \"PASSPORT\"\r\n },\r\n {\r\n \"fileName\": \"passport_front.jpg\",\r\n \"fieldName\": \"FRONT_IMAGE\",\r\n \"value\": \"passport_front.jpg\"\r\n }\r\n]\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"documents\"\r\n\r\n(binary file data)\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"documents.items\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n{\r\n \"fileName\": \"example-file\"\r\n}\r\n-----011000010111000001101001--",
CURLOPT_HTTPHEADER => [
"Content-Type: multipart/form-data"
],
]);
$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.urtentic.com/api/v1/verifications/{verificationId}/send-inputs"
payload := strings.NewReader("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"inputs\"\r\n\r\n[\r\n {\r\n \"fileName\": \"selfie.mp4\",\r\n \"fieldName\": \"SELFIE_VIDEO\",\r\n \"value\": \"selfie.mp4\"\r\n },\r\n {\r\n \"fieldName\": \"DOCUMENT_TYPE\",\r\n \"value\": \"PASSPORT\"\r\n },\r\n {\r\n \"fileName\": \"passport_front.jpg\",\r\n \"fieldName\": \"FRONT_IMAGE\",\r\n \"value\": \"passport_front.jpg\"\r\n }\r\n]\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"documents\"\r\n\r\n(binary file data)\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"documents.items\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n{\r\n \"fileName\": \"example-file\"\r\n}\r\n-----011000010111000001101001--")
req, _ := http.NewRequest("POST", url, payload)
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.urtentic.com/api/v1/verifications/{verificationId}/send-inputs")
.body("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"inputs\"\r\n\r\n[\r\n {\r\n \"fileName\": \"selfie.mp4\",\r\n \"fieldName\": \"SELFIE_VIDEO\",\r\n \"value\": \"selfie.mp4\"\r\n },\r\n {\r\n \"fieldName\": \"DOCUMENT_TYPE\",\r\n \"value\": \"PASSPORT\"\r\n },\r\n {\r\n \"fileName\": \"passport_front.jpg\",\r\n \"fieldName\": \"FRONT_IMAGE\",\r\n \"value\": \"passport_front.jpg\"\r\n }\r\n]\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"documents\"\r\n\r\n(binary file data)\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"documents.items\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n{\r\n \"fileName\": \"example-file\"\r\n}\r\n-----011000010111000001101001--")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.urtentic.com/api/v1/verifications/{verificationId}/send-inputs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request.body = "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"inputs\"\r\n\r\n[\r\n {\r\n \"fileName\": \"selfie.mp4\",\r\n \"fieldName\": \"SELFIE_VIDEO\",\r\n \"value\": \"selfie.mp4\"\r\n },\r\n {\r\n \"fieldName\": \"DOCUMENT_TYPE\",\r\n \"value\": \"PASSPORT\"\r\n },\r\n {\r\n \"fileName\": \"passport_front.jpg\",\r\n \"fieldName\": \"FRONT_IMAGE\",\r\n \"value\": \"passport_front.jpg\"\r\n }\r\n]\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"documents\"\r\n\r\n(binary file data)\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"documents.items\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n{\r\n \"fileName\": \"example-file\"\r\n}\r\n-----011000010111000001101001--"
response = http.request(request)
puts response.read_body{
"message": "Inputs received and processing started",
"status": "PROCESSING",
"inputsAccepted": [
"SELFIE_VIDEO",
"DOCUMENT_TYPE",
"FRONT_IMAGE"
]
}{
"error": "MISSING_REQUIRED_FILES",
"message": "One or more required files are missing",
"missingInputs": [
"BACK_IMAGE"
]
}{
"error": "VERIFICATION_NOT_FOUND",
"message": "The specified verification ID was not found"
}Path Parameters
Unique identifier of the verification. This is the verificationId returned when starting a verification.
Body
JSON array of input definitions that map files to specific field types. Each object in the array should define:
- fieldName: The type of input (e.g., SELFIE_VIDEO, FRONT_IMAGE)
- value: The filename or value for the field
- fileName: The filename for file uploads (should match the uploaded file name)
"[\n {\n \"fileName\": \"selfie.mp4\",\n \"fieldName\": \"SELFIE_VIDEO\",\n \"value\": \"selfie.mp4\"\n },\n {\n \"fieldName\": \"DOCUMENT_TYPE\",\n \"value\": \"PASSPORT\"\n },\n {\n \"fileName\": \"passport_front.jpg\",\n \"fieldName\": \"FRONT_IMAGE\",\n \"value\": \"passport_front.jpg\"\n }\n]\n"
Document files to be processed. Multiple files can be uploaded with this field. The filenames should match the values in the "inputs" JSON.
Response
Inputs received and processing started