Webhooks

Webhooks

الوجهات وسجل التسليم.

شكل إنشاء الويب هوك وتعديله هو نفسه في توثيق API الجلسة. الصلاحية المطلوبة مكتوبة بجانب كل مسار.

GET    /instances/{instance_id}/webhooks                         webhooks.read
POST   /instances/{instance_id}/webhooks                         webhooks.write
PATCH  /instances/{instance_id}/webhooks/{webhook_id}            webhooks.write
POST   /instances/{instance_id}/webhooks/{webhook_id}/enabled    webhooks.write
DELETE /instances/{instance_id}/webhooks/{webhook_id}            webhooks.delete

GET  /instances/{instance_id}/webhooks/{webhook_id}/deliveries
     webhooks.deliveries.read

POST /instances/{instance_id}/webhooks/{webhook_id}/deliveries/{delivery_id}/redeliver
     webhooks.redeliver

سجل التسليم آخر المحاولات. إعادة التسليم تعيد محاولة فاشلة أو متوقفة لنفس الحدث.

مفتاح الجلسة لا يفتح مسارات الحساب الجديدة، ومفتاح الحساب لا يمر من مسار بلا صلاحيته.