Description
Hi Marley supports webhooks that will post case note data as a JSON payload during specific events to a designated HTTP(s) Address so that carriers can execute any related automated workflows associated to the case notes (e.g store case note in ClaimCenter Note Section)
Case Note Events
Here is the list of webhooks that can trigger an HTTP POST request with a case data payload
- Case Note Created [Event ID 16]
- Case Note Deleted [Event ID 17]
Registering Webhook
Use the following payloads to subscribe to send case notes data using the POST /webhooks/register endpoint
Request Payloads
Note: The Headers array is a 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": 16,
"HTTP_POST_ADDRESS": "https://mywebaddress.com/casedetails",
"HEADERS": {
"key1": "value1"
}
}
[Example] Case Data POST Request
Headers content-length 456 content-type application/json accept application/json eventname (CREATE_NOTE | UPDATE_NOTE) eventid (16 | 17) requestid 3796d40a-b897-4ebc-9133-8b302ab5984c
Body { "id": "71429da8-5a33-4903-9c62-b5e12f95eb35", "referenceId": "1f6680e5-c66c-4a76-8a6e-aa7816873dcf", "author": { "id": "1f6680e5-c66c-4a76-8a6e-a047169ccad0", "email": "steven.colon@insuranceCarrier.com", "first": "Steven", "last": "Colon" }, "text": "We should ask for more details on the type of animal due to extreme damage", "createdAt": "2023-02-01T21:28:08.783Z" }
Comments
0 comments
Please sign in to leave a comment.