Webhooks API

Webhooks for event notifications.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

POST /{workflowId} Identity Verification Webhooks v2 #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/fourthline:webhooks-api"
All apis
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.

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. 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 Specification

fourthline-webhooks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Webhooks API
  version: '2'
  description: 'About Webhooks.


    Fourthline sends inbound notifications to your server.


    **Versioning:** Identity Verification Webhooks v2 follow the Identity Verification API, which uses API-level versioning. AML Screening Webhooks and AML Monitoring Webhooks follow the AML API, which uses endpoint-level versioning. The ReadMe documentation version is independent of those API product versions. This reference is published on the ReadMe 2.0 documentation version.


    **Identity Verification Webhooks v2** report Identity Verification API v2 workflow events. `details.name` is `IdentityVerification`, `Payments` (Bank Account Verification), or `Signatures` (QES).


    **AML Screening Webhooks** and **AML Monitoring Webhooks** belong to the AML API. Use them whether the workflow was created with the Identity Verification API v1 or the Identity Verification API v2. The requests, fields, and identifiers are the same.


    **Integration guide:** Webhooks — setup, handler expectations, idempotency, and troubleshooting.


    **JSON property names** use **camelCase** (for example `workflowId`, `workflow`, `details`, `statusCode`, `transferData`).


    **Product keys** use PascalCase **string values** in `details.name`. These match `products[].name` in Get workflow status.


    Identity Verification webhook payloads do **not** include `workflowStatus`. After you return **2xx**, call **get-workflow-status** (`GET /v2/workflows/{workflowId}/status`).'
