ส่งข้อความทดสอบ

POSThttps://api.checkslip.com/api/webhooks/endpoints/{endpoint_id}/test

ใช้ API key

ส่งข้อความประเภท webhook.test ไปที่ endpoint นี้ พร้อมลายเซ็นและการส่งอีกรอบเหมือนข้อความจริง ใช้ลองว่าระบบของคุณรับข้อความและเทียบลายเซ็นได้ · ไม่ใช้เครดิต และไม่มีข้อมูลรายการโอน · คำตอบคือรายการส่งที่เข้าคิวแล้ว ดูผลต่อด้วย id ในคำตอบ · endpoint ที่ปิดอยู่ส่งไม่ได้ (ENDPOINT_DISABLED) · ต้องส่ง header Idempotency-Key · ใช้ API key ที่มีสิทธิ์ webhook:manage

Parameters

ฟิลด์ส่งทางชนิดจำเป็น
endpoint_idpathstringใช่
traceparentheaderstringไม่
Idempotency-Keyheaderstringใช่

Responses

202 application/json

ฟิลด์ชนิดจำเป็น
idstringใช่
message_idstringใช่
endpoint_idstringใช่
event_typeslip.checked | webhook.testใช่
request_idstring (uuid) | nullใช่
statusPENDING | RETRYING | SUCCEEDED | FAILED | CANCELLEDใช่
attempt_countintegerใช่
next_attempt_atstring (date-time) | nullใช่
last_attempt_atstring (date-time) | nullใช่
last_http_statusinteger | nullใช่
created_atstring (date-time)ใช่

Error ที่อาจได้

400401403404409422

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