AML API

AML API for sensitivity list and related operations.

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 2

POST /aml AML Screening Webhooks #
POST /aml/monitoring AML Monitoring Webhooks #

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:aml-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-aml-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Webhooks Aml 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: AML
paths:
  /aml:
    post:
      summary: AML Screening Webhooks
      description: '**Note:** These notifications 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.


        Webhook notifications for AML Screening. Configure the `POST /aml` endpoint on your server to receive screening and monitoring notifications.


        **Note:** For setup instructions, see Webhooks.'
      operationId: aml-screening-webhooks
      parameters:
      - $ref: '#/components/parameters/Authorization'
      requestBody:
        content:
          application/json:
            examples:
              no_hits:
                summary: no_hits
                value:
                  processType: DailyWatchlistAutomation
                  status: completed
                  clientId: 790f325a-48c9-4b82-bb53-c0ea128236f0
                  providerClientId: providerClientId
                  messages: []
                  uncompletedMessages: []
              potential_hit:
                summary: potential_hit
                value:
                  processType: DailyWatchlistAutomation
                  sla:
                    slaEnd: '2021-11-24T11:14:10.1344187Z'
                    slaStart: '2021-11-24T11:24:10.12335197Z'
                    slaSeconds: 604800
                    withinSla: true
                    slaBucket: bucket1
                  status: completed
                  clientId: 790f325a-48c9-4b82-bb53-c0ea128236f0
                  providerClientId: providerClientId
                  verificationId: 790f325a-48c9-4b82-bb53-c0ea128236f0
                  messages:
                  - verificationId: 790f325a-48c9-4b82-bb53-c0ea128236f0
                    categories:
                    - category1
                    - category2
                    subcategories:
                    - subcategory1
                    - subcategory2
                    timestamp: '2022-01-01T00:00:00+00:00'
                    description: This is a message description
                    statusCode: 141
                  uncompletedMessages: []
              false_positive:
                summary: false_positive
                value:
                  processType: DailyWatchlistAutomation
                  status: completed
                  clientId: 790f325a-48c9-4b82-bb53-c0ea128236f0
                  providerClientId: providerClientId
                  messages:
                  - verificationId: 790f325a-48c9-4b82-bb53-c0ea128236f0
                    categories:
                    - category1
                    - category2
                    subcategories:
                    - subcategory1
                    - subcategory2
                    timestamp: '2022-01-01T00:00:00+00:00'
                    description: This is a message description
                    statusCode: 100
                  uncompletedMessages: []
              manual_review_required:
                summary: manual_review_required
                value:
                  clientId: 019e6452-5614-4e2b-befa-353145608b21
                  providerClientId: Test3eaec544-0b62-45ef-ada4-aa56d1abe45d
                  messages: []
                  uncompletedMessages:
                  - verificationId: 019e6452-8076-7121-a0ba-4c31202b63b5
                    categories:
                    - PEP
                    subcategories: []
                    statusCode: 1000
                  - verificationId: 019e6452-8076-7121-a0ba-4c31202b63b5
                    categories:
                    - SANCTIONS
                    subcategories: []
                    statusCode: 1000
                  processType: DailyWatchlistAutomation
                  status: manualreviewrequired
              confirmed_hit:
                summary: confirmed_hit
                value:
                  clientId: 019e6452-5614-4e2b-befa-353145608b21
                  providerClientId: Test3eaec544-0b62-45ef-ada4-aa56d1abe45d
                  verificationId: 019e6452-8076-7121-a0ba-4c31202b63b5
                  messages:
                  - verificationId: 019e6452-8076-7121-a0ba-4c31202b63b5
                    categories:
                    - PEP
                    subcategories: []
                    timestamp: '2026-05-26T12:47:24.2088948+00:00'
                    statusCode: 110
                  - verificationId: 019e6452-8076-7121-a0ba-4c31202b63b5
                    categories:
                    - SANCTIONS
                    subcategories: []
                    timestamp: '2026-05-26T12:47:24.2088953+00:00'
                    statusCode: 4110
                  uncompletedMessages: []
                  hash: ''
                  processType: DailyWatchlistAutomation
                  status: completed
              multiple_hits:
                summary: multiple_hits
                value:
                  processType: DailyWatchlistAutomation
                  sla:
                    slaEnd: '2021-11-24T11:14:10.1344187Z'
                    slaStart: '2021-11-24T11:24:10.12335197Z'
                    slaSeconds: 604800
                    withinSla: true
                  status: completed
                  clientId: 790f325a-48c9-4b82-bb53-c0ea128236f0
                  providerClientId: providerClientId
                  verificationId: 790f325a-48c9-4b82-bb53-c0ea128236f0
                  messages:
                  - verificationId: 790f325a-48c9-4b82-bb53-c0ea128236f0
                    categories:
                    - category1
                    - category2
                    subcategories:
                    - subcategory1
                    - subcategory2
                    timestamp: '2022-01-01T00:00:00+00:00'
                    description: This is a message description
                    statusCode: 4110
                  - verificationId: 790f325a-48c9-4b82-bb53-c0ea128236f0
                    categories:
                    - category1
                    - category2
                    subcategories:
                    - subcategory1
                    - subcategory2
                    timestamp: '2022-01-01T00:00:00+00:00'
                    description: This is a message description
                    statusCode: 100
                  uncompletedMessages: []
            schema:
              type: object
              required:
              - clientId
              - messages
              - uncompletedMessages
              - processType
              - providerClientId
              - status
              properties:
                hash:
                  type: string
                  description: Not applicable
                processType:
                  type: string
                  description: 'The type of workflow. <br />Expected value: Always `DailyWatchlistAutomation` = AML Screening or Monitoring <br />Validation: Expected value <br />Errors: Must be set to `DailyWatchlistAutomation`.'
                  default: DailyWatchlistAutomation
                sla:
                  type: object
                  description: Information about the SLA for our investigation(s).
                  properties:
                    kycReceived:
                      type: string
                      description: Not applicable
                    slaStart:
                      type: string
                      description: 'The timestamp for when the investigation started. <br /><br />Format: ISO 8601 UTC date and time <br /><br />Example: `2020-07-10 15:00:00.000` <br />Validation: Valid datetime <br />Errors: Invalid datetime'
                    slaEnd:
                      type: string
                      description: 'The timestamp for when the investigation ended. <br /><br />Format: ISO 8601 UTC date and time <br /><br />Example: `2020-07-10 15:00:00.000` <br />Validation: Valid datetime <br />Errors: Invalid datetime'
                    slaPause:
                      type: string
                      description: Not applicable
                    slaSeconds:
                      type: integer
                      description: The duration of the investigation in seconds.
                    withinSla:
                      type: boolean
                      description: '• `true`: The investigation was completed within the SLA. <br />• `false`: The investigation **wasn’t** completed within the SLA.'
                    slaBucket:
                      type: string
                      description: The SLA category for the case, as defined in your configuration.
                      enum:
                      - bucket1
                      - bucket2
                      - bucket3
                status:
                  type: string
                  description: 'The [screening/monitoring status](https://docs.fourthline.com/v2.0/docs/aml-statuses). <br />Validation: Valid enum value <br />Errors: Invalid enum value.'
                  enum:
                  - completed
                  - doNotExist
                  - manualreviewrequired
                  - other
                  - pendingManualReview
                  - recentlyScreened
                  - scheduled
                  - screeningInProgress
                  - wrongMonitoringType
                clientId:
                  type: string
                  description: 'Our unique identifier for the AML client. <br /><br />Format: uuid string <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0` <br />Validations: uuid format, `clientId` exists <br />Errors: Format is incorrect or doesn’t exist'
                providerClientId:
                  type: string
                  description: Your unique identifier for the AML client.
                verificationId:
                  type: string
                  description: 'Our unique identifier for the investigation. <br /><br />Format: uuid string <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0`'
                messages:
                  type: array
                  description: Information about any completed investigations.
                  required:
                  - statusCode
                  - verificationId
                  items:
                    type: object
                    $ref: '#/components/schemas/AMLMessages'
                uncompletedMessages:
                  type: array
                  description: Information about any incomplete investigations.
                  required:
                  - statusCode
                  - verificationId
                  items:
                    type: object
                    $ref: '#/components/schemas/AMLMessages'
      responses:
        '200':
          $ref: '#/components/responses/WebhookCallbackOk'
        '401':
          $ref: '#/components/responses/WebhookCallbackUnauthorized'
        '403':
          $ref: '#/components/responses/WebhookCallbackForbidden'
        '404':
          $ref: '#/components/responses/WebhookCallbackNotFound'
        '500':
          $ref: '#/components/responses/WebhookCallbackInternalServerError'
      deprecated: false
      tags:
      - AML
  /aml/monitoring:
    post:
      summary: AML Monitoring Webhooks
      description: '**Note:** These notifications 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.


        Webhook notifications for AML Monitoring. Configure the `POST /aml` endpoint on your server to receive monitoring notifications. This is the same endpoint used for AML Screening Webhooks.


        This page contains monitoring-specific examples only. AML Monitoring generates fewer notifications because all monitored clients are screened once per day after the AML database is updated.


        **Note:** For setup instructions, see Webhooks.'
      operationId: aml-monitoring-webhooks
      parameters:
      - $ref: '#/components/parameters/Authorization'
      requestBody:
        content:
          application/json:
            examples:
              potential_hit:
                summary: potential_hit
                value:
                  processType: DailyWatchlistAutomation
                  sla:
                    slaEnd: '2021-11-24T11:14:10.1344187Z'
                    slaStart: '2021-11-24T11:24:10.12335197Z'
                    slaSeconds: 604800
                    withinSla: true
                    slaBucket: bucket1
                  status: completed
                  clientId: 790f325a-48c9-4b82-bb53-c0ea128236f0
                  providerClientId: providerClientId
                  verificationId: 790f325a-48c9-4b82-bb53-c0ea128236f0
                  messages:
                  - verificationId: 790f325a-48c9-4b82-bb53-c0ea128236f0
                    categories:
                    - category1
                    - category2
                    subcategories:
                    - subcategory1
                    - subcategory2
                    timestamp: '2022-01-01T00:00:00+00:00'
                    description: This is a message description
                    statusCode: 141
                  uncompletedMessages: []
              confirmed_hit:
                summary: confirmed_hit
                value:
                  clientId: 019e6452-5614-4e2b-befa-353145608b21
                  providerClientId: Test3eaec544-0b62-45ef-ada4-aa56d1abe45d
                  verificationId: 019e6452-8076-7121-a0ba-4c31202b63b5
                  messages:
                  - verificationId: 019e6452-8076-7121-a0ba-4c31202b63b5
                    categories:
                    - PEP
                    subcategories: []
                    timestamp: '2026-05-26T12:47:24.2088948+00:00'
                    statusCode: 110
                  - verificationId: 019e6452-8076-7121-a0ba-4c31202b63b5
                    categories:
                    - SANCTIONS
                    subcategories: []
                    timestamp: '2026-05-26T12:47:24.2088953+00:00'
                    statusCode: 4110
                  uncompletedMessages: []
                  hash: ''
                  processType: DailyWatchlistAutomation
                  status: completed
            schema:
              type: object
              required:
              - clientId
              - messages
              - uncompletedMessages
              - processType
              - providerClientId
              - status
              properties:
                hash:
                  type: string
                  description: Not applicable
                processType:
                  type: string
                  description: 'The type of workflow. <br />Expected value: Always `DailyWatchlistAutomation` = AML Screening or Monitoring <br />Validation: Expected value <br />Errors: Must be set to `DailyWatchlistAutomation`.'
                  default: DailyWatchlistAutomation
                sla:
                  type: object
                  description: Information about the SLA for our investigation(s).
                  properties:
                    kycReceived:
                      type: string
                      description: Not applicable
                    slaStart:
                      type: string
                      description: 'The timestamp for when the investigation started. <br /><br />Format: ISO 8601 UTC date and time <br /><br />Example: `2020-07-10 15:00:00.000` <br />Validation: Valid datetime <br />Errors: Invalid datetime'
                    slaEnd:
                      type: string
                      description: 'The timestamp for when the investigation ended. <br /><br />Format: ISO 8601 UTC date and time <br /><br />Example: `2020-07-10 15:00:00.000` <br />Validation: Valid datetime <br />Errors: Invalid datetime'
                    slaPause:
                      type: string
                      description: Not applicable
                    slaSeconds:
                      type: integer
                      description: The duration of the investigation in seconds.
                    withinSla:
                      type: boolean
                      description: '• `true`: The investigation was completed within the SLA. <br />• `false`: The investigation **wasn’t** completed within the SLA.'
                    slaBucket:
                      type: string
                      description: The SLA category for the case, as defined in your configuration.
                      enum:
                      - bucket1
                      - bucket2
                      - bucket3
                status:
                  type: string
                  description: 'The [screening/monitoring status](https://docs.fourthline.com/v2.0/docs/aml-statuses). <br />Validation: Valid enum value <br />Errors: Invalid enum value.'
                  enum:
                  - completed
                  - doNotExist
                  - manualreviewrequired
                  - other
                  - pendingManualReview
                  - recentlyScreened
                  - scheduled
                  - screeningInProgress
                  - wrongMonitoringType
                clientId:
                  type: string
                  description: 'Our unique identifier for the AML client. <br /><br />Format: uuid string <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0` <br />Validations: uuid format, `clientId` exists <br />Errors: Format is incorrect or doesn’t exist'
                providerClientId:
                  type: string
                  description: Your unique identifier for the AML client.
                verificationId:
                  type: string
                  description: 'Our unique identifier for the investigation. <br /><br />Format: uuid string <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0`'
                messages:
                  type: array
                  description: Information about any completed investigations.
                  required:
                  - statusCode
                  - verificationId
                  items:
                    type: object
                    $ref: '#/components/schemas/AMLMessages'
                uncompletedMessages:
                  type: array
                  description: Information about any incomplete investigations.
                  required:
                  - statusCode
                  - verificationId
                  items:
                    type: object
                    $ref: '#/components/schemas/AMLMessages'
      responses:
        '200':
          $ref: '#/components/responses/WebhookCallbackOk'
        '401':
          $ref: '#/components/responses/WebhookCallbackUnauthorized'
        '403':
          $ref: '#/components/responses/WebhookCallbackForbidden'
        '404':
          $ref: '#/components/responses/WebhookCallbackNotFound'
        '500':
          $ref: '#/components/responses/WebhookCallbackInternalServerError'
      deprecated: false
      tags:
      - AML
