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

# Phone-Identity Match

> Score how likely an Indonesian phone number belongs to the named person.

The response includes a match score from 0 to 1 and a match level.

## Phone number formats

You can send `phone_number` in any of these formats, up to 20 characters:

* `081234567890`
* `81234567890`
* `6281234567890`
* `+62 812-3456-7890`

## Reading the result

| `matchScore` | `matchLevel` | `verificationStatus` | Code |
| - | - | - | - |
| 0.90 or more | `VERY_HIGH` | `VERIFIED` | `3` |
| 0.75 to below 0.90 | `HIGH` | `VERIFIED` | `3` |
| 0.50 to below 0.75 | `MEDIUM` | `REVIEW_NEEDED` | `2` |
| Below 0.50, or no score | `LOW` or `null` | `REJECTED` | `1` |

When a name is available, usually on `LOW` matches, the response also includes `probableName`. This is a masked name, such as `B••i S•••••o`. If no name is available, the field is left out. `probableName` does not change the verification status.

The same response body is also sent to the Trust Flow's webhook URL, if one is set.


## OpenAPI

````yaml api-reference/openapi.json POST /api/v3/verifications/indonesia/phone-identity
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
        enum:
          - integrate
          - api.ph
        description: >-
          IDmeta environment subdomain. Use `api.ph` for
          portalph.idmetagroup.com and `integrate` for verify.idmetagroup.com.
security:
  - bearerAuth: []
tags:
  - name: Processes
    description: Verification process endpoints
  - name: Trust Flow Links
    description: Trust Flow link generation endpoints
  - name: Compliance
    description: Compliance verification endpoints
  - name: Government Data
    description: Government data verification endpoints
  - name: Alternative Verifications
    description: Alternative verification and intelligence endpoints
  - name: OCR
    description: Document OCR extraction endpoints
paths:
  /api/v3/verifications/indonesia/phone-identity:
    post:
      tags:
        - Alternative Verifications
      summary: Phone-Identity Match
      description: >-
        Scores how likely an Indonesian phone number belongs to the named
        person.


        **Verification status:**

        - `VERIFIED` (3): `matchScore` is 0.75 or more.

        - `REVIEW_NEEDED` (2): `matchScore` is 0.50 or more and below 0.75.

        - `REJECTED` (1): `matchScore` is below 0.50, or no score is returned.


        `probableName` does not change the status.
      operationId: indonesiaPhoneIdentityMatchV3
      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/IdnPhoneIdentityMatchRequest'
            examples:
              default:
                summary: Phone-Identity Match request
                value:
                  trustValidationId: 9f1c2e4a-1234-4b5c-8d9e-0a1b2c3d4e5f
                  trustFlowId: 123
                  phone_number: '6281234567890'
                  name: Budi Santoso
      responses:
        '200':
          description: >-
            Verification completed. The same body is also sent to the Trust
            Flow's webhook URL, if one is set.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdnPhoneIdentityMatchResponse'
              examples:
                verified:
                  summary: High match
                  value:
                    success: true
                    message: Successfully validated phone identity
                    data:
                      matchScore: 0.82
                      matchLevel: HIGH
                    verificationStatus: VERIFIED
                    verificationStatusCode: 3
                    trustFlowId: 123
                    trustValidationId: 9f1c2e4a-1234-4b5c-8d9e-0a1b2c3d4e5f
                    verificationType: idn_phone_identity
                    metadata: null
                    createdAt: 2026-12-03 08:15:30+0000
                reviewNeeded:
                  summary: Medium match
                  value:
                    success: true
                    message: Successfully validated phone identity
                    data:
                      matchScore: 0.61
                      matchLevel: MEDIUM
                    verificationStatus: REVIEW_NEEDED
                    verificationStatusCode: 2
                    trustFlowId: 123
                    trustValidationId: 9f1c2e4a-1234-4b5c-8d9e-0a1b2c3d4e5f
                    verificationType: idn_phone_identity
                    metadata: null
                    createdAt: 2026-12-03 08:15:30+0000
                rejected:
                  summary: Low match with probable name
                  value:
                    success: true
                    message: Successfully validated phone identity
                    data:
                      matchScore: 0.32
                      matchLevel: LOW
                      probableName: B••i S•••••o
                    verificationStatus: REJECTED
                    verificationStatusCode: 1
                    trustFlowId: 123
                    trustValidationId: 9f1c2e4a-1234-4b5c-8d9e-0a1b2c3d4e5f
                    verificationType: idn_phone_identity
                    metadata: null
                    createdAt: 2026-12-03 08:15:30+0000
        '400':
          description: A required field is missing or invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdnContactPhoneErrorResponse'
              example:
                success: false
                message: The name field is required.
                errors:
                  name:
                    - The name field is required.
                createdAt: 2026-12-03 08:15:30+0000
        '401':
          description: >-
            The bearer token is missing or invalid, or the HMAC signature is
            invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdnContactPhoneErrorResponse'
              examples:
                unauthenticated:
                  summary: Missing or invalid token
                  value:
                    message: Unauthenticated.
                invalidHmac:
                  summary: Invalid HMAC signature
                  value:
                    status: false
                    message: Invalid HMAC signature
        '402':
          description: Your company has used up its credit.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdnContactPhoneErrorResponse'
              example:
                success: false
                message: Insufficient credit to perform this verification.
                error_code: INSUFFICIENT_CREDIT
                plan: <plan>
                createdAt: 2026-12-03 08:15:30+0000
        '403':
          description: The product is not enabled for your company.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdnContactPhoneErrorResponse'
              example:
                success: false
                message: Forbidden
                createdAt: 2026-12-03 08:15:30+0000
        '404':
          description: The `trustValidationId` was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdnContactPhoneErrorResponse'
              example:
                success: false
                message: Trust Validation Not Found
                errors:
                  trustValidationId:
                    - Trust Validation Not Found
                createdAt: 2026-12-03 08:15:30+0000
        '500':
          description: >-
            The verification service is not configured, or an unexpected error
            occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdnContactPhoneErrorResponse'
              examples:
                notConfigured:
                  summary: Service not configured
                  value:
                    success: false
                    message: Verification service is not configured
                    createdAt: 2026-12-03 08:15:30+0000
                failed:
                  summary: Unexpected error
                  value:
                    success: false
                    message: Verification failed
                    createdAt: 2026-12-03 08:15:30+0000
        '502':
          description: >-
            The data source is unavailable, rejected the request, or returned an
            invalid response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdnContactPhoneErrorResponse'
              examples:
                unavailable:
                  summary: Data source unavailable
                  value:
                    success: false
                    message: Verification service is temporarily unavailable
                    createdAt: 2026-12-03 08:15:30+0000
                rejected:
                  summary: Data source rejected the request
                  value:
                    success: false
                    message: Verification service rejected the request
                    createdAt: 2026-12-03 08:15:30+0000
                invalid:
                  summary: Invalid response from the data source
                  value:
                    success: false
                    message: Invalid response from the verification service
                    createdAt: 2026-12-03 08:15:30+0000
        '504':
          description: The data source did not return a result within 120 seconds.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdnContactPhoneErrorResponse'
              example:
                success: false
                message: Verification service timed out
                createdAt: 2026-12-03 08:15:30+0000
components:
  schemas:
    IdnPhoneIdentityMatchRequest:
      type: object
      required:
        - trustValidationId
        - trustFlowId
        - phone_number
        - name
      properties:
        trustValidationId:
          type: string
          description: ID of the Trust Validation. It must belong to your company.
        trustFlowId:
          type: integer
          description: ID of the Trust Flow.
        phone_number:
          type: string
          maxLength: 20
          description: >-
            Indonesian phone number. Up to 20 characters. Accepts `0812…`,
            `812…`, `62812…` and `+62 812-…` formats.
        name:
          type: string
          maxLength: 100
          description: Full name to match against the phone number. Up to 100 characters.
    IdnPhoneIdentityMatchResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Always `true` on a 200 response.
        message:
          type: string
          description: Result message.
        data:
          $ref: '#/components/schemas/IdnPhoneIdentityMatchData'
        verificationStatus:
          type: string
          enum:
            - VERIFIED
            - REVIEW_NEEDED
            - REJECTED
          description: Verification outcome.
        verificationStatusCode:
          type: integer
          enum:
            - 3
            - 2
            - 1
          description: '`3` = `VERIFIED`, `2` = `REVIEW_NEEDED`, `1` = `REJECTED`.'
        trustFlowId:
          type: integer
          description: Same value as in the request.
        trustValidationId:
          type: string
          description: Same value as in the request.
        verificationType:
          type: string
          description: Product key. Always `idn_phone_identity` for this endpoint.
        metadata:
          type: object
          nullable: true
          description: Metadata stored on the Trust Validation.
        createdAt:
          type: string
          description: UTC time in `YYYY-MM-DD HH:MM:SS+0000` format.
    IdnContactPhoneErrorResponse:
      type: object
      description: >-
        Error body. `401` token errors return only `message`. `401` HMAC errors
        use `status` instead of `success`.
      properties:
        success:
          type: boolean
          example: false
        status:
          type: boolean
          description: Sent instead of `success` on HMAC signature errors.
        message:
          type: string
          description: Error message.
        errors:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: >-
            Field errors. Sent on validation (`400`) and not-found (`404`)
            errors.
        error_code:
          type: string
          description: '`INSUFFICIENT_CREDIT` on `402` errors.'
        plan:
          type: string
          description: Your company's plan. Sent on `402` errors.
        createdAt:
          type: string
          description: UTC time in `YYYY-MM-DD HH:MM:SS+0000` format.
    IdnPhoneIdentityMatchData:
      type: object
      properties:
        matchScore:
          type: number
          nullable: true
          minimum: 0
          maximum: 1
          description: Match score from 0 to 1.
        matchLevel:
          type: string
          nullable: true
          enum:
            - VERY_HIGH
            - HIGH
            - MEDIUM
            - LOW
          description: >-
            `VERY_HIGH` (0.90 or more), `HIGH` (0.75 or more), `MEDIUM` (0.50 or
            more), `LOW` (below 0.50).
        probableName:
          type: string
          description: >-
            Optional. A masked name, sent only when one is available (usually on
            `LOW` matches). Left out when no name is available.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Use `Bearer {your_api_token}` in the Authorization header.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.