الانتقال إلى المحتوى الرئيسي
POST
curl
تُعيد نقطة النهاية Create a Manage Link في Didit رابطًا لمرة واحدة صالحًا لمدة 15 دقيقة، يوصل الشخص إلى صفحة الوصول الخاصة به لاتصال مصرفي واحد، حيث يرى ما يشاركه مع جهتك ويمكنه إيقاف المشاركة. على الخادم لديك، تحقّق من أن الاتصال يعود إلى المستخدم المسجّل الدخول قبل طلب رابط الإدارة. افتح الـ url المُعاد فورًا. فهذا الرابط يتجاوز إثبات الهوية، لذا لا ترسله أبدًا عبر البريد الإلكتروني ولا تسجّله في السجلات. إذا أعدت الطلب نفسه بالمفتاح Idempotency-Key نفسه وبيانات الاعتماد نفسها خلال 24 ساعة، فسيُعاد الرابط الأصلي. لا تظل إعادة المحاولة صالحة بعد حذف الاتصال؛ إذ تُرجع تلك المحاولة الخطأ 409 idempotency_key_forgotten. استخدم مفتاحًا جديدًا لكل نقرة جديدة بعد الاستخدام أو انتهاء الصلاحية. يمكنك إنشاء رابط إدارة لاتصال لمرة واحدة حتى إذا كانت قيمة manage_url فيه null. بعد جمع البيانات، تُظهر الصفحة أن المشاركة قد انتهت. أما في رسائل البريد الإلكتروني أو الإيصالات، فاستخدم manage_url الدائم فقط عندما يكون موجودًا. يتطلب هذا الرابط إثباتًا، وقد يغيب أيضًا في الاتصالات التجريبية المُعدّة مسبقًا. راجع صفحة الوصول للشخص.

التفويضات

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.

الترويسات

Idempotency-Key
string

Optional retry-safety key you choose for one operation, up to 255 characters (a UUID works). A request repeated with the same key, endpoint, query and body is answered with the first response, same status and same body, and runs and bills nothing a second time. The same key with another endpoint, query or body returns 409 idempotency_key_reused, and while the first request is still running, 409 idempotency_key_in_progress with Retry-After. If a deletion erased a resource named in the first request or its successful response, within 24 hours of that request's first successful response the key is refused whatever the request with 409 idempotency_key_forgotten and nothing runs. The first write already ran: if you only need its result, do not resend; to write again, send the request again with a new key. After 24 hours from the first successful response, the same key starts a new request. A write that runs and returns a 4xx or 5xx releases its key so you can retry with the same key. If Didit refuses a key before running the write, that refusal leaves the existing reservation in place. Keys belong to your application, whether you call with an API key or an access token. See Retries and idempotency.

Required string length: 1 - 255

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

id
string<uuid>
مطلوب

The connection id.

الاستجابة

The manage link.

A short-lived link to the person's own access page.

url
string<uri>
مطلوب

On your server, verify that the connection belongs to the signed-in user before you request a manage link. The URL skips identity proof, works once and must never be emailed or logged.

expires_at
string<date-time>
مطلوب

When the link stops working: 15 minutes after creation.

آخر تعديل في ٦ ديسمبر ٢٠٢٦