ดู endpoint หนึ่งอัน
GEThttps://api.checkslip.com/api/webhooks/endpoints/{endpoint_id}
ใช้ API key
แสดง endpoint หนึ่งอันของบัญชีนี้ตาม endpoint_id · ไม่มีค่า secret เต็ม มีแค่ secret_hint · endpoint_id ที่ไม่มีอยู่ ถูกลบแล้ว หรือเป็นของบัญชีอื่น ตอบ 404 เหมือนกัน · ใช้ API key ที่มีสิทธิ์ webhook:read
Parameters
| ฟิลด์ | ส่งทาง | ชนิด | จำเป็น |
|---|---|---|---|
endpoint_id | path | string | ใช่ |
traceparent | header | string | ไม่ |
Responses
200 application/json
| ฟิลด์ | ชนิด | จำเป็น |
|---|---|---|
id | string | ใช่ |
url | string (uri) | ใช่ |
description | string | null | ใช่ |
event_types | slip.checked | webhook.test[] | ใช่ |
enabled | boolean | ใช่ |
disabled_reason | MANUAL | GONE | FAILING | null | ใช่ |
secret_hint | string | ใช่ |
previous_secret_expires_at | string (date-time) | null | ไม่ |
created_at | string (date-time) | ใช่ |
updated_at | string (date-time) | ใช่ |
Error ที่อาจได้
401403404
error ในรูป Problem Details ดูรหัสทั้งหมดที่ รหัสข้อผิดพลาด