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

# Retrieve a PEP and Sanction Screening Search

> Retrieves an already verified PEP and Sanction List Search verification record by its verification ID.



## OpenAPI

````yaml /api-reference/specs/quickcheck.json get /v2/api/verifications/aml-checks/{verificationId}
openapi: 3.0.3
info:
  title: Youverify Quick Check API
  version: 2.0.0
  description: >-
    All Quick Check endpoints (KYC identity verification by country, KYB
    business verification by country, and AML/watchlist screening). Assembled
    from doc.youverify.co/api-reference-sdk/api-reference/quick-check, endpoints
    kept in the exact order they appear in the GitBook navigation. Some
    endpoints (address-verification "create a candidate" / "get states" /
    "retrieve" / "history") are documented twice in the source docs — once for
    individuals under KYC, once for businesses under KYB — and are the exact
    same request/response shape. They appear ONCE here (at their first, KYC,
    position) tagged with both sections so the file stays valid OpenAPI.


    Account-wide error responses (401, 429, 500 on every endpoint; 402 on paid
    verification calls; 404 on lookup-by-ID calls) are sourced verbatim from
    Youverify's own "Youverify OS Error Codes" and "Response Codes" pages
    (doc.youverify.co/youverify-os-error-codes, /get-started/response-codes) and
    attached via components.responses, since those pages document them
    account-wide rather than per endpoint. Any error example that a specific
    endpoint's own page actually showed is kept exactly as documented there
    instead of being replaced by these.
  contact:
    name: Youverify Support
    email: support@youverify.co
servers:
  - url: https://api.youverify.co
    description: Production (live, billed)
  - url: https://api.sandbox.youverify.co
    description: Sandbox (test data, not billed)
security:
  - ApiKeyAuth: []
tags:
  - name: KYC - Global
    description: Identity data-matching endpoints that work across countries.
  - name: KYC - South Africa
    description: South Africa-specific identity, phone and bank verification.
  - name: KYC - Kenya
    description: Kenya-specific identity, phone, bank, credit and employment verification.
  - name: KYC - Ghana
    description: Ghana-specific identity verification (passport, SSNIT, voter's card).
  - name: KYC - Nigeria
    description: >-
      Nigeria-specific identity, phone, bank and credit verification (BVN, NIN,
      etc).
  - name: KYC - Cote D'Ivoire
    description: Cote D'Ivoire-specific national ID and residence card verification.
  - name: KYC - General
    description: >-
      Identity retrieval, history and facial comparison, not tied to one
      country.
  - name: KYC - Address Verification (Individuals)
    description: >-
      Physical and digital address verification workflows for individuals. Note:
      these same endpoints are also documented under KYB for businesses — see
      merge notes.
  - name: KYB - Global
    description: >-
      Business search, bulk-upload and premium company-search endpoints not tied
      to one country.
  - name: KYB - Nigeria
    description: Nigeria-specific business address verification and tax ID checks.
  - name: KYB - South Africa
    description: South Africa-specific business account and address verification.
  - name: KYB - Cote D'Ivoire
    description: Cote D'Ivoire-specific company filings lookup.
  - name: AML Screening
    description: PEP, sanctions, adverse-media and crypto AML screening.
  - name: AML Watchlist
    description: Manage your own custom AML watchlist.
paths:
  /v2/api/verifications/aml-checks/{verificationId}:
    get:
      tags:
        - AML Screening
      summary: Retrieve a PEP and Sanction Screening Search
      description: >-
        Retrieves an already verified PEP and Sanction List Search verification
        record by its verification ID.
      operationId: retrievePepAndSanctionScreeningSearch
      parameters:
        - name: token
          in: header
          required: true
          schema:
            type: string
          description: API secret token
        - name: verificationId
          in: path
          required: true
          schema:
            type: string
          description: The verification ID to retrieve
      responses:
        '200':
          description: Success
          content:
            application/json:
              example:
                success: true
                statusCode: 200
                message: AML Check retrieved successfully!
                data:
                  categoryCount:
                    sanctions: 0
                    pep: 1
                    crime: 0
                    debarment: 0
                    financial_services: 0
                    government: 0
                    role: 0
                    religion: 0
                    military: 0
                    frozen_asset: 0
                    personOfInterest: 0
                  status: review_required
                  parentId: null
                  isSubjectConsent: true
                  type: all
                  sanctions: []
                  pep:
                    - title:
                        - MUHAMMED GUDAJI
                      entityType: Person
                      datasets:
                        - everypolitician
                        - wikidata
                        - wd_peps
                      birthDate:
                        - '1972-01-01T00:00:00.000Z'
                      name:
                        - Muhammed Gudaji
                        - MUHAMMED GUDAJI
                      position:
                        - >-
                          member of the House of Representatives of Nigeria
                          (2019-)
                        - member of the House of Representatives of Nigeria
                        - House of Representatives (member, 2015-)
                      topics:
                        - role.pep
                      nationality:
                        - ng
                      gender:
                        - male
                      alias:
                        - Muhammed Kazaure Gudaji
                        - Muhammad Aliyu Gudaji
                        - MUHAMMED KAZAURE GUDAJI
                        - Muhammed Gudaji
                        - Muhammed Gudaji Kazaure
                      keywords:
                        - National government
                      country:
                        - ng
                      notes:
                        - Nigerian politician
                      phone:
                        - '+2347037730852'
                  crime: []
                  debarment: []
                  financial_services: []
                  government: []
                  role: []
                  religion: []
                  military: []
                  frozen_asset: []
                  personOfInterest: []
                  totalEntity: 1
                  queriedWith: Identity Number
                  query: '+2347037730852'
                  businessId: 628b38f03ae28a14f52d4bf7
                  requestedAt: '2023-08-11T05:15:12.297Z'
                  requestedById: 628b38f03ae28a5a122d4bf3
                  createdAt: '2023-08-11T05:15:12.483Z'
                  lastModifiedAt: '2023-08-11T05:15:12.483Z'
                  id: 64d5c3dfdf93fda73eeff33e
                  requestedBy:
                    firstName: API
                    lastName: User
                    middleName: ''
                    id: 628b38f03ae28a5a122d4bf3
                links: []
        '401':
          $ref: '#/components/responses/Error401Unauthorized'
        '404':
          $ref: '#/components/responses/Error404NotFound'
        '429':
          $ref: '#/components/responses/Error429TooManyRequests'
        '500':
          $ref: '#/components/responses/Error500ServerError'
components:
  responses:
    Error401Unauthorized:
      description: Unauthorized — the token header is missing or invalid.
      content:
        application/json:
          example:
            success: false
            statusCode: 401
            message: Permission denied
            name: UnauthorizedError
            data: {}
    Error404NotFound:
      description: Not Found — the URL, or the resource ID in the URL, was not recognized.
      content:
        application/json:
          example:
            success: false
            statusCode: 404
            message: Not found
            name: ResourceNotFoundError
            data: {}
    Error429TooManyRequests:
      description: Too Many Requests — you have exceeded the rate limit; wait and retry.
      content:
        application/json:
          example:
            success: false
            statusCode: 429
            message: Too many requests
            name: RateLimitError
            data: {}
    Error500ServerError:
      description: >-
        Internal Server Error — a rare, unexpected failure on Youverify's side.
        Contact support@youverify.co if it persists.
      content:
        application/json:
          example:
            success: false
            statusCode: 500
            message: Internal Server Error
            name: Error
            data: {}
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: token
      description: Your Youverify API secret key. Never expose client-side.

````