Contact Identification by Phone Number
curl --request POST \
--url https://{environment-subdomain}.idmetagroup.com/api/v3/verification/indonesia/contact-identification-by-phone-number \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"trustValidationId": "9f1c2e4a-1234-4b5c-8d9e-0a1b2c3d4e5f",
"trustFlowId": 123,
"phone_number": "6281234567890"
}
'import requests
url = "https://{environment-subdomain}.idmetagroup.com/api/v3/verification/indonesia/contact-identification-by-phone-number"
payload = {
"trustValidationId": "9f1c2e4a-1234-4b5c-8d9e-0a1b2c3d4e5f",
"trustFlowId": 123,
"phone_number": "6281234567890"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
trustValidationId: '9f1c2e4a-1234-4b5c-8d9e-0a1b2c3d4e5f',
trustFlowId: 123,
phone_number: '6281234567890'
})
};
fetch('https://{environment-subdomain}.idmetagroup.com/api/v3/verification/indonesia/contact-identification-by-phone-number', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{environment-subdomain}.idmetagroup.com/api/v3/verification/indonesia/contact-identification-by-phone-number",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'trustValidationId' => '9f1c2e4a-1234-4b5c-8d9e-0a1b2c3d4e5f',
'trustFlowId' => 123,
'phone_number' => '6281234567890'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{environment-subdomain}.idmetagroup.com/api/v3/verification/indonesia/contact-identification-by-phone-number"
payload := strings.NewReader("{\n \"trustValidationId\": \"9f1c2e4a-1234-4b5c-8d9e-0a1b2c3d4e5f\",\n \"trustFlowId\": 123,\n \"phone_number\": \"6281234567890\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{environment-subdomain}.idmetagroup.com/api/v3/verification/indonesia/contact-identification-by-phone-number")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"trustValidationId\": \"9f1c2e4a-1234-4b5c-8d9e-0a1b2c3d4e5f\",\n \"trustFlowId\": 123,\n \"phone_number\": \"6281234567890\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{environment-subdomain}.idmetagroup.com/api/v3/verification/indonesia/contact-identification-by-phone-number")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"trustValidationId\": \"9f1c2e4a-1234-4b5c-8d9e-0a1b2c3d4e5f\",\n \"trustFlowId\": 123,\n \"phone_number\": \"6281234567890\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Successfully completed contact identification",
"data": {
"identities": [
{
"nik": "3174012345670001",
"phoneNumber": "6281234567890",
"dateRegistered": "2024-06-29"
}
]
},
"verificationStatus": "VERIFIED",
"verificationStatusCode": 3,
"trustFlowId": 123,
"trustValidationId": "9f1c2e4a-1234-4b5c-8d9e-0a1b2c3d4e5f",
"verificationType": "idn_contact_identification_by_phone_number",
"metadata": null,
"createdAt": "2026-12-03 08:15:30+0000"
}Indonesia
Contact Identification by Phone Number
Return the identities (NIKs) registered to an Indonesian phone number.
POST
/
api
/
v3
/
verification
/
indonesia
/
contact-identification-by-phone-number
Contact Identification by Phone Number
curl --request POST \
--url https://{environment-subdomain}.idmetagroup.com/api/v3/verification/indonesia/contact-identification-by-phone-number \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"trustValidationId": "9f1c2e4a-1234-4b5c-8d9e-0a1b2c3d4e5f",
"trustFlowId": 123,
"phone_number": "6281234567890"
}
'import requests
url = "https://{environment-subdomain}.idmetagroup.com/api/v3/verification/indonesia/contact-identification-by-phone-number"
payload = {
"trustValidationId": "9f1c2e4a-1234-4b5c-8d9e-0a1b2c3d4e5f",
"trustFlowId": 123,
"phone_number": "6281234567890"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
trustValidationId: '9f1c2e4a-1234-4b5c-8d9e-0a1b2c3d4e5f',
trustFlowId: 123,
phone_number: '6281234567890'
})
};
fetch('https://{environment-subdomain}.idmetagroup.com/api/v3/verification/indonesia/contact-identification-by-phone-number', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{environment-subdomain}.idmetagroup.com/api/v3/verification/indonesia/contact-identification-by-phone-number",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'trustValidationId' => '9f1c2e4a-1234-4b5c-8d9e-0a1b2c3d4e5f',
'trustFlowId' => 123,
'phone_number' => '6281234567890'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{environment-subdomain}.idmetagroup.com/api/v3/verification/indonesia/contact-identification-by-phone-number"
payload := strings.NewReader("{\n \"trustValidationId\": \"9f1c2e4a-1234-4b5c-8d9e-0a1b2c3d4e5f\",\n \"trustFlowId\": 123,\n \"phone_number\": \"6281234567890\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{environment-subdomain}.idmetagroup.com/api/v3/verification/indonesia/contact-identification-by-phone-number")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"trustValidationId\": \"9f1c2e4a-1234-4b5c-8d9e-0a1b2c3d4e5f\",\n \"trustFlowId\": 123,\n \"phone_number\": \"6281234567890\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{environment-subdomain}.idmetagroup.com/api/v3/verification/indonesia/contact-identification-by-phone-number")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"trustValidationId\": \"9f1c2e4a-1234-4b5c-8d9e-0a1b2c3d4e5f\",\n \"trustFlowId\": 123,\n \"phone_number\": \"6281234567890\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Successfully completed contact identification",
"data": {
"identities": [
{
"nik": "3174012345670001",
"phoneNumber": "6281234567890",
"dateRegistered": "2024-06-29"
}
]
},
"verificationStatus": "VERIFIED",
"verificationStatusCode": 3,
"trustFlowId": 123,
"trustValidationId": "9f1c2e4a-1234-4b5c-8d9e-0a1b2c3d4e5f",
"verificationType": "idn_contact_identification_by_phone_number",
"metadata": null,
"createdAt": "2026-12-03 08:15:30+0000"
}The response lists every NIK registered to the phone number, with the date each was registered.
The same response body is also sent to the Trust Flow’s webhook URL, if one is set.
Phone number formats
You can sendphone_number in any of these formats, up to 20 characters:
081234567890812345678906281234567890+62 812-3456-7890
Reading the result
verificationStatus | Code | When |
|---|---|---|
VERIFIED | 3 | At least one identity is found. |
REJECTED | 1 | No identities are found. data.identities is empty. |
Authorizations
Body
application/json
Response
Verification completed. The same body is also sent to the Trust Flow's webhook URL, if one is set.

