Socure · AsyncAPI Specification

Socure DocV Webhooks

Version 1.0

Webhook event stream emitted by the Socure Predictive DocV service to notify the integrator of session lifecycle events. The customer registers a webhook URL when creating a DocV transaction; Socure POSTs JSON event payloads to that URL as the end user progresses through the DocV flow.

View Spec View on GitHub AsyncAPIEventsWebhooks

Channels

docv/events
subscribe receiveDocvEvent
Receive DocV session lifecycle events
All DocV session lifecycle events.

Messages

AppOpened
APP_OPENED
End user has opened the DocV capture flow.
DocumentsUploaded
DOCUMENTS_UPLOADED
End user has uploaded all required documents.
VerificationCompleted
VERIFICATION_COMPLETED
DocV verification has completed; decision is available via Get A DocV Transaction.
SessionExpired
SESSION_EXPIRED
DocV session expired without completion.

Servers

https
customer-webhook {customerWebhookUrl}
Integrator-hosted endpoint that receives DocV events.

AsyncAPI Specification

Raw ↑
asyncapi: 2.6.0
info:
  title: Socure DocV Webhooks
  version: '1.0'
  description: |
    Webhook event stream emitted by the Socure Predictive DocV service to notify the
    integrator of session lifecycle events. The customer registers a webhook URL when
    creating a DocV transaction; Socure POSTs JSON event payloads to that URL as the
    end user progresses through the DocV flow.
defaultContentType: application/json
servers:
  customer-webhook:
    url: '{customerWebhookUrl}'
    protocol: https
    description: Integrator-hosted endpoint that receives DocV events.
    variables:
      customerWebhookUrl:
        default: https://your-app.example/socure/docv/webhook
channels:
  docv/events:
    description: All DocV session lifecycle events.
    subscribe:
      summary: Receive DocV session lifecycle events
      operationId: receiveDocvEvent
      message:
        oneOf:
        - $ref: '#/components/messages/AppOpened'
        - $ref: '#/components/messages/DocumentsUploaded'
        - $ref: '#/components/messages/VerificationCompleted'
        - $ref: '#/components/messages/SessionExpired'
components:
  messages:
    AppOpened:
      name: APP_OPENED
      title: APP_OPENED
      summary: End user has opened the DocV capture flow.
      payload:
        $ref: '#/components/schemas/DocvEvent'
    DocumentsUploaded:
      name: DOCUMENTS_UPLOADED
      title: DOCUMENTS_UPLOADED
      summary: End user has uploaded all required documents.
      payload:
        $ref: '#/components/schemas/DocvEvent'
    VerificationCompleted:
      name: VERIFICATION_COMPLETED
      title: VERIFICATION_COMPLETED
      summary: DocV verification has completed; decision is available via Get A DocV Transaction.
      payload:
        $ref: '#/components/schemas/DocvEvent'
    SessionExpired:
      name: SESSION_EXPIRED
      title: SESSION_EXPIRED
      summary: DocV session expired without completion.
      payload:
        $ref: '#/components/schemas/DocvEvent'
  schemas:
    DocvEvent:
      type: object
      required:
      - eventType
      - docvTransactionId
      - eventTime
      properties:
        eventType:
          type: string
          enum:
          - APP_OPENED
          - DOCUMENTS_UPLOADED
          - VERIFICATION_COMPLETED
          - SESSION_EXPIRED
        docvTransactionId:
          type: string
        customerUserId:
          type: string
        eventTime:
          type: string
          format: date-time
        decision:
          type: string
          description: Present only on VERIFICATION_COMPLETED.
          enum:
          - accept
          - reject
          - resubmit

Work with this as data

Every AsyncAPI spec here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for asyncapi

4 MCP tools reach this
  • find_asyncapisBrowse and filter every AsyncAPI spec in the catalog.
  • 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.
All 92 tools →

Call it yourself

curl for this page
This AsyncAPI spec
curl "https://apis.io/api/v1/asyncapis/socure-docv-asyncapi"
All asyncapi
curl "https://apis.io/api/v1/asyncapis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API 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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.