Email Intelligence API
Submit Email
Submit Email
curl --request POST \
--url https://api.sandbox.verisoul.ai/email \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"email": "john.doe@example.com",
"identity_intelligence": true,
"claims": {
"name": {
"first": "John",
"last": "Doe"
},
"phone": "+14155551234",
"country": "US"
}
}
'import requests
url = "https://api.sandbox.verisoul.ai/email"
payload = {
"email": "john.doe@example.com",
"identity_intelligence": True,
"claims": {
"name": {
"first": "John",
"last": "Doe"
},
"phone": "+14155551234",
"country": "US"
}
}
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({
email: 'john.doe@example.com',
identity_intelligence: true,
claims: {name: {first: 'John', last: 'Doe'}, phone: '+14155551234', country: 'US'}
})
};
fetch('https://api.sandbox.verisoul.ai/email', 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.ai/email",
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([
'email' => 'john.doe@example.com',
'identity_intelligence' => true,
'claims' => [
'name' => [
'first' => 'John',
'last' => 'Doe'
],
'phone' => '+14155551234',
'country' => 'US'
]
]),
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.ai/email"
payload := strings.NewReader("{\n \"email\": \"john.doe@example.com\",\n \"identity_intelligence\": true,\n \"claims\": {\n \"name\": {\n \"first\": \"John\",\n \"last\": \"Doe\"\n },\n \"phone\": \"+14155551234\",\n \"country\": \"US\"\n }\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.ai/email")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"email\": \"john.doe@example.com\",\n \"identity_intelligence\": true,\n \"claims\": {\n \"name\": {\n \"first\": \"John\",\n \"last\": \"Doe\"\n },\n \"phone\": \"+14155551234\",\n \"country\": \"US\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.verisoul.ai/email")
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 \"email\": \"john.doe@example.com\",\n \"identity_intelligence\": true,\n \"claims\": {\n \"name\": {\n \"first\": \"John\",\n \"last\": \"Doe\"\n },\n \"phone\": \"+14155551234\",\n \"country\": \"US\"\n }\n}"
response = http.request(request)
puts response.read_body{
"request_id": "13011020-857d-49ee-b155-bf35b572c25a",
"webhook_configured": true
}{
"message": "email is required",
"error": "Bad Request",
"statusCode": 400
}This endpoint accepts an email for processing and returns a
request_id for correlation. The full analysis result is delivered asynchronously through the email.intelligence.completed webhook. See the Webhook Payload Reference for response fields and examples.Authorizations
Body
application/json
See the Email type for full field documentation.
Email address to analyze
Identity claims to verify against data linked to the email. Useful when identity_intelligence is enabled.
Show child attributes
Show child attributes
Enable deeper identity analysis including online presence, name/phone matching, and connected identities. See Identity Intelligence.
Response
Email accepted for processing
Unique identifier for this request. Use to correlate with the request_id in the webhook callback.
Whether the project has an active webhook subscription for email intelligence results. If false, results are still processed but no webhook will be delivered.
⌘I
Submit Email
curl --request POST \
--url https://api.sandbox.verisoul.ai/email \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"email": "john.doe@example.com",
"identity_intelligence": true,
"claims": {
"name": {
"first": "John",
"last": "Doe"
},
"phone": "+14155551234",
"country": "US"
}
}
'import requests
url = "https://api.sandbox.verisoul.ai/email"
payload = {
"email": "john.doe@example.com",
"identity_intelligence": True,
"claims": {
"name": {
"first": "John",
"last": "Doe"
},
"phone": "+14155551234",
"country": "US"
}
}
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({
email: 'john.doe@example.com',
identity_intelligence: true,
claims: {name: {first: 'John', last: 'Doe'}, phone: '+14155551234', country: 'US'}
})
};
fetch('https://api.sandbox.verisoul.ai/email', 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.ai/email",
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([
'email' => 'john.doe@example.com',
'identity_intelligence' => true,
'claims' => [
'name' => [
'first' => 'John',
'last' => 'Doe'
],
'phone' => '+14155551234',
'country' => 'US'
]
]),
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.ai/email"
payload := strings.NewReader("{\n \"email\": \"john.doe@example.com\",\n \"identity_intelligence\": true,\n \"claims\": {\n \"name\": {\n \"first\": \"John\",\n \"last\": \"Doe\"\n },\n \"phone\": \"+14155551234\",\n \"country\": \"US\"\n }\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.ai/email")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"email\": \"john.doe@example.com\",\n \"identity_intelligence\": true,\n \"claims\": {\n \"name\": {\n \"first\": \"John\",\n \"last\": \"Doe\"\n },\n \"phone\": \"+14155551234\",\n \"country\": \"US\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.verisoul.ai/email")
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 \"email\": \"john.doe@example.com\",\n \"identity_intelligence\": true,\n \"claims\": {\n \"name\": {\n \"first\": \"John\",\n \"last\": \"Doe\"\n },\n \"phone\": \"+14155551234\",\n \"country\": \"US\"\n }\n}"
response = http.request(request)
puts response.read_body{
"request_id": "13011020-857d-49ee-b155-bf35b572c25a",
"webhook_configured": true
}{
"message": "email is required",
"error": "Bad Request",
"statusCode": 400
}