Prerequisites
Before you begin, make sure you have:- A Verisoul API key (available from the Dashboard)
- A webhook endpoint where Verisoul can deliver results
Step 1: Configure Your Webhook Endpoint
Share your webhook endpoint URL with Verisoul. Your endpoint must:- Accept POST requests with JSON payloads
- Respond with a 2xx HTTP status code on success
- Be idempotent (Verisoul may retry delivery)
- Verify webhook signatures for security (see Step 3)
Step 2: Submit Emails
Submit emails to thePOST /email endpoint. You can submit a single email or a batch of up to 5,000 emails.
Submit Email
Submit a single email with optional identity claims. Returns a
request_id for webhook correlation.Submit Email Batch
Submit up to 5,000 emails with per-email claims. Returns a
batch_id for grouping webhook results.request_id (single) or batch_id (batch). This confirms the email has been accepted for processing — it does not contain the analysis results.
Step 3: Receive and Verify Webhook Results
Once analysis completes, Verisoul delivers a webhook to your configured endpoint with the event typeemail.intelligence.completed.
Webhook Signature Verification
All webhook requests include anx-signature header for authentication.
- Each webhook subscription has a shared secret
- Verisoul signs requests using HMAC-SHA256
- The signature covers a timestamp, selected headers, and the raw request body
Processing the Payload
- Verify the webhook signature
- Check the
statusfield — eithersuccessorerror - On success, use
data.result.decisionanddata.result.risk_scorefor your business logic - On error, inspect the
errorobject for details
FAQ
What is the expected latency?
What is the expected latency?
Latency depends on whether Verisoul has previously analyzed the email or domain.
- Invalid or previously analyzed emails: under 1 second
- New email on a known domain: approximately 5 seconds
- New domain never seen before: 30–60 seconds
What is the webhook retry policy?
What is the webhook retry policy?
If your endpoint does not return a 2xx response, Verisoul retries delivery:
- Up to 5 fast retries with increasing delays
- Up to 5 slow retries approximately once per hour
What is my rate limit?
What is my rate limit?
Calls to
/email count toward your API key’s rate limit. If you need a higher limit, contact Verisoul.What IP address do webhooks come from?
What IP address do webhooks come from?
All Verisoul webhooks are sent from:You can allowlist this IP if your endpoint is behind a firewall. You should still verify webhook signatures regardless.