servers:
- url: https://mysite.com
security:
- sec0: []
tags:
- name: Webhooks
paths:
  /{workflowId}:
    post:
      summary: Identity Verification Webhooks v2
      description: 'Webhook notifications for the Fourthline Identity Verification API v2. Fourthline sends workflow events to your configured callback endpoint.


        **Note:** Identity Verification API v2 notifications follow a polymorphic model. The schema of the `details` object depends on the product associated with the event.


        The request body is a single JSON object. Properties with a null value are omitted.


        `flowVariant` is returned when the workflow offers both eID and verification with a physical ID document. When the workflow does not offer both, the property is absent. It is on the event, next to `workflowId`. `eIDVerification` means the client completed eID. `DocumentVerification` means the client completed verification with a physical ID document. Confirm the value with Get workflow status.'
      operationId: workflows-webhooks
      parameters:
      - name: workflowId
        in: path
        description: 'Unique identifier for the workflow. <br /><br />Format: uuid <br /><br />Example: `f97f23d2-d0ca-4d15-9de4-d2e19c89b9aa`'
        schema:
          type: string
          format: uuid
        required: true
      - $ref: '#/components/parameters/Authorization'
      requestBody:
        required: true
        description: One Identity Verification API v2 webhook notification (camelCase). Each POST contains a single object.
        content:
          application/json:
            examples:
              identity_verification:
                summary: Identity Verification
                value:
                  workflowId: f97f23d2-d0ca-4d15-9de4-d2e19c89b9aa
                  workflow: BiometricsOnly
                  details:
                    name: IdentityVerification
                    status: completed
                    hash: e08e3f473e14a806db7424ab09fedfcf
                    timestamp: '2024-10-10T00:00:00Z'
                    messages:
                    - description: Verification completed - Low risk
                      statusCode: 200
                    sla:
                      kycReceived: '2025-03-27T11:35:51Z'
                      slaStart: '2025-03-27T11:35:51Z'
                      slaEnd: '2025-03-27T11:36:41Z'
                      slaSeconds: 300
                      withinSla: true
                      slaBucket: bucket1
              identity_verification_eid:
                summary: eID Verification
                value:
                  workflowId: 3f1c9a52-8d4e-4b7a-9c1e-2a6f0d5b7e11
                  workflow: IdvOrEIDMinWorkflow
                  flowVariant: eIDVerification
                  details:
                    name: IdentityVerification
                    status: completed
                    hash: 3b0b7a9c7b98ad5697ae2295d70ce545
                    timestamp: '2026-10-20T14:32:10Z'
                    messages:
                    - description: Identity verification completed
                      statusCode: 200
                    sla:
                      kycReceived: '2026-10-20T14:01:02Z'
                      slaStart: '2026-10-20T14:01:02Z'
                      slaEnd: '2026-10-20T14:31:02Z'
                      slaSeconds: 1800
                      withinSla: true
              identity_verification_pending:
                summary: Identity Verification pending
                value:
                  workflowId: c61d5295-a310-4c54-b92a-906584908442
                  workflow: IdvWorkflow
                  details:
                    name: IdentityVerification
                    status: pending
                    timestamp: '2026-11-05T10:21:26.0068104Z'
                    messages:
                    - description: Data validation - Success
                      statusCode: 1000
              identity_verification_inconsistent_data:
                summary: Identity Verification inconsistent data
                value:
                  workflowId: 43237347-ad39-4eba-8099-6df4d38ce887
                  workflow: IdvWorkflow
                  details:
                    name: IdentityVerification
                    status: inconsistent_data
                    timestamp: '2026-11-05T10:22:47.7795098Z'
                    messages:
                    - description: Device metadata inconsistent
                      statusCode: 3540
                      areaOfAttention: Sufficient device metadata provided
                    sla:
                      kycReceived: '2026-11-05T10:22:44.9716716Z'
                      slaStart: '2026-11-05T10:22:45.0977656Z'
                      slaEnd: '2026-11-05T10:22:47.7781191Z'
                      slaSeconds: 1200
                      withinSla: true
                      slaBucket: bucket1
              identity_verification_success:
                summary: Identity Verification success
                value:
                  workflowId: 434cee57-ebb4-4649-b36c-5dbe669c1794
                  workflow: IdvWorkflow
                  details:
                    name: IdentityVerification
                    status: success
                    hash: 29df61915fe926c1f864aa2a5ccaeba1
                    timestamp: '2026-11-05T10:32:31.1851727Z'
                    messages:
                    - description: Verification completed - Low risk
                      statusCode: 200
                    sla:
                      kycReceived: '2026-11-05T10:32:04.1038936Z'
                      slaStart: '2026-11-05T10:32:04.1837978Z'
                      slaEnd: '2026-11-05T10:32:25.4239279Z'
                      slaSeconds: 1200
                      withinSla: true
                      slaBucket: bucket1
              identity_verification_unacceptable:
                summary: Identity Verification unacceptable risk
                value:
                  workflowId: c61d5295-a310-4c54-b92a-906584908442
                  workflow: IdvWorkflow
                  details:
                    name: IdentityVerification
                    status: completed
                    hash: ee5b60aed741bc1f5349a654a5757290
                    timestamp: '2026-11-05T10:21:33.0713345Z'
                    messages:
                    - description: Verification completed - Unacceptable risk
                      statusCode: 500
                    sla:
                      kycReceived: '2026-11-05T10:21:25.7871889Z'
                      slaStart: '2026-11-05T10:21:26.0032206Z'
                      slaEnd: '2026-11-05T10:21:27.7561162Z'
                      slaSeconds: 1200
                      withinSla: true
                      slaBucket: bucket1
              bav_pending:
                summary: Payments pending
                value:
                  workflowId: 4492e249-b576-4043-9067-be52259a8aee
                  workflow: PaymentsOnly
                  details:
                    name: Payments
                    status: pending
                    timestamp: '2026-02-12T10:24:30.5414335Z'
              bav_pending_verification:
                summary: Payments pending verification
                value:
                  workflowId: 4492e249-b576-4043-9067-be52259a8aee
                  workflow: PaymentsOnly
                  details:
                    name: Payments
                    status: pending_verification
                    timestamp: '2026-02-12T10:24:32.1254737Z'
              bav_completed:
                summary: Payments completed
                value:
                  workflowId: 4492e249-b576-4043-9067-be52259a8aee
                  workflow: PaymentsOnly
                  details:
                    name: Payments
                    status: completed
                    timestamp: '2026-02-12T10:24:33.0204941Z'
                    transferData:
                      iban: DE44500105175407324981
                      name: Mr John James Smith
                      transferReference: 20260212-481O
                      currency: EUR
                      amountRequested: '0.10'
              qes_new:
                summary: Signatures new
                value:
                  workflowId: 6dd65701-40cc-4d08-8bfa-c5c4dbbe5b27
                  workflow: SignaturesOnlyNamirial
                  details:
                    name: Signatures
                    status: new
                    timestamp: '2026-02-12T10:23:43.6950002Z'
                    messages: []
                    errorAttempts: []
              qes_pending:
                summary: Signatures pending
                value:
                  workflowId: 6dd65701-40cc-4d08-8bfa-c5c4dbbe5b27
                  workflow: SignaturesOnlyNamirial
                  details:
                    name: Signatures
                    status: pending
                    timestamp: '2026-02-12T10:23:44.2465744Z'
                    messages: []
                    errorAttempts: []
              qes_user_consent_required:
                summary: Signatures user consent required
                value:
                  workflowId: 6dd65701-40cc-4d08-8bfa-c5c4dbbe5b27
                  workflow: SignaturesOnlyNamirial
                  details:
                    name: Signatures
                    status: user_consent_required
                    timestamp: '2026-02-12T10:23:45.7028504Z'
                    messages: []
                    errorAttempts: []
              qes_confirmation_required:
                summary: Signatures confirmation required
                value:
                  workflowId: 6dd65701-40cc-4d08-8bfa-c5c4dbbe5b27
                  workflow: SignaturesOnlyNamirial
                  details:
                    name: Signatures
                    status: confirmation_required
                    timestamp: '2026-02-12T10:23:50.8950215Z'
                    messages: []
                    errorAttempts: []
              qes_signed:
                summary: Signatures signed
                value:
                  workflowId: 6dd65701-40cc-4d08-8bfa-c5c4dbbe5b27
                  workflow: SignaturesOnlyNamirial
                  details:
                    name: Signatures
                    status: signed
                    timestamp: '2026-02-12T10:23:55.9247485Z'
                    messages:
                    - description: Signature completed successfully
                      statusCode: 200
                    errorAttempts: []
            schema:
              $ref: '#/components/schemas/WorkflowsV2WebhookEvent'
      responses:
        '200':
          $ref: '#/components/responses/WebhookCallbackOk'
      tags:
      - Webhooks
