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

# Philippines National Police

> Verify Philippines National Police records.



## OpenAPI

````yaml api-reference-legacy/openapi.json POST /api/v1/verification/philippines/nationalpolice
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/nationalpolice:
    post:
      tags:
        - Government Data
      summary: Philippines National Police
      description: Verify Philippines National Police clearance details.
      operationId: philippinesNationalPoliceVerification
      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/PhNationalPoliceRequest'
            examples:
              default:
                summary: Philippines National Police verification request
                value:
                  surname: <string>
                  clearanceNo: <string>
                  template_id: '{your_trust_flow_id}'
                  verification_id: '{your_created_verification_id}'
      responses:
        '200':
          description: Philippines National Police verified successfully
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PhNationalPoliceResponse'
              example:
                status: true
                message: OK
                response:
                  valid: true
                  data:
                    clearanceNo: TRA30K20230123012345
                    surname: John Doe
components:
  schemas:
    PhNationalPoliceRequest:
      type: object
      required:
        - surname
        - clearanceNo
        - template_id
        - verification_id
      properties:
        surname:
          type: string
          description: Surname of individual for verification.
        clearanceNo:
          type: string
          description: Philippines National Police 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.
    PhNationalPoliceResponse:
      type: object
      properties:
        status:
          type: boolean
        message:
          type: string
        response:
          type: object
          properties:
            valid:
              type: boolean
            data:
              type: object
              properties:
                clearanceNo:
                  type: string
                surname:
                  type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Use `Bearer {your_api_token}` in the Authorization header.

````