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
      • GETGet SDK configuration for a capture session
      • GETGet a device attestation challenge
      • POSTSubmit a device attestation
      • POSTSubmit NFC chip data
      • GETGet CSCA certificate bundle
API ReferenceSDK

Get a device attestation challenge

GET
https://devapi.withverifa.com/api/v1/sdk/attest/challenge
GET
/api/v1/sdk/attest/challenge
$curl -G https://devapi.withverifa.com/api/v1/sdk/attest/challenge \
> -H "X-API-Key: <apiKey>" \
> -H "Content-Type: application/json" \
> -d token=token
1{
2 "challenge": "a1b2c3d4e5f67890abcdef1234567890abcdef1234567890abcdef1234567890"
3}

Generates a one-time challenge used by the mobile SDK to request a device attestation from Apple App Attest or Google Play Integrity. The challenge expires after 5 minutes and is single-use.

Authenticated by capture session token.

Was this page helpful?
Previous

Submit a device attestation

Next
Built with

Authentication

X-API-Keystring

Organization API key. Keys are prefixed with vk_live_ (production) or vk_sandbox_ (sandbox).

Headers

Verifa-VersiondateOptional

API version date string (e.g. 2026-02-01). If omitted, the version pinned to your API key is used.

Query parameters

tokenstringRequired

Response

Challenge issued.
challengestring

Errors

400
Bad Request Error