Webhook Overview
AfterShip Protection API currently supports 2 webhook callback for policy and claim updates.
Claim
Method
POST
Content Type
application/json
Specification
Key | Type | Description |
---|---|---|
claim_id | string | Claim id created by the AfterShip Protection to identify the claim information. |
external_claim_id | string | The claim id created by the insurance suppliers for claiming online. |
status | string | the status of claim entity |
event_ts | number | UTC unix microsecond timestamp that the event occurred. |
Sample Payload
preparing...
Policy
Method
POST
Content Type
application/json
Key | Type | Description |
---|---|---|
policy_id | string | The policy id created by protection api. |
external_policy_number | string | The policy number created by the insurace suppliers. |
status | string | Status of policy entity |
event_ts | number | UTC unix microsecond timestamp that the event occurred. |
Sample Payload
preparing...