الانتقال إلى المحتوى الرئيسي
GET
curl
تتيح Phone Verifications API من Didit عرض سجلات التحقق الخاصة بتطبيقك، مرتبةً من الأحدث إلى الأقدم. ابحث عن عملية تحقق حسب الحالة أو القناة أو الرقم أو المرجع أو الوسم أو وقت الإنشاء. تبقى إعادة المحاولة مرتبطة بالسجل نفسه. تتجاهل الواجهة الفلتر template ولا تُدرج template_used في نتائج JSON أو في ملفات CSV المُصدَّرة. تتضمن كل نتيجة JSON جميع المحاولات، كما في استرجاع عملية تحقق. للتنقل بين الصفحات، أرسل قيمة next بوصفها offset. فقيمتا next وprevious هما إزاحتان للصفحات مثل "20"، وليستا عنوان URL، وتكون قيمة next هي null في الصفحة الأخيرة. لا يمكن لميزة الترقيم التلقائي في حزمة SDK للخادم متابعة هذه الإزاحات، لذا مرّر offset يدوياً هناك أيضاً. لتصدير جميع السجلات المطابقة، أرسل format=csv. الأعمدة هي verification_id وstatus وphone_number وcountry وcreated_at وverified_at.

التفويضات

x-api-key
string
header
مطلوب

Your application's API key, from Developers -> API keys in the Business Console. The primary key has full access. A named key can be scoped: none, read or write per resource, limited to some workflows or to approved sessions, to a list of IP addresses, and to an expiry date. 401 means the key is wrong, revoked or expired; 403 means no key was sent, the key has no access to this resource or action, or the request came from an address outside its IP list; 404 on a session route means the session is outside the key's workflows or statuses. A key without media access receives image, video and PDF URLs as null, and a key without sessions write receives session links and tokens as null. See https://docs.didit.me/console/api-keys.

معلمات الاستعلام

status
enum<string>

pending, verified, not_delivered, expired, blocked or cancelled. Its status.

الخيارات المتاحة:
pending,
verified,
not_delivered,
expired,
blocked,
cancelled
مثال:

"verified"

channel
enum<string>

Any channel. A verification channel.

الخيارات المتاحة:
silent,
sms,
whatsapp,
telegram,
voice,
rcs,
viber,
zalo,
email,
push,
totp,
passkey
phone_number
string

One number. An E.164 number.

مثال:

"+34600000012"

reference
string

Your reference.

مثال:

"signup-48221"

tag
string

key:value, one of your tags. A tag in key:value form.

مثال:

"flow:signup"

created_after
string<date-time>

ISO 8601 date and time. The earliest creation time, ISO 8601.

created_before
string<date-time>

ISO 8601 date and time. The latest creation time, ISO 8601.

limit
integer
افتراضي:20

20 by default, 100 at most. Rows per page.

النطاق المطلوب: 1 <= x <= 100
مثال:

20

offset
integer

Where the page starts: 0 by default, or the next or previous value of another page. Rows to skip.

النطاق المطلوب: x >= 0
format
enum<string>
افتراضي:json

json, or csv to export every row of the filtered list. The response format.

الخيارات المتاحة:
json,
csv

الاستجابة

A page of verifications, or the filtered list as CSV.

count
integer

Rows that match the filters.

مثال:

1

next
string | null

Offset of the next page of verifications, as a string such as "20", or null on the last page. It is not a URL: send it as offset to read that page.

Pattern: ^[0-9]+$
مثال:

"20"

previous
string | null

Offset of the previous page of verifications, as a string such as "0", or null on the first page. It is not a URL: send it as offset to read that page.

Pattern: ^[0-9]+$
مثال:

"0"

results
object[]

The verifications, newest first, each one as Retrieve returns it.

آخر تعديل في ٢٤ نوفمبر ٢٠٢٦