Prerequisites
Before you begin, make sure you have:- A Verisoul API key (available from the Dashboard)
- Phone Intelligence enabled for your project. Contact us to turn it on.
Step 1: Configure Your Webhook Endpoint
Results are delivered by webhook. To configure one, go to Settings > Webhooks in the Dashboard and add a new endpoint. Select the Phone Intel Completed event type, enter your target URL, and click Create. Your webhook 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 Phone Numbers
Submit numbers to thePOST /v1/phone endpoint. You can submit a single number or a batch.
Submit Phone
Submit a single number with optional identity claims. Returns a
request_id for webhook correlation.Submit Phone Batch
Submit up to 1,000 numbers per request with per-number claims. Returns a
batch_id for grouping webhook results and for growing the batch across requests.request_id (single) or batch_id (batch), plus a webhook_configured boolean that shows whether a webhook subscription is active for your project. The response confirms the number was accepted for processing. The analysis results arrive by webhook.
Every request sets a required mode: standard, or pro to add porting history, breach intelligence, and Identity Intelligence. See Modes. Each request is billed, and pro costs more than standard. In a batch, an entry’s own mode overrides the top-level one.
+ and country code. A number without a country code is read as a number in claims.country. A number that cannot be parsed is still accepted, and its webhook returns decision: "high_risk" with the phone_invalid risk signal.
Claims and metadata
Each number can carryclaims and metadata. In a batch, set them on each entry in phones.
claims.countryis compared with the number’s country in every request. Inpromode it is also compared with the countries in the number’s breach history.claims.nameandclaims.emailare matched inpromode, which adds Identity Intelligence.claims.addressandmetadata(customer_tags,external_id) are returned unchanged in the webhook’sdata.input.
Building a batch across requests
Each batch request carries at most 1,000 numbers. To run a larger list as one batch, send the first request as usual, then pass the returnedbatch_id in each request that follows. Those numbers join the same batch, and each response reports the cumulative total_count and the batch’s current status. A batch holds up to 100,000 numbers.
batch_id returns a 400, as does a batch_id from another project or a request that would take the batch past 100,000 numbers. batch_name comes from the first request and is ignored afterwards. Each number has 24 hours to complete from the request that submitted it; any still pending after that come back with error.code: "timed_out".
Repeat requests
A number submitted again with the same claims andmode returns the earlier result from your project, and its webhook is sent right away.
Step 3: Receive and Verify Webhook Results
Once analysis completes, Verisoul delivers a webhook to your configured endpoint with the event typephone.intelligence.completed.
Webhook Signature Verification
All webhook requests include anx-signature header containing an HMAC-SHA256 signature over the timestamp, selected headers, and the raw request body.
See the Webhook Signature Verification guide for the full algorithm, code examples in Node.js, Python, Go, and C#, and troubleshooting tips.
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
Latency and Delivery Guarantees
Single requests:
Verisoul guarantees that the webhook for a single request will be delivered within 60 seconds of submission. If analysis has not completed by then, a webhook is sent with
status: "error" and error.code: "timed_out".
Batch requests:
Batch submissions are processed at a default throughput of approximately 250 numbers per minute per project, or about 15,000 per hour. A batch of 1,000 numbers is fully processed and all of its webhooks delivered within about 4 minutes of submission. A full batch of 100,000 numbers takes about 7 hours.
Each number in the batch triggers its own webhook as soon as its analysis completes. You can act on results before the batch finishes, and you can submit additional batches without waiting for earlier ones to drain.
If your use case requires higher throughput, contact us and we can raise your project’s batch processing rate.
Batch numbers are processed at a lower priority than single requests, so batch processing leaves single requests on their usual timing.
FAQ
What is the webhook retry policy?
What is the webhook retry policy?
If your endpoint does not return a 2xx response, Verisoul retries delivery several times over a few minutes. Webhooks may be delivered more than once, so your endpoint must be idempotent.
What is my rate limit?
What is my rate limit?
Calls to
/v1/phone count toward your API key’s rate limit. Phone Intelligence also has its own limits: 300 numbers per minute for single requests and 100,000 numbers per hour for batches. These limits cap how many numbers you can submit. Batch numbers are then processed at about 250 per minute. Requests over a limit return 429. If you need higher limits, 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.
Can I get results without a webhook?
Can I get results without a webhook?
Results are delivered by webhook. If
webhook_configured is false, Verisoul still processes the number, but no webhook is sent for it.