> ## Documentation Index
> Fetch the complete documentation index at: https://verifner.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Live event stream (server-sent events)

> What `verifner listen` reads: each `verification.completed` of the key’s organisation, application and mode, as `event:`/`data:` frames with the same JSON as the webhook; a `: ping` comment every 15 s. For development; production integrations use webhooks.



## OpenAPI

````yaml /openapi.json get /v1/events
openapi: 3.1.0
info:
  title: VerifNer API
  version: 1.0.0
  description: >-
    Identity verification for Nigerien passports and national identity cards.
    One call, a reasoned verdict: five checks with evidence, a score, VERIFIED
    at 0.90 and above, REVIEW from 0.60, REJECTED below.
servers:
  - url: https://api.verifner.com
security:
  - apiKey: []
tags:
  - name: Verify
    description: Server-to-server verification with the secret key.
  - name: Sessions
    description: >-
      Browser flows: your server opens a session, the web SDK uploads with a
      client token.
  - name: Webhooks
    description: verification.completed, signed with HMAC-SHA256, retried with backoff.
paths:
  /v1/events:
    get:
      tags:
        - Webhooks
      summary: Live event stream (server-sent events)
      description: >-
        What `verifner listen` reads: each `verification.completed` of the key’s
        organisation, application and mode, as `event:`/`data:` frames with the
        same JSON as the webhook; a `: ping` comment every 15 s. For
        development; production integrations use webhooks.
      responses:
        '200':
          description: text/event-stream
        '401':
          description: Missing or unknown key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      $schema: http://json-schema.org/draft-07/schema#
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
          additionalProperties: false
      required:
        - error
      additionalProperties: false
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: '`vn_live_…` or `vn_test_…`, from the console.'

````