Submit Phone Batch
curl --request POST \
--url https://api.sandbox.verisoul.com/v1/phone \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"phones": [
{
"phone": "+14155550142",
"claims": {
"name": {
"first": "John",
"last": "Doe"
},
"country": "US"
}
},
{
"phone": "+442079460958",
"claims": {
"email": "jane.doe@example.com",
"country": "GB"
},
"metadata": {
"external_id": "user-5678"
}
},
{
"phone": "+16465550199"
}
],
"batch_name": "onboarding-review-2026-12",
"mode": "pro"
}
'import requests
url = "https://api.sandbox.verisoul.com/v1/phone"
payload = {
"phones": [{
"phone": "+14155550142",
"claims": {
"name": {
"first": "John",
"last": "Doe"
},
"country": "US"
}
}, {
"phone": "+442079460958",
"claims": {
"email": "jane.doe@example.com",
"country": "GB"
},
"metadata": { "external_id": "user-5678" }
}, { "phone": "+16465550199" }],
"batch_name": "onboarding-review-2026-12",
"mode": "pro"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
phones: [
{
phone: '+14155550142',
claims: {name: {first: 'John', last: 'Doe'}, country: 'US'}
},
{
phone: '+442079460958',
claims: {email: 'jane.doe@example.com', country: 'GB'},
metadata: {external_id: 'user-5678'}
},
{phone: '+16465550199'}
],
batch_name: 'onboarding-review-2026-12',
mode: 'pro'
})
};
fetch('https://api.sandbox.verisoul.com/v1/phone', 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.sandbox.verisoul.com/v1/phone",
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([
'phones' => [
[
'phone' => '+14155550142',
'claims' => [
'name' => [
'first' => 'John',
'last' => 'Doe'
],
'country' => 'US'
]
],
[
'phone' => '+442079460958',
'claims' => [
'email' => 'jane.doe@example.com',
'country' => 'GB'
],
'metadata' => [
'external_id' => 'user-5678'
]
],
[
'phone' => '+16465550199'
]
],
'batch_name' => 'onboarding-review-2026-12',
'mode' => 'pro'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.sandbox.verisoul.com/v1/phone"
payload := strings.NewReader("{\n \"phones\": [\n {\n \"phone\": \"+14155550142\",\n \"claims\": {\n \"name\": {\n \"first\": \"John\",\n \"last\": \"Doe\"\n },\n \"country\": \"US\"\n }\n },\n {\n \"phone\": \"+442079460958\",\n \"claims\": {\n \"email\": \"jane.doe@example.com\",\n \"country\": \"GB\"\n },\n \"metadata\": {\n \"external_id\": \"user-5678\"\n }\n },\n {\n \"phone\": \"+16465550199\"\n }\n ],\n \"batch_name\": \"onboarding-review-2026-12\",\n \"mode\": \"pro\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
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://api.sandbox.verisoul.com/v1/phone")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"phones\": [\n {\n \"phone\": \"+14155550142\",\n \"claims\": {\n \"name\": {\n \"first\": \"John\",\n \"last\": \"Doe\"\n },\n \"country\": \"US\"\n }\n },\n {\n \"phone\": \"+442079460958\",\n \"claims\": {\n \"email\": \"jane.doe@example.com\",\n \"country\": \"GB\"\n },\n \"metadata\": {\n \"external_id\": \"user-5678\"\n }\n },\n {\n \"phone\": \"+16465550199\"\n }\n ],\n \"batch_name\": \"onboarding-review-2026-12\",\n \"mode\": \"pro\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.verisoul.com/v1/phone")
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["Content-Type"] = 'application/json'
request.body = "{\n \"phones\": [\n {\n \"phone\": \"+14155550142\",\n \"claims\": {\n \"name\": {\n \"first\": \"John\",\n \"last\": \"Doe\"\n },\n \"country\": \"US\"\n }\n },\n {\n \"phone\": \"+442079460958\",\n \"claims\": {\n \"email\": \"jane.doe@example.com\",\n \"country\": \"GB\"\n },\n \"metadata\": {\n \"external_id\": \"user-5678\"\n }\n },\n {\n \"phone\": \"+16465550199\"\n }\n ],\n \"batch_name\": \"onboarding-review-2026-12\",\n \"mode\": \"pro\"\n}"
response = http.request(request)
puts response.read_body{
"batch_id": "bbc73b22-bd47-48e4-b173-c9ca085efb2a",
"batch_name": "onboarding-review-2026-12",
"status": "pending",
"total_count": 3,
"webhook_configured": true
}batch_id for correlation. Each number’s full analysis result is delivered asynchronously through the phone.intelligence.completed webhook. See the Webhook Payload Reference for response fields and examples.Body
standard checks each number's line type and carrier, its number age from public numbering plans, public receive-SMS lists for disposable numbers, and the claimed country. pro adds porting history, breach intelligence, and Identity Intelligence: online accounts, connected names and emails, and name and email claim matching. Each request is billed, and pro costs more than standard. An entry's own mode overrides this for that number.
standard, pro Append these numbers to an existing batch instead of creating a new one. Pass the batch_id returned by an earlier call. The batch must belong to the same project and still be within 24 hours of its most recent request; each append extends that window. batch_name is ignored when appending. See Building a batch across requests.
Response
Batch accepted for processing
curl --request POST \
--url https://api.sandbox.verisoul.com/v1/phone \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"phones": [
{
"phone": "+14155550142",
"claims": {
"name": {
"first": "John",
"last": "Doe"
},
"country": "US"
}
},
{
"phone": "+442079460958",
"claims": {
"email": "jane.doe@example.com",
"country": "GB"
},
"metadata": {
"external_id": "user-5678"
}
},
{
"phone": "+16465550199"
}
],
"batch_name": "onboarding-review-2026-12",
"mode": "pro"
}
'import requests
url = "https://api.sandbox.verisoul.com/v1/phone"
payload = {
"phones": [{
"phone": "+14155550142",
"claims": {
"name": {
"first": "John",
"last": "Doe"
},
"country": "US"
}
}, {
"phone": "+442079460958",
"claims": {
"email": "jane.doe@example.com",
"country": "GB"
},
"metadata": { "external_id": "user-5678" }
}, { "phone": "+16465550199" }],
"batch_name": "onboarding-review-2026-12",
"mode": "pro"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
phones: [
{
phone: '+14155550142',
claims: {name: {first: 'John', last: 'Doe'}, country: 'US'}
},
{
phone: '+442079460958',
claims: {email: 'jane.doe@example.com', country: 'GB'},
metadata: {external_id: 'user-5678'}
},
{phone: '+16465550199'}
],
batch_name: 'onboarding-review-2026-12',
mode: 'pro'
})
};
fetch('https://api.sandbox.verisoul.com/v1/phone', 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.sandbox.verisoul.com/v1/phone",
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([
'phones' => [
[
'phone' => '+14155550142',
'claims' => [
'name' => [
'first' => 'John',
'last' => 'Doe'
],
'country' => 'US'
]
],
[
'phone' => '+442079460958',
'claims' => [
'email' => 'jane.doe@example.com',
'country' => 'GB'
],
'metadata' => [
'external_id' => 'user-5678'
]
],
[
'phone' => '+16465550199'
]
],
'batch_name' => 'onboarding-review-2026-12',
'mode' => 'pro'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.sandbox.verisoul.com/v1/phone"
payload := strings.NewReader("{\n \"phones\": [\n {\n \"phone\": \"+14155550142\",\n \"claims\": {\n \"name\": {\n \"first\": \"John\",\n \"last\": \"Doe\"\n },\n \"country\": \"US\"\n }\n },\n {\n \"phone\": \"+442079460958\",\n \"claims\": {\n \"email\": \"jane.doe@example.com\",\n \"country\": \"GB\"\n },\n \"metadata\": {\n \"external_id\": \"user-5678\"\n }\n },\n {\n \"phone\": \"+16465550199\"\n }\n ],\n \"batch_name\": \"onboarding-review-2026-12\",\n \"mode\": \"pro\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
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://api.sandbox.verisoul.com/v1/phone")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"phones\": [\n {\n \"phone\": \"+14155550142\",\n \"claims\": {\n \"name\": {\n \"first\": \"John\",\n \"last\": \"Doe\"\n },\n \"country\": \"US\"\n }\n },\n {\n \"phone\": \"+442079460958\",\n \"claims\": {\n \"email\": \"jane.doe@example.com\",\n \"country\": \"GB\"\n },\n \"metadata\": {\n \"external_id\": \"user-5678\"\n }\n },\n {\n \"phone\": \"+16465550199\"\n }\n ],\n \"batch_name\": \"onboarding-review-2026-12\",\n \"mode\": \"pro\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.verisoul.com/v1/phone")
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["Content-Type"] = 'application/json'
request.body = "{\n \"phones\": [\n {\n \"phone\": \"+14155550142\",\n \"claims\": {\n \"name\": {\n \"first\": \"John\",\n \"last\": \"Doe\"\n },\n \"country\": \"US\"\n }\n },\n {\n \"phone\": \"+442079460958\",\n \"claims\": {\n \"email\": \"jane.doe@example.com\",\n \"country\": \"GB\"\n },\n \"metadata\": {\n \"external_id\": \"user-5678\"\n }\n },\n {\n \"phone\": \"+16465550199\"\n }\n ],\n \"batch_name\": \"onboarding-review-2026-12\",\n \"mode\": \"pro\"\n}"
response = http.request(request)
puts response.read_body{
"batch_id": "bbc73b22-bd47-48e4-b173-c9ca085efb2a",
"batch_name": "onboarding-review-2026-12",
"status": "pending",
"total_count": 3,
"webhook_configured": true
}