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

# NBI Clearance

> Verify NBI clearance details.



## OpenAPI

````yaml api-reference-legacy/openapi.json POST /api/v1/verification/philippines/nbiclearance
openapi: 3.0.3
info:
  title: IDmeta API
  description: IDmeta verification and integration API.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://{environment-subdomain}.idmetagroup.com
    description: Your environment (replace `{environment-subdomain}`)
    variables:
      environment-subdomain:
        default: integrate
        description: IDmeta environment subdomain
security:
  - bearerAuth: []
tags:
  - name: Processes
    description: Verification process endpoints
  - name: Compliance
    description: Compliance verification endpoints
  - name: Government Data
    description: Government data verification endpoints
paths:
  /api/v1/verification/philippines/nbiclearance:
    post:
      tags:
        - Government Data
      summary: NBI Clearance
      description: Verify Philippines NBI clearance details.
      operationId: philippinesNbiClearanceVerification
      parameters:
        - name: Accept
          in: header
          required: false
          schema:
            type: string
            default: application/json
        - name: Content-Type
          in: header
          required: false
          schema:
            type: string
            default: application/json
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PhNbiClearanceRequest'
            examples:
              default:
                summary: NBI clearance verification request
                value:
                  clearanceNo: <string>
                  template_id: '{your_trust_flow_id}'
                  verification_id: '{your_created_verification_id}'
      responses:
        '200':
          description: NBI clearance verified successfully
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PhNbiClearanceResponse'
              example:
                status: true
                message: OK
                response:
                  data:
                    ID_no: U000KNTL12-RG1234567
                    full_name: JOHN JACK DOE
                    lname: JOHN
                    mname: JACK
                    fname: DOE
                    photo: >-
                      http://alpha-ws.nbi-clearance.io/api/v1/profile/temp/picture/A146JMPA49-DO1908648?expires=1753414508&signature=bc719a401ac6856cb40f5c98c1079ac2a2b833373ceb60a33cfe7ecbe2048b10
                    clearance_expiry: July 25, 2023
                    occupation: '-'
                    is_expired: true
                    took: 4
                    has_pin: false
                  found: true
                  valid: false
                  statusCode: 200
components:
  schemas:
    PhNbiClearanceRequest:
      type: object
      required:
        - clearanceNo
        - template_id
        - verification_id
      properties:
        clearanceNo:
          type: string
          description: Philippines NBI Clearance number for verification.
        template_id:
          type: string
          description: >-
            Identifier used to categorize or group requests for tracking or
            reporting.
        verification_id:
          type: string
          description: A unique ID used to identify your verification request.
    PhNbiClearanceResponse:
      type: object
      properties:
        status:
          type: boolean
        message:
          type: string
        response:
          type: object
          properties:
            data:
              type: object
              additionalProperties: true
            found:
              type: boolean
            valid:
              type: boolean
            statusCode:
              type: integer
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Use `Bearer {your_api_token}` in the Authorization header.

````