ดูรายการ 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
| ฟิลด์ | ส่งทาง | ชนิด | จำเป็น |
|---|---|---|---|
traceparent | header | string | ไม่ |
limit | query | integer | ไม่ |
cursor | query | string | ไม่ |
Responses
200 application/json
| ฟิลด์ | ชนิด | จำเป็น |
|---|---|---|
items | Endpoint[] | ใช่ |
items[].id | string | ใช่ |
items[].url | string (uri) | ใช่ |
items[].description | string | null | ใช่ |
items[].event_types | slip.checked | webhook.test[] | ใช่ |
items[].enabled | boolean | ใช่ |
items[].disabled_reason | MANUAL | GONE | FAILING | null | ใช่ |
items[].secret_hint | string | ใช่ |
items[].previous_secret_expires_at | string (date-time) | null | ไม่ |
items[].created_at | string (date-time) | ใช่ |
items[].updated_at | string (date-time) | ใช่ |
next_cursor | string | null | ใช่ |
Error ที่อาจได้
400401403
error ในรูป Problem Details ดูรหัสทั้งหมดที่ รหัสข้อผิดพลาด