Skip to main content
POST
Contact Identification by Phone Number
The response lists every NIK registered to the phone number, with the date each was registered.

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

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

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