Description
When subscribed to Event ID 21, you will receive a CASE_REASSIGNED event webhook.
When a Hi Marley case is reassigned from one operator to another, a CASE_REASSIGNED [21] webhook will be triggered.
| Webhook Name | Case Reassigned |
| Event ID | 21 |
| Event Name | CASE_REASSIGNED |
Table of Contents
Registering Webhooks
Use the following payloads to subscribe to the Case Reassigned webhook using the POST /webhooks/register endpoint
Request Payloads
Note: The Headers array is an optional set of values that can be used to attach specific static headers to each webhook response for any purpose (e.g indicating the type of event, carrier authentication of payload with a token)
{
"EVENT_ID": 21,
"HTTP_POST_ADDRESS": "http://mywebaddress.com/optin",
"HEADERS": {
"key": "value",
"key1": "value1"
},
"redacted": true
}
Example Payload Triggered by Case Reassignment
Headers
content-type application/json
accept application/json
requestid <auto-gen id>
Eventid 21
Eventname CASE_REASSIGNED
<other subscribed headers>
Request Body
{
"case": {
"caseData": {
"id": "994cd384-9f96-459d-9f1d-c29ea1312541",
"archived": false,
"claimNumber": "mddl-rth-3rd",
"dateOfLoss": "2023-04-11T08:33:39.048Z",
"policyNumber": "gndr-mns-trth-2",
"brand": "Lovable Insurance"
},
"businessName": "White Tree Landscaping",
"state": "open",
"caseType": "claim",
"customer": {
"id": "392f64ee-6d9d-42c6-85eb-4ee4262c27e0",
"first": "Samuel",
"last": "Webb",
"email": "kevroller17@gmail.com",
"mobile": "+19784919224",
"role": "enduser",
"optStatus": true,
"optStatusDetail": "OPTED_IN"
},
"primaryContact": {
"id": "5bea662f-2026-4bfa-be39-57a9ae6b083f",
"first": "Jeremie",
"last": "Quinones",
"email": "jeremie.quinones@himarley.com",
"mobile": "",
"role": "operator"
},
"createTime": "2023-04-04T18:40:46.626Z",
"creationSource": "PublicApi",
"referenceId": "mddl-rth-3rd",
"privacy": "private-redacted",
"marleyNumber": "+17622165564",
"languagePreference": "en",
"secondaryOperators": []
},
"prevPrimaryContact": {
"id": "643bb2f8-f82d-4e71-94f0-fad78172024a",
"first": "Kevin",
"last": "Roller",
"email": "kevin.roller@himarley.com",
"mobile": "",
"role": "operator"
}
}
Comments
0 comments
Please sign in to leave a comment.