Webhook Events
SNH AI delivers webhook events to notify your application about verification status changes in real-time. This document provides comprehensive documentation of all event types, payload structures, field definitions, and examples from the actual verification system.Payload Structure
All webhook events follow a consistent structure with three top-level fields:Top-Level Fields
Payload Enrichment
The system automatically enriches webhook payloads with additional context: For all events withsearchId:
externalSearchId: Your external identifier provided at order creation
verification.completed, and most verification.action_required):
channel: Single terminal channel used (EMAIL,VOICE,FAX, orJSON)callDirection(VOICE terminal events only):INBOUNDorOUTBOUND— the call that produced this event. Email and fax omit the key. Outbound-only notifications (OUTBOUND_ATTEMPT,VOICEMAIL_LEFT) omit it.callId,hasRecording,hasTranscript(VOICE events from a finished call, includingVOICEMAIL_LEFT; notOUTBOUND_ATTEMPT): which call produced the event and whether it has a recording and a transcript. Fetch them with Voice call recordings. No URLs are ever sent on webhooks.verificationResult.employmentVerificationorverificationResult.educationVerification(onverification.completedonly): the highest-confidence record as flatprovided*(what the order claimed) andverified*(what the verifier returned) propertiesmessage(JSON-channelverification.action_requiredwithstatus: "QA Review"only): Human-readable review summary for client UI — plain-text breakdown of each third-party history record when_processedFromJsonis true. Not present on EMAIL, FAX, or VOICE action-required webhooks (includingstatus: "QA Review"). EMAIL/FAX/VOICE verified inbound with field conflicts typically close viaverification.completedandverificationResult.discrepancy: trueinstead.discrepancy(onVERIFIEDverification.completedonly): Operational closeout flag onverificationResult;truewhen a keyprovided*/verified*pair differs after normalization
Some
verification.action_required events are non-terminal when searchConfig.parallelProcessing: true (default false): for example THIRD_PARTY_RECORD stay-open holds and contact-thread / banned-vendor holds that leave the search IN_PROGRESS. When parallelProcessing is omitted or false, those same paths use legacy search-wide cancel and terminalize. Do not assume every action_required closes the search.verification.notification with INBOUND_RECEIVED_DETAIL):
- Scalar extraction under
metadata.extractedData - When a critical applicant mismatch triggers review:
applicantMismatch: true,_requiresManualReview: true, andapplicantMismatcheswith the per-field detail
accreditation: Institutional accreditation outcome (education searches only)
WebhookEventType Enum
Pause/resume/cancel outbound updates are delivered as
verification.notification with notificationType values such as OUTBOUND_PAUSED, OUTBOUNDS_PAUSED, OUTBOUND_RESUMED, OUTBOUNDS_RESUMED, and OUTBOUNDS_CANCELLED.
HTTP Headers
Every webhook request includes these headers:Signature Verification
Webhooks are signed with HMAC-SHA256 (X-Webhook-Signature: sha256=<hex>) when a signing secret applies. Signed requests also carry X-Webhook-Timestamp and X-Webhook-Signature-V2 for replay protection. Always verify using the raw request body bytes. Full verification examples (Node.js, Python, OpenSSL) live in Webhook Integration.
Common Enums
SearchType
VerificationChannel
StandardOutcomeCode
Event: verification.completed
Sent when a verification search completes with results.Data Fields
VerificationResult Object
VerifierProfile Object
Verification questions on completed events
EMPLOYMENT and EDUCATION searches pin a questionnaire (standard questions always; custom questions when you sendverificationQuestions at order creation). On verification.completed, answers appear in:
Each question includes request fields plus
fieldKey, origin ("standard" | "custom"), selectedAnswer, comment, and optional conditionMet.
Answer shapes by type:
Incomplete or invalid required answers on PDF/fax/voice inbound do not produce
verification.completed — they escalate via verification.action_required instead (see Questionnaire-related metadata).
Full authoring rules, channel selection, and request examples: Verification question.
Example: completed payload with custom question answers
In a live payload,
questionnaire.questions matches verificationQuestions exactly (abbreviated as [] above).Understanding Provided vs Verified Fields
The verification system tracks two sets of data for each verification: Provided Fields (provided*):
- Information submitted by the applicant or requester at order creation
- Stored in the search metadata from the original request
- Used as the basis for verification and comparison
- Never modified during the verification process
verified*):
- Information confirmed through the verification process
- Extracted from employer/institution responses (email, voice, fax, or structured JSON inbound)
- Represents the ground truth according to the verifying organization
- May differ from provided fields (discrepancies)
verification.completed sets verificationResult.discrepancy:
- When the closeout already decided whether the answers conflict with the order, that decision is used.
- Otherwise the key
provided*/verified*pairs are compared after normalization (case, whitespace, and separators ignored). Dates match when they name the same month, and company or school names match when they differ only by punctuation or legal suffixes such as “Inc.”. A pair is skipped when either side is empty. truemeans at least one key pair differs;falsemeans none do.
verification.completed exposes only the highest-confidence record, as verificationResult.employmentVerification or verificationResult.educationVerification.
Inbound replies are also checked against the applicant and the details supplied at order creation. A critical mismatch routes the reply to manual review and adds applicantMismatch, applicantMismatches, and _requiresManualReview to the inbound extraction (see submit-inbound-notification).
In those inbound checks and in the voice closeout decision, a company or school name is not a mismatch when it names the same organization written differently: spacing or punctuation (“SNH-AI” / “SNH AI”), a shortened later word (“SNH Cap” / “SNH Capital”), a common abbreviation or an acronym, another name found for the organization during research, or a name an automated check confirms is the same organization. A voice call that confirms nothing beyond such a name goes to review instead of completing as verified.
JSON channel closeout: For terminal verification.completed events where channel is JSON, verificationResult.extractedData retains best-match scalar fields and _processedFromJson / _thirdPartyProvider, and verificationResult.search includes nested order/applicant context.
Why This Matters:
Discrepancies may indicate:
- Minor differences in how information is recorded (e.g., “Software Engineer” vs “Sr. Software Engineer”)
- Applicant inaccuracies (intentional or unintentional)
- Incomplete or outdated information from either source
- Data entry errors on either side
EmploymentVerification Object
Employment verification data for the highest-confidence record, as flatprovided* (from the order) and verified* (from the verifier) properties. Sent at data.verificationResult.employmentVerification on verification.completed for EMPLOYMENT searches, on every channel.
Provided fields
Verified and metadata fields
Example: Employment Verification (Voice)
Example: Employment Verification (JSON channel)
JSON closeouts carry the highest-confidence record atverificationResult.employmentVerification. verificationResult.extractedData retains scalar extraction for the selected record, and verificationResult.search includes nested order/applicant context. For orders created after the data-minimization change, the nested applicant carries ssnLast4 only: ssn is an empty string and birthday, phone, and email are null.
verificationResult.search may include full nested order/applicant metadata.
EducationVerification Object
Education verification data for the highest-confidence record, as flatprovided* (from the order) and verified* (from the verifier) properties. Sent at data.verificationResult.educationVerification on verification.completed for EDUCATION searches, on every channel.
Provided fields
Verified and metadata fields
Example: Education Verification (Fax)
Example: Education Verification (No Record)
AccreditationResult Object
Included in education verification webhooks (verification.completed and verification.action_required).
Event: verification.action_required
Sent when verification cannot proceed without manual intervention.data.message is JSON-channel QA Review only. It appears on verification.action_required when channel is JSON, status is QA Review, and the inbound was processed from third-party JSON (metadata.extractedData._processedFromJson: true). EMAIL, FAX, and VOICE action-required webhooks do not include message — use metadata.summary and related context instead.For EMAIL/FAX/VOICE verified inbound with applicant or field mismatches, the typical path is verification.completed with verificationResult.discrepancy: true and the provided* / verified* pairs on verificationResult.employmentVerification, not verification.action_required.Data Fields
ActionRequiredReasonCode Enum
If
searchConfig.thirdPartyBan contains the detected canonical vendor, THIRD_PARTY_RECORD is intentionally suppressed.
Research records an audit notation and continues manual/outbound handling. Inbound third-party redirects to a banned vendor emit
HUMAN_ESCALATION with metadata.escalationSubtype: "THIRD_PARTY_BAN". With searchConfig.parallelProcessing: true, that
escalation is a non-terminal contact-thread hold (search stays IN_PROGRESS); when parallelProcessing is false or omitted,
the path uses legacy search-wide cancel and terminalize. See Third-party ban.Questionnaire-related metadata (HUMAN_ESCALATION)
When custom or standard questions drive escalation, inspect metadata.escalationSubtype (and related fields). These paths do not emit verification.completed.
Integration tips:
- Treat
MISSING_REQUIRED_INFORMATIONandVERIFICATION_DATA_INVALIDas form-quality failures — show ops the partial answers and signedartifactUrlswhen present. VOICE_ONLY_NOT_SUPPORTEDmeans the search has only a voice destination and outbound voice is not enabled for your organization; provide an email or fax contact.invalidFields[].reasonis a human-readable string (for examplefewer than minSelections (1),value "Maybe" is not a defined option,multiple exclusive selections detected).
Inbound review metadata (HUMAN_ESCALATION)
When an inbound reply claims the verification is complete but cannot be trusted to close the search automatically, the search moves to QA review with reasonCode: HUMAN_ESCALATION and one escalationSubtype. If several checks fail at once, the subtype names the first one in this table, and summary describes the same cause.
classification and confidencePolicy are also present on other subtypes, and on non-verified outcomes (no_record_or_not_found, records_unavailable, wrong_org_or_misdirected), when the classification confidence was below 60%. On a non-verified outcome, this means the outcome itself may be wrong, so confirm it before acting on it.
Classification-confidence review is rolling out. Until it is enabled,
LOW_CLASSIFICATION_CONFIDENCE and confidencePolicy are not sent; the other three subtypes are sent today. Handle all four now so nothing changes on your side when it is enabled.inboundMessageContext.detailNotificationSent is true when an INBOUND_RECEIVED_DETAIL notification was already handed off for delivery for the same reply. It does not confirm that your endpoint received it: delivery runs in the background with the usual retries. Use it to avoid recording the reply twice, and rely on the INBOUND_RECEIVED_DETAIL delivery itself (or a webhook replay) if you need the reply content. It is omitted when the search suppresses notifications, or sends them without the raw body (notifications.includeRawInboundInWebhook: false), because then the detail notification does not carry the full reply.
Voice-related metadata (HUMAN_ESCALATION)
Automated verification calls escalate through the same metadata.escalationSubtype field. The subtype says why the call stopped short of a verification, which determines what a person needs to pick up.
CALLBACK_REQUESTED and CUSTOM_QUESTIONS_FOLLOWUP are also emitted without a searchId when an inbound caller
never supplies a usable file reference. Those arrive as tenant-scoped verification.action_required events with
searchId: "", because there is no search to attach them to.ContactPayload Object
Structured contact information based on search type.EmploymentContactPayload
EducationContactPayload
Example: THIRD_PARTY_RECORD (Employment)
Example: THIRD_PARTY_RECORD (Driver’s Seat)
Example: THIRD_PARTY_RECORD (Education with Accreditation)
Example: UPSTREAM_ISSUE
Example: SYSTEM_FAILURE
Example: SLA_REACHED
Example: HUMAN_ESCALATION (EMAIL — no message)
Non-JSON escalations (for example SLA timeout) may use status: "QA Review" but do not include data.message. Review context lives in metadata (for example summary, contactPlan).
Example: HUMAN_ESCALATION (JSON channel — includes message)
For JSON-channel QA Review (status: "QA Review"), includes a root-level message string intended for display to clients — operators, review queues, or end-user-facing UI. It is a plain-language summary of the issue and what the third-party provider returned, so reviewers do not need to parse structured JSON to understand the case.
The message is auto-generated when channel is JSON, normalized verification records are present, and the inbound payload was processed from third-party JSON (metadata.extractedData._processedFromJson: true). This applies regardless of reasonCode (for example HUMAN_ESCALATION or OTHER). It contains:
- Intro line — the review task (for example, choose the most relevant employment or education record and close the search using that row).
- One
Record Nblock per provider history row — extracted values such as employer/school, job title or degree, dates, location, applicant name, salary, and contact details when present. - Per-record
comments— short notes on notable issues (applicant name conflicts, missing fields, location mismatches, etc.).
message for human-readable UI copy and metadata.extractedData for scalar extraction and escalation flags.
Example: HUMAN_ESCALATION (missing required custom question)
Example: HUMAN_ESCALATION (invalid custom question marks)
Example: HUMAN_ESCALATION (voice only)
Emitted when the only available channel is voice and your organization cannot place outbound voice calls.Example: OTHER
OTHER (JSON channel)
JSON-channel inbound responses routed withreasonCode: "OTHER" — for example when extraction yields no_record_or_not_found but the provider payload still contains employment or education history rows — include the same client-facing message field as other JSON-channel verification.action_required events. Display message in review UI so operators and end users see a plain-language summary of evaluated records and why manual review is needed; use metadata.extractedData for scalar extraction flags.
OTHER (EMAIL channel)
Non-JSONOTHER webhooks omit message and typically carry review context in metadata alone. Verified EMAIL inbound with wrong applicant or title data (outcome verified with field mismatches) usually emits verification.completed with verificationResult.discrepancy: true, not verification.action_required — see Discrepancy Detection.
Event: verification.notification
Sent during intermediate stages of verification process.Data Fields
Agent Object
Present only on Driver’s Seat–triggered webhooks when the operator’s email is available and identity is bound to the authenticated caller: a user JWT with email/name claims (header email/name are ignored), or an allowlisted M2M client asserting the user context (AUTH_CLIENT_ID portal BFF, plus optional TRUSTED_BFF_CLIENT_IDS; signed as X-User-Context-Token once USER_CONTEXT_TOKEN_MODE=required). Omitted when the header cannot be trusted. Never appears on research, inbound, outbound-attempt, or public order-search notification/action_required payloads.
VerificationNotificationType Enum
Classification Object
ContactPlanEntry Object
CONTACT_PLAN is emitted after research discovers viable contacts. Contact changes through the public Manage Search Contacts endpoints or Driver’s Seat use CONTACT_PLAN_ADDED, CONTACT_PLAN_UPDATED, or CONTACT_PLAN_REMOVED. Accuracy marks use CONTACT_PLAN_MARKED_ACCURATE or CONTACT_PLAN_MARKED_INACCURATE and include metadata.accuracyStatus plus metadata.reason. Driver’s Seat mutations may also include top-level agent (id + email).
When a contact mutation notification is emitted,
metadata may include:
When a
SEARCH_UPDATED notification is emitted, metadata includes:
Understanding Confidence Scores:
Confidence scores (0-1) indicate the system’s trust in the contact information:
0.9-1.0: High confidence - Previously verified contacts, organization preferences with strict language0.7-0.89: Medium-high confidence - Verified contacts without strict language, internal database matches0.5-0.69: Medium confidence - Web research results, parent organization contacts< 0.5: Lower confidence - Uncertain matches, limited informationnull: No confidence score available (third-party vendors, manual entries)
- Determine outbound attempt priority (higher confidence contacts attempted first)
- Apply minimum confidence thresholds per channel (configurable in organization policy)
- Filter out low-quality contacts before outbound attempts
OutboundAttempt Object
OutboundControl Object
Used for pause/resume/cancel notification types:OUTBOUND_PAUSED, OUTBOUNDS_PAUSED, OUTBOUND_RESUMED, OUTBOUNDS_RESUMED, and OUTBOUNDS_CANCELLED.
OUTBOUNDS_PAUSED covers the outbound that was pending when the pause was requested; outbound scheduled afterwards stays live
until the next pause. Resuming or cancelling the last paused outbound emits OUTBOUNDS_RESUMED after the single-outbound event,
since that request releases the search-level hold.
OutboundControlItem Object
AgentIntervention Object
Used whennotificationType is AGENT_INTERVENTION (Driver’s Seat + Schedule Outbound / Send Now).
details fields:
InboundMetadata Object
INBOUND_RECEIVED_DETAIL metadata object
Used whennotificationType is INBOUND_RECEIVED_DETAIL (all inbound channels return the highest-confidence root-level verification object).
JSON channel
extractedData highlights (under metadata.extractedData; the selected verification object is at data root):
_processedFromJson,_thirdPartyProvider— processing provenanceemployerName,jobTitle,startDate,endDate,employerLocation,extractedApplicantName,refId,searchType,outcome— best-match scalar extractionverifiedDates,verifiedContent, optionalextraction— structured extraction mirrors for backward compatibilityapplicantMismatch,_requiresManualReview,applicantMismatches— present when a critical mismatch on the best-match row triggers manual review;applicantMismatchesholds theexpectedandextractedvalue of each mismatched field
notifications.includeRawInboundInWebhook: false to strip rawBody and extractedData from the delivered webhook (activity records retain full metadata).
Example: CONTACT_PLAN
Example: CONTACT_PLAN_ADDED (Driver’s Seat)
Example: AGENT_INTERVENTION (Schedule Outbound)
Example: OUTBOUND_SCHEDULED
Example: OUTBOUND_FAILED
Example: OUTBOUND_ATTEMPT
Example: VOICEMAIL_LEFT
attemptNumber matches the OUTBOUND_ATTEMPT event for the same call, so the two can be paired.
callbackNumber is your verification line in its display form: the number a verifier calls back on to continue the verification. callbackNumberE164 is the caller ID this call presented, in E.164, which is the same verification line — one phone number serves both directions. Match an arriving call against the E.164 form; show the display form to people.
optOutNumber is the toll-free opt-out line the call and the voicemail read out, in E.164. It is not the caller ID.
quotedReference is the search reference a verifier who calls back may quote. The voicemail does not read it aloud; it is included so you can match a returning caller. It is omitted when the search has no reference a caller could speak back: a client-supplied externalSearchId that is not 7-8 digits suppresses the numeric reference.
Each of these fields is omitted when its value is unavailable.
Example: INBOUND_MESSAGE (Email)
Example: INBOUND_MESSAGE (Voice)
Example: INBOUND_MESSAGE (Urgent)
Example: INBOUND_RECEIVED_DETAIL (JSON channel)
Emitted after a successfulchannel: "JSON" inbound notification when the best-match history row agrees with the applicant-provided fields. applicantMismatch is omitted.
Example: INBOUND_RECEIVED_DETAIL (JSON channel — critical mismatch)
Emitted after a successfulchannel: "JSON" inbound notification. When a critical mismatch triggers escalation, metadata.extractedData includes applicantMismatch: true, _requiresManualReview: true, and applicantMismatches with the expected (order) and extracted (verifier) value of each mismatched field.
Third-Party Vendor Reference
WhenreasonCode is THIRD_PARTY_RECORD, the metadata object includes vendor information. The canonical vendor codes below are accepted by searchConfig.thirdPartyBan for per-search third-party suppression; UNKNOWN is not accepted in the ban list. See Third-party ban for client-facing examples.
Two vendors are sent under a different code on webhooks:
metadata.vendor and thirdPartyRecord.metadata.vendor carry NSCH_EQUIFAX for NSCH and VERIFY_TODAY for VERIFYTODAY. Every other vendor is sent as listed. searchConfig.thirdPartyBan and contactHints still take the canonical codes (NSCH, VERIFYTODAY).Employment Vendors
Education Vendors
Delivery, retries, and testing
Retry policy, signature verification handlers, idempotency, and local testing tools (ngrok, webhook.site) are documented once in Webhook Integration. Organization-level webhook defaults: Webhook Integration — Organization-level configuration. SLA and escalation behavior: SLA and escalation.Footnotes
- “Theary” is the product/platform name reflected in this wire-level identifier. It refers to the same product as “SNH AI,” the company name used elsewhere in these docs. ↩

