跳转到主要内容
WEBHOOK

授权

Authorization
string
header
必填

通过 Authorization 请求头传入合作方 API Key:Authorization: Bearer ak_live_... (云端沙箱使用 ak_test_...,局域网本地直连使用 ak_local_...)。

请求头

X-Ake-Signature
string
必填

HMAC-SHA256 防重放签名头,格式为 t=<unix_seconds>,v1=<hex_digest>。

示例:

"t=1764215400,v1=9a7d2b44e0f3e6d1"

请求体

application/json
id
string
必填

全局唯一事件 ID,供接收方做幂等去重。

type
string
必填
Allowed value: "vehicle.exited"
createdAt
string<date-time>
必填

带明确时区偏移或 Z(UTC)后缀的 ISO 8601 标准时间戳。

示例:

"2026-11-27T12:00:00+08:00"

facilityId
string
必填

合作方授权范围下的唯一停车场对外编码标识。

示例:

"MY-KL-001"

data
object
必填

响应

200

请在 5 秒内返回 HTTP 2xx 响应确认接收。