İçeriğe geç

Viber Activity Checker API: Check Last Active Time

Check the activity status and days since last online for Viber accounts of the input global phone numbers

Dosya yükleme örneği:

curl --location 'https://api.ekycpro.com/v1/tasks' \
--header 'X-API-Key: API-KEY' \
--form 'file=@"./number.txt"' \
--form 'task_type="viber_active"'

Görev durumunu kontrol etme örneği:

curl --location 'https://api.ekycpro.com/v1/gettasks' \
--header 'X-API-Key: API-KEY' \
--form 'task_id="task_id"'

Dosya yükleme başarılı yanıtı:

{
"task_id": "d4g8o46p2jvh04o9uolg",
"status": "pending",
"total": 2049,
"message": "Task created successfully",
"created_at": "2025-11-21T15:58:08.916446594Z"
}

İşleniyor durumu yanıtı:

{
"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
}

Görev tamamlandı yanıtı (indirme URL’i dahil):

{
"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..."
}

Dosya yükleme istek URL’i

POST https://api.ekycpro.com/v1/tasks

Dosya yükleme istek parametreleri

ParametreAçıklama
filefile, Bir dosya yükleyin; her satır E.164 formatında bir numara içermelidir
task_typestring, Görev tipi, “viber_active” olarak ayarlayın

Görev durum sorgulama istek URL’i

POST https://api.ekycpro.com/v1/gettasks

Görev durum sorgulama istek parametreleri

ParametreAçıklama
task_idstring, Görev oluşturma sırasında dönen görev kimliği

Sonuç alanları

AlanAçıklamaÖrnek
NumberPhone number in E.164 format+38091234567
viberWhether number has active Viber accountyes, no
viber_daysDays since last online for Viber account1, 7, 30, N/A

Yanıt formatı

FieldDescription
created_atTimestamp when task was created
updated_atTimestamp of last task status update
task_idUnique task identifier
user_idID of user
statusTask status:
pending: Queued and waiting
processing: Currently processing
exported: Results available for download
totalTotal phone numbers processed
successNumbers successfully identified
failureNumbers that failed processing
result_url(Optional) Download URL for results when status is exported

Durum kodları

DurumAçıklama
200charge, Request successful, task created or status retrieved
400free, Bad request, invalid parameters or file format
500free, Internal server error, retry later