For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
  • Getting Started
    • Introduction
    • How Verifa Works
    • Quickstart
    • Choosing an Integration Method
  • Use Cases
    • KYC Onboarding
    • Age Verification
    • AML Compliance
    • Fraud Prevention
    • Marketplace Trust & Safety
  • Core Concepts
    • Overview
    • Sessions
    • Verifications & Checks
    • Workflows
    • Identities
    • Cases
    • Screening & Reports
    • Lists
  • Integration Guides
    • Overview
    • JavaScript SDK
    • Web Capture Flow
    • API-Only Integration
    • Mobile SDK
    • Webhooks Guide
    • MCP Server
    • Migrating from Persona
  • API Details
    • Overview
    • Authentication
    • Pagination
    • Rate Limiting
    • Versioning
    • Errors
    • Webhooks
    • Idempotency
    • Key Inflection
    • Data Access
    • Data Retention
  • Tutorials
    • Creating Your First Verification Session
    • Creating a Workflow
    • Receiving Webhooks & Validating Signatures
    • Handling Webhook Events
    • Custom Document Types & AI Extraction
  • Best Practices
    • Testing
    • Preventing Duplicates
    • Fraud Signals
    • Changelog
  • API Reference
On this page
  • Options
  • Usage
  • Notes
API Details

Key Inflection

Was this page helpful?
Previous

Data Access

Next
Built with

The Key-Inflection header lets you control the casing of JSON keys in API responses. This is useful when integrating with systems that expect a specific naming convention.

Options

ValueExample keyDescription
snake (default)face_match_passedSnake case — words separated by underscores.
camelfaceMatchPassedCamel case — first word lowercase, subsequent words capitalized.
kebabface-match-passedKebab case — words separated by hyphens.

Usage

$curl https://api.withverifa.com/api/v1/sessions/session_abc123/result \
> -H "X-API-Key: vk_live_your_key_here" \
> -H "Key-Inflection: camel"
snake_case (default)
camelCase
kebab-case
1{
2 "session_id": "session_abc123",
3 "face_match_passed": true,
4 "face_match_score": 0.94,
5 "extracted_data": {
6 "first_name": "Jane",
7 "last_name": "Doe",
8 "date_of_birth": "1997-06-15"
9 }
10}

Notes

  • Key inflection applies to response bodies only. Request bodies should always use snake case.
  • The Key-Inflection header is optional. If omitted, responses use snake case.
  • You can also set a default key inflection per webhook endpoint, so webhook payloads are delivered in your preferred casing.