跳到主要內容

客戶在邀請頁面上放棄流程或自助回報錯誤時的上報

POST/v1/onboarding/invitations/{token}/es-events

【客戶端,無需驗證】客戶在邀請頁面上放棄流程或自助回報錯誤時的上報。恆 202。

驗證

此 API 不需要 API Key。

請求​

Base URL:https://api.bluehola.com

參數​

名稱位置必填類型/約束說明
tokenpath是string邀請連結裡的一次性 token

請求本文​

請求本文為必填。

請求本文欄位​

欄位類型必填說明
eventstring是FINISH* / CANCEL / ERROR
currentStepstring否放棄時所在的畫面
errorCodestring否Meta 錯誤代碼
errorMessagestring否Meta 錯誤文案
metaSessionIdstring否Meta session_id
timestampinteger否unix 秒

Content-Type:application/json Schema:

{
"type": "object",
"properties": {
"event": {
"type": "string",
"description": "string · 必填 — FINISH* / CANCEL / ERROR"
},
"currentStep": {
"type": "string",
"description": "string · 選填 — 放棄時所在的畫面"
},
"errorCode": {
"type": "string",
"description": "string · 選填 — Meta 錯誤代碼"
},
"errorMessage": {
"type": "string",
"description": "string · 選填 — Meta 錯誤文案"
},
"metaSessionId": {
"type": "string",
"description": "string · 選填 — Meta session_id"
},
"timestamp": {
"type": "string",
"description": "integer · 選填 — unix 秒"
}
},
"required": [
"event"
]
}

回應​

狀態碼說明
202Accepted
4xx用戶端錯誤

通用錯誤信封及處理建議見錯誤代碼。

補充說明​

歸屬(帳戶 / Portfolio)只從連結裡的 token 解析,body 無法指定,與 /complete 同一條規矩。token 無效時也回傳 202:這是排查資料,回錯只會讓這個 API 變成一個「該 token 是否存在」的探測器。與其他客戶端 API 一樣按來源 IP 限流。