ดูรายการ endpoint

GEThttps://api.checkslip.com/api/webhooks/endpoints

ใช้ API key

แสดง endpoint ทั้งหมดของบัญชี พร้อม url, event_types ที่รับ, enabled (เปิดหรือปิดอยู่) และ 4 ตัวท้ายของ signing secret ใน secret_hint · endpoint ที่ปิดอยู่มีเหตุใน disabled_reason คือ MANUAL (ปิดเอง), GONE (ปลายทางตอบ 410) หรือ FAILING (ส่งไม่สำเร็จต่อเนื่อง 5 วัน) · endpoint ที่ปิดอยู่ไม่มีข้อความใหม่เก็บไว้ให้ · ใช้ next_cursor เพื่อดูหน้าถัดไป · ใช้ API key ที่มีสิทธิ์ webhook:read

Parameters

ฟิลด์ส่งทางชนิดจำเป็น
traceparentheaderstringไม่
limitqueryintegerไม่
cursorquerystringไม่

Responses

200 application/json

ฟิลด์ชนิดจำเป็น
itemsEndpoint[]ใช่
items[].idstringใช่
items[].urlstring (uri)ใช่
items[].descriptionstring | nullใช่
items[].event_typesslip.checked | webhook.test[]ใช่
items[].enabledbooleanใช่
items[].disabled_reasonMANUAL | GONE | FAILING | nullใช่
items[].secret_hintstringใช่
items[].previous_secret_expires_atstring (date-time) | nullไม่
items[].created_atstring (date-time)ใช่
items[].updated_atstring (date-time)ใช่
next_cursorstring | nullใช่

Error ที่อาจได้

400401403

error ในรูป Problem Details ดูรหัสทั้งหมดที่ รหัสข้อผิดพลาด