Viber Bulk eKYCPro Avatar (Age and Gender) API: Profile Analysis & Demographics
Check the avatar information of the Viber accounts for the input global phone numbers, including whether the account is active, profile picture URL, gender, age, hair color, and skin color.
Contoh upload file deteksi:
curl --location 'https://api.ekycpro.com/v1/tasks' \--header 'X-API-Key: API-KEY' \--form 'file=@"./number.txt"' \--form 'task_type="viber_senior"'Contoh cek status task:
curl --location 'https://api.ekycpro.com/v1/gettasks' \--header 'X-API-Key: API-KEY' \--form 'task_id="task_id"'Respons upload file berhasil:
{ "task_id": "d4g8o46p2jvh04o9uolg", "status": "pending", "total": 2049, "message": "Task created successfully", "created_at": "2025-11-21T15:58:08.916446594Z"}Respons status pemrosesan:
{ "created_at": "2025-11-21T08:27:09.933Z", "updated_at": "2025-11-21T08:27:10.241Z", "task_id": "d4g24nep2jvh04o9uoh0", "user_id": "wfi7wGPS4B4PdtTMox5Y", "status": "processing", "total": 2049, "success": 1024, "failure": 0}Respons ketika task selesai (termasuk URL download hasil):
{ "created_at": "2025-11-21T08:27:09.933Z", "updated_at": "2025-11-21T08:27:10.241Z", "task_id": "d4g24nep2jvh04o9uoh0", "user_id": "wfi7wGPS4B4PdtTMox5Y", "status": "exported", "total": 2049, "success": 2049, "failure": 0, "result_url": "https://wapic.s3.ap-southeast-1.amazonaws.com/externalcheck/d4g24nep2jvh04o9uoh0/d4g24nep2jvh04o9uoh0.zip?X-Amz-Algorithm=AWS4-HMAC-SHA256..."}URL request upload file
POST https://api.ekycpro.com/v1/tasks
Parameter request upload file
| Parameter | Deskripsi |
|---|---|
file | file, Upload file; setiap baris harus berisi satu nomor dalam format E.164 |
task_type | string, Tipe task, set ke “viber_senior” |
URL request cek status task
POST https://api.ekycpro.com/v1/gettasks
Parameter request cek status task
| Parameter | Deskripsi |
|---|---|
task_id | string, ID task yang dikembalikan saat membuat task |
Kolom hasil
| Kolom | Deskripsi | Contoh |
|---|---|---|
Number | Phone number in E.164 format | +38091234567 |
viber | Whether number has active Viber account | yes, no |
avatar | URL of Viber profile picture | https://example.com/avatar.jpg |
age | Estimated age range based on profile picture | 25 |
gender | Gender detected from profile picture | male, female |
category | Type classification of profile picture | individual portrait, pet avatar, object, etc. |
hair_color | Hair color detected from profile picture | black, brown, blonde, etc. |
skin_color | Skin color detected from profile picture | white, black, etc. |
Format respons
| Field | Description |
|---|---|
created_at | Timestamp when task was created |
updated_at | Timestamp of last task status update |
task_id | Unique task identifier |
user_id | ID of user |
status | Task status: pending: Queued and waiting processing: Currently processing exported: Results available for download |
total | Total phone numbers processed |
success | Numbers successfully identified |
failure | Numbers that failed processing |
result_url | (Optional) Download URL for results when status is exported |
Kode status
| Status | Deskripsi |
|---|---|
200 | charge, Request successful, task created or status retrieved |
400 | free, Bad request, invalid parameters or file format |
500 | free, Internal server error, retry later |