Verifa SDK API
The sdk API from Verifa, for sdk.
The sdk API from Verifa, for sdk.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/withverifa-com:withverifa-com-sdk-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Reference SDK API
version: 1.0.0
servers:
- url: https://api.withverifa.com
description: https://api.withverifa.com
tags:
- name: SDK
paths:
/api/v1/sdk/config:
get:
operationId: sdk_getSdkConfig
summary: Get SDK configuration for a capture session
description: 'Returns the mobile SDK configuration for a capture session, including
the ordered step list, accepted document types, branding colours,
liveness/NFC/signals config, and any partially completed state used
for resume.
Authenticated by capture session `token` (query parameter), not by API key.'
tags:
- SDK
parameters:
- name: token
in: query
description: Capture session token.
required: true
schema:
type: string
- name: Verifa-Version
in: header
description: 'API version date string (e.g. `2026-02-01`). If omitted, the version
pinned to your API key is used.
'
required: false
schema:
type: string
format: date
responses:
'200':
description: SDK configuration.
content:
application/json:
schema:
$ref: '#/components/schemas/SDK_getSdkConfig_Response_200'
'400':
description: Invalid request parameters.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Resource not found.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- ApiKeyAuth: []
/api/v1/sdk/attest/challenge:
get:
operationId: sdk_getSdkAttestChallenge
summary: Get a device attestation challenge
description: '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`.'
tags:
- SDK
parameters:
- name: token
in: query
required: true
schema:
type: string
- name: Verifa-Version
in: header
description: 'API version date string (e.g. `2026-02-01`). If omitted, the version
pinned to your API key is used.
'
required: false
schema:
type: string
format: date
responses:
'200':
description: Challenge issued.
content:
application/json:
schema:
$ref: '#/components/schemas/SDK_getSdkAttestChallenge_Response_200'
'400':
description: Invalid request parameters.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- ApiKeyAuth: []
/api/v1/sdk/attest:
post:
operationId: sdk_submitSdkAttestation
summary: Submit a device attestation
description: 'Accepts a device attestation submission from the mobile SDK. The
server validates the one-time challenge. Server-side Apple App
Attest / Google Play Integrity verification is not yet implemented —
the endpoint currently returns `status: "not_verified"` after
consuming the challenge.
Authenticated by capture session `token` in the request body.'
tags:
- SDK
parameters:
- name: Verifa-Version
in: header
description: 'API version date string (e.g. `2026-02-01`). If omitted, the version
pinned to your API key is used.
'
required: false
schema:
type: string
format: date
responses:
'200':
description: Attestation processed.
content:
application/json:
schema:
$ref: '#/components/schemas/SDK_submitSdkAttestation_Response_200'
'400':
description: Invalid request parameters.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: Request validation failed.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
requestBody:
content:
application/json:
schema:
type: object
properties:
token:
type: string
description: Capture session token.
platform:
$ref: '#/components/schemas/ApiV1SdkAttestPostRequestBodyContentApplicationJsonSchemaPlatform'
attestation_token:
type: string
challenge:
type: string
required:
- token
- platform
- attestation_token
- challenge
security:
- ApiKeyAuth: []
/api/v1/sdk/nfc:
post:
operationId: sdk_submitSdkNfc
summary: Submit NFC chip data
description: 'Submits NFC passport chip data read by the mobile SDK. The data is
stored on the session metadata and can be consumed by the
`nfc_chip_auth` verification policy.
Authenticated by capture session `token` in the request body.'
tags:
- SDK
parameters:
- name: Verifa-Version
in: header
description: 'API version date string (e.g. `2026-02-01`). If omitted, the version
pinned to your API key is used.
'
required: false
schema:
type: string
format: date
responses:
'200':
description: NFC data accepted.
content:
application/json:
schema:
$ref: '#/components/schemas/SDK_submitSdkNfc_Response_200'
'400':
description: Invalid request parameters.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
requestBody:
content:
application/json:
schema:
type: object
properties:
token:
type: string
chip_personal_data:
type: object
additionalProperties:
description: Any type
chip_photo_base64:
type:
- string
- 'null'
passive_auth_passed:
type: boolean
active_auth_passed:
type:
- boolean
- 'null'
data_groups_read:
type: array
items:
type: integer
required:
- token
- chip_personal_data
- passive_auth_passed
security:
- ApiKeyAuth: []
/api/v1/sdk/csca-certificates:
get:
operationId: sdk_getSdkCscaCertificates
summary: Get CSCA certificate bundle
description: 'Returns the CSCA (Country Signing Certificate Authority) bundle the
SDK uses for NFC passport passive authentication.
**Status: not yet implemented.** The endpoint is session-gated and
returns an empty bundle with `status: "not_implemented"` until the
ICAO master list is wired in.
Authenticated by capture session `token`.'
tags:
- SDK
parameters:
- name: token
in: query
required: true
schema:
type: string
- name: Verifa-Version
in: header
description: 'API version date string (e.g. `2026-02-01`). If omitted, the version
pinned to your API key is used.
'
required: false
schema:
type: string
format: date
responses:
'200':
description: Certificate bundle.
content:
application/json:
schema:
$ref: '#/components/schemas/SDK_getSdkCscaCertificates_Response_200'
security:
- ApiKeyAuth: []
components:
schemas:
SDK_getSdkCscaCertificates_Response_200:
type: object
properties:
certificates:
type: array
items:
type: object
additionalProperties:
description: Any type
version:
type: integer
status:
type: string
title: SDK_getSdkCscaCertificates_Response_200
SDK_getSdkAttestChallenge_Response_200:
type: object
properties:
challenge:
type: string
required:
- challenge
title: SDK_getSdkAttestChallenge_Response_200
ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaSignals:
type: object
properties:
enabled:
type: boolean
nonce:
type: string
categories:
type: array
items:
type: string
title: ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaSignals
ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaBranding:
type: object
properties:
primary_color:
type:
- string
- 'null'
logo_url:
type:
- string
- 'null'
company_name:
type: string
title: ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaBranding
ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaProofOfAddressRetryReasonsItems:
type: object
properties:
code:
type: string
severity:
$ref: '#/components/schemas/ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaProofOfAddressRetryReasonsItemsSeverity'
title: ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaProofOfAddressRetryReasonsItems
ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaSelfie:
type: object
properties:
required:
type: boolean
title: ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaSelfie
PoaDocumentType:
type: string
enum:
- utility_bill
- mobile_phone_bill
- bank_statement
- credit_card_statement
- council_tax
- tax_document
- government_letter
- benefits_letter
- mortgage_statement
- lease_agreement
- insurance_statement
- payslip
- id_with_address
- institution_letter
- other
description: 'Canonical proof-of-address document subtype. This is the vocabulary the
capture flow, the workflow node, and the check result all share.
Legacy values are still accepted on input and normalised on the way in:
`rental_agreement` → `lease_agreement`,
`vehicle_registration` → `government_letter`.
`lease_agreement`, `institution_letter`, and `other` have no official
issuer, so a passing result on one of them still routes to human review.
`id_with_address` is not an independent source — it shares its issuer
with the ID document — and is only accepted when the policy opts in.
'
title: PoaDocumentType
ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaProofOfAddressAcceptedTypeOptionsItems:
type: object
properties:
key:
$ref: '#/components/schemas/PoaDocumentType'
label:
type: string
category:
type: string
default_max_age_days:
type: integer
review_only:
type: boolean
description: 'The document can be uploaded but cannot pass
automatically — a pass still routes the
session to human review.
'
counts_as_independent:
type: boolean
description: 'False when the document shares its source
with the ID document (e.g. an ID showing an
address), so it does not count as a second,
independent piece of evidence.
'
title: ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaProofOfAddressAcceptedTypeOptionsItems
ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaOtp:
type: object
properties:
verify_phone:
type: boolean
verify_email:
type: boolean
title: ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaOtp
SDK_submitSdkAttestation_Response_200:
type: object
properties:
status:
type: string
reason:
type: string
platform:
type: string
title: SDK_submitSdkAttestation_Response_200
ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaDocument:
type: object
properties:
accepted_types:
type: array
items:
type: string
requires_back:
type: boolean
title: ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaDocument
ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaProofOfAddress:
type: object
properties:
enabled:
type: boolean
accepted_types:
type: array
items:
$ref: '#/components/schemas/PoaDocumentType'
description: 'Document subtypes this session may upload, already
filtered by the organization''s proof-of-address
policy and by the workflow''s own accepted list.
Bare keys, in canonical display order.
'
accepted_type_options:
type: array
items:
$ref: '#/components/schemas/ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaProofOfAddressAcceptedTypeOptionsItems'
description: 'The same list as full rows — render the picker
straight from this and the SDK never has to carry
its own label or policy table.
'
retry_reasons:
type: array
items:
$ref: '#/components/schemas/ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaProofOfAddressRetryReasonsItems'
description: 'Reason codes from the most recent failed or
review-routed proof-of-address check. Non-empty
only when the session is being re-entered after a
rejected upload — show them so the user uploads a
document that fixes the problem, not the same one
again. Codes are stable and match
`details.reasons[].code` on the check result.
'
require_issuing_country:
type: boolean
description: 'Whether the flow must collect the document''s issuing
country. Currently always true — the issuing country
decides the recency window and the address
normalisation rules.
'
default_issuing_country:
type:
- string
- 'null'
description: 'Pre-selection for the issuing-country picker — the
session''s ID-document country when known, otherwise
the organization''s country.
'
title: ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaProofOfAddress
Error:
type: object
properties:
error:
type: string
description: Short error code.
detail:
type: string
description: Human-readable error description.
status_code:
type: integer
description: HTTP status code.
required:
- error
- status_code
title: Error
ApiV1SdkAttestPostRequestBodyContentApplicationJsonSchemaPlatform:
type: string
enum:
- ios
- android
title: ApiV1SdkAttestPostRequestBodyContentApplicationJsonSchemaPlatform
ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaProofOfAddressRetryReasonsItemsSeverity:
type: string
enum:
- fail
- review
- info
title: ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaProofOfAddressRetryReasonsItemsSeverity
SDK_getSdkConfig_Response_200:
type: object
properties:
session_id:
type: string
status:
type: string
steps:
type: array
items:
type: string
document:
$ref: '#/components/schemas/ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaDocument'
selfie:
$ref: '#/components/schemas/ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaSelfie'
user_info:
type: object
additionalProperties:
description: Any type
proof_of_address:
$ref: '#/components/schemas/ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaProofOfAddress'
otp:
$ref: '#/components/schemas/ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaOtp'
liveness:
$ref: '#/components/schemas/ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaLiveness'
nfc:
$ref: '#/components/schemas/ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaNfc'
signals:
$ref: '#/components/schemas/ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaSignals'
branding:
$ref: '#/components/schemas/ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaBranding'
resume_state:
type: object
additionalProperties:
description: Any type
title: SDK_getSdkConfig_Response_200
SDK_submitSdkNfc_Response_200:
type: object
properties:
status:
type: string
title: SDK_submitSdkNfc_Response_200
ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaLiveness:
type: object
properties:
enabled:
type: boolean
title: ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaLiveness
ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaNfc:
type: object
properties:
enabled:
type: boolean
title: ApiV1SdkConfigGetResponsesContentApplicationJsonSchemaNfc
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: X-API-Key
description: 'Organization API key. Keys are prefixed with `vk_live_` (production) or
`vk_sandbox_` (sandbox).
'
BearerAuth:
type: http
scheme: bearer
description: 'Admin JWT token via `Authorization: Bearer <token>`.'