components:
  schemas:
    IdentityVerificationDetails:
      type: object
      description: Identity Verification notification (`details.name` is `IdentityVerification`). Sent for Identity Verification products (Documents, Biometrics, Location, AML).
      required:
      - name
      - status
      - timestamp
      properties:
        name:
          type: string
          description: Product domain name. Always `IdentityVerification` for this notification type.
          enum:
          - IdentityVerification
        status:
          type: string
          description: The workflow verification status sent on the Identity Verification notification. Product status values are listed in [Identity Verification product statuses](https://docs.fourthline.com/v2.0/docs/product-statuses#identity-verification-statuses). <br /><br />`timed_out` means the workflow was not started within three days after it was created or was started but not completed within seven days after it was started.
          enum:
          - new
          - pending
          - timed_out
          - invalid_data
          - inconsistent_data
          - success
          - rejected
          - fraud
          - completed
          - error
          - retry_limit_reached
          - user_consent_required
          - signed
        hash:
          type: string
          description: 'The MD5 hash of the [ZIP report](https://docs.fourthline.com/v2.0/docs/workflow-reports#zip-archive-contents), as a lowercase hexadecimal string. Present after the report is generated. Absent otherwise. <br /><br />Format: MD5, lowercase hex <br /><br />Example: `ee5b60aed741bc1f5349a654a5757290`'
        timestamp:
          type: string
          format: date-time
          description: Timestamp when this notification was created or last updated.
        messages:
          type: array
          description: Status and validation messages for the product.
          items:
            $ref: '#/components/schemas/ValidationMessage'
        sla:
          $ref: '#/components/schemas/SlaDetails'
    flowVariant:
      type: string
      description: 'Returned on the event, next to `workflowId`, when the workflow offers both eID and verification with a physical ID document. When the workflow does not offer both, the property is absent. Confirm the value with Get workflow status. <br /><br />Enum: <br />• `eIDVerification`: the client completed eID <br />• `DocumentVerification`: the client completed verification with a physical ID document'
      enum:
      - eIDVerification
      - DocumentVerification
    SlaDetails:
      type: object
      description: SLA timing for Identity Verification notifications. Included on Identity Verification `details` when processing has finished, including `inconsistent_data`. Omitted while the workflow is still in progress, for example `pending`. Properties with a null value are omitted.
      properties:
        kycReceived:
          type: string
          format: date-time
          description: Timestamp when the workflow started (KYC data received).
        slaStart:
          type: string
          format: date-time
          description: Timestamp when received data was validated successfully and automatic validations started.
        slaEnd:
          type: string
          format: date-time
          description: Timestamp when the workflow ended.
        slaPause:
          type: string
          format: date-time
          description: Legacy timestamp for a paused SLA period. Omitted when processing was not paused.
        slaSeconds:
          type: integer
          description: Number of seconds that correspond to the SLA bucket for the case.
        withinSla:
          type: boolean
          description: Whether the case was processed within SLA limits.
        slaBucket:
          type: string
          description: 'Name of the SLA bucket that applies to the case. <br /><br />Example: `bucket1`'
          enum:
          - bucket1
          - bucket2
          - bucket3
    ValidationMessage:
      type: object
      description: A status or validation message included in `details.messages`.
      properties:
        description:
          type: string
          description: Human-readable description of the validation result or issue.
        statusCode:
          type: integer
          description: 'Numeric status code for the message. <br /><br />Example: `200`'
        areaOfAttention:
          type: string
          description: Which data area requires attention. Omitted when it has no value.
    WorkflowNotificationDetails:
      description: Product-specific notification payload. The shape depends on `details.name`.
      oneOf:
      - $ref: '#/components/schemas/IdentityVerificationDetails'
      - $ref: '#/components/schemas/BAVDetails'
      - $ref: '#/components/schemas/QESDetails'
      discriminator:
        propertyName: name
        mapping:
          IdentityVerification: '#/components/schemas/IdentityVerificationDetails'
          Payments: '#/components/schemas/BAVDetails'
          Signatures: '#/components/schemas/QESDetails'
    QESDetails:
      type: object
      description: Qualified Electronic Signature (QES) notification. API product key `Signatures`.
      required:
      - name
      - status
      - timestamp
      properties:
        name:
          type: string
          description: Product domain name. Always `Signatures` for QES notifications.
          enum:
          - Signatures
        status:
          type: string
          description: The current [QES product status](https://docs.fourthline.com/v2.0/docs/product-statuses#qualified-electronic-signature-statuses).
          enum:
          - new
          - pending
          - user_consent_required
          - selfie_required
          - kyc_required
          - confirmation_required
          - signed
          - pending_verification
          - invalid_signature
          - error
          - timed_out
          - completed
          - failed
        timestamp:
          type: string
          format: date-time
          description: Timestamp when this notification was created or last updated.
        messages:
          type: array
          description: Status messages for the signature product.
          items:
            $ref: '#/components/schemas/ValidationMessage'
        errorAttempts:
          type: array
          description: Each error attempt for this signature. Each entry has `attemptId` and `timestamp`. Read the status code from [Get workflow status](ref:get-workflow-status) in `products[].messages[]`, and match `attemptId`. `details.messages[]` includes `statusCode` and does not include `attemptId`.
          items:
            $ref: '#/components/schemas/SignatureErrorAttempt'
    WorkflowsV2WebhookEvent:
      type: object
      description: One Identity Verification API v2 webhook notification. Each POST body is this object. Properties with a null value are omitted.
      required:
      - workflowId
      - workflow
      - details
      properties:
        workflowId:
          type: string
          format: uuid
          description: 'The unique identifier of the workflow. <br /><br />Format: uuid <br /><br />Example: `f97f23d2-d0ca-4d15-9de4-d2e19c89b9aa`'
        workflow:
          type: string
          description: 'The Hub workflow configuration name for the products in this flow. <br /><br />Example: `BiometricsOnly`, `PaymentsOnly`, `IdvWorkflow`'
        flowVariant:
          $ref: '#/components/schemas/flowVariant'
        details:
          $ref: '#/components/schemas/WorkflowNotificationDetails'
    SignatureErrorAttempt:
      type: object
      description: One error attempt during Qualified Electronic Signature. Contains `attemptId` and `timestamp`.
      required:
      - attemptId
      - timestamp
      properties:
        attemptId:
          type: string
          format: uuid
          description: 'Unique identifier of the error attempt. <br /><br />Format: uuid'
        timestamp:
          type: string
          format: date-time
          description: 'When the error attempt occurred. <br /><br />Format: ISO 8601 UTC date and time'
    BAVDetails:
      type: object
      description: Bank Account Verification (BAV) notification. API product key `Payments`. Sent for BAV payment products.
      required:
      - name
      - status
      - timestamp
      properties:
        name:
          type: string
          description: Product domain name. Always `Payments` for BAV notifications (Bank Account Verification).
          enum:
          - Payments
        status:
          type: string
          description: The current [BAV product status](https://docs.fourthline.com/v2.0/docs/product-statuses).
          enum:
          - new
          - pending
          - pending_verification
          - kyc_required
          - timed_out
          - completed
          - failed
        timestamp:
          type: string
          format: date-time
          description: Timestamp when this notification was created or last updated.
        messages:
          type:
          - array
          - 'null'
          description: Status messages for the payment product. Omitted or empty when there are no messages.
          items:
            $ref: '#/components/schemas/ValidationMessage'
        transferData:
          type:
          - object
          - 'null'
          description: Payment transfer details. Present when the payment completed successfully.
          properties:
            iban:
              type:
              - string
              - 'null'
              description: IBAN for manual transfers.
            name:
              type:
              - string
              - 'null'
              description: Recipient name.
            transferReference:
              type:
              - string
              - 'null'
              description: Reference number for the transfer.
            currency:
              type:
              - string
              - 'null'
              description: 'Currency code. <br /><br />Example: `EUR`'
            amountRequested:
              type:
              - string
              - 'null'
              description: 'Amount formatted as a string with two decimal places. <br /><br />Example: `0.10`'
  parameters:
    Authorization:
      name: Authorization
      in: header
      description: 'Your `Basic` or `Bearer` access token. <br />The examples we’ve provided show `Bearer`. <br /><br /><img src="https://files.readme.io/ad2486a-Inline_Note.svg" align="left"/>**More information**: Webhooks – [Specify authentication method](https://docs.fourthline.com/v2.0/docs/workflows-webhooks#2-specify-the-authentication-method)'
      schema:
        type: string
      required: true
  responses:
    WebhookCallbackOk:
      description: Your server acknowledges receipt. Return HTTP **2xx** (typically `200`) with an empty body (`{}`) or no body.
      content:
        application/json:
          schema:
            type: object
            description: Empty body. Delivery is accepted on the status code alone.
            maxProperties: 0
          examples:
            ok:
              summary: OK
              value: {}
  securitySchemes:
    sec0:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://example.com/token
          scopes: {}
x-readme-fauxas: true
x-provenance:
  method: searched
  source: https://docs.fourthline.com/reference
  harvested: '2026-12-02'
  tool: harvest-readme-openapi.py
  note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
  assembled_from:
  - https://docs.fourthline.com/reference/aml-monitoring-webhooks.md
  - https://docs.fourthline.com/reference/aml-screening-webhooks.md
  - https://docs.fourthline.com/reference/workflows-webhooks.md
  merge:
    pages: 3
    deduped: 11
    conflicts_kept_first: 0