components:
  responses:
    WebhookCallbackNotFound:
      description: Fourthline can reach your server, but the webhook endpoint could not be found. See [troubleshooting](https://docs.fourthline.com/docs/webhooks#404-not-found).
      content:
        application/json:
          schema:
            type: object
            properties: {}
    WebhookCallbackForbidden:
      description: Fourthline could not authenticate with your webhook endpoint. See [troubleshooting](https://docs.fourthline.com/docs/webhooks#403-forbidden).
      content:
        application/json:
          schema:
            type: object
            properties: {}
    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: {}
    WebhookCallbackUnauthorized:
      description: Fourthline could not authenticate with your webhook endpoint. See [troubleshooting](https://docs.fourthline.com/docs/webhooks#401-unauthorized).
      content:
        application/json:
          schema:
            type: object
            properties: {}
    WebhookCallbackInternalServerError:
      description: Your server received the request but could not process it successfully. See [troubleshooting](https://docs.fourthline.com/docs/webhooks#500-internal-server-error).
      content:
        application/json:
          schema:
            type: object
            properties: {}
  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
  schemas:
    AMLMessages:
      type: object
      properties:
        verificationId:
          type: string
          description: 'Our unique identifier for the investigation. <br /><br />Format: uuid string <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0`'
        categories:
          type: array
          description: 'The [type(s) of hit](https://docs.fourthline.com/v2.0/docs/aml-integration#hit-types). <br /><br />Format: Array of strings'
          items:
            type: string
        subcategories:
          type: array
          description: 'Any subcategories you have defined for this hit type <br /><br />Format: Array of strings'
          items:
            type: string
        timestamp:
          type: string
          description: 'The timestamp for when the investigation was completed <br /><br />Format: ISO 8601 UTC date and time <br /><br />Example: `2020-07-10 15:00:00.000` <br />Validation: Valid datetime <br />Errors: Invalid datetime'
        statusCode:
          type: integer
          description: The [status code](https://docs.fourthline.com/v2.0/docs/aml-statuses#status-codes) providing more information about the status.
        description:
          type:
          - string
          - 'null'
          description: The status code description. Can be `null` when not provided.
  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