Webhook Overview

AfterShip Protection API currently supports 2 webhook callback for policy and claim updates.

POST

application/json

KeyTypeDescription
claim_idstringClaim id created by the AfterShip Protection to identify the claim information.
external_claim_idstringThe claim id created by the insurance suppliers for claiming online.
statusstringthe status of claim entity
event_tsnumberUTC unix microsecond timestamp that the event occurred.
preparing...

POST

application/json

KeyTypeDescription
policy_idstringThe policy id created by protection api.
external_policy_numberstringThe policy number created by the insurace suppliers.
statusstringStatus of policy entity
event_tsnumberUTC unix microsecond timestamp that the event occurred.
preparing...