Skip to main content
POST
Phone-Identity Match
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

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.

Authorizations

Authorization
string
header
required

Use Bearer {your_api_token} in the Authorization header.

Headers

Accept
string
default:application/json
Content-Type
string
default:application/json

Body

application/json
trustValidationId
string
required

ID of the Trust Validation. It must belong to your company.

trustFlowId
integer
required

ID of the Trust Flow.

phone_number
string
required

Indonesian phone number. Up to 20 characters. Accepts 0812…, 812…, 62812… and +62 812-… formats.

Maximum string length: 20
name
string
required

Full name to match against the phone number. Up to 100 characters.

Maximum string length: 100

Response

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

success
boolean

Always true on a 200 response.

message
string

Result message.

data
object
verificationStatus
enum<string>

Verification outcome.

Available options:
VERIFIED,
REVIEW_NEEDED,
REJECTED
verificationStatusCode
enum<integer>

3 = VERIFIED, 2 = REVIEW_NEEDED, 1 = REJECTED.

Available options:
3,
2,
1
trustFlowId
integer

Same value as in the request.

trustValidationId
string

Same value as in the request.

verificationType
string

Product key. Always idn_phone_identity for this endpoint.

metadata
object | null

Metadata stored on the Trust Validation.

createdAt
string

UTC time in YYYY-MM-DD HH:MM:SS+0000 format.