Description
Whenever a Contact is updated, then Event 30 will trigger the Contact Updated Webhook and POST the updated Contact resource in a payload.
Registering Webhook
Use the following payload to subscribe to this webhook using the POST /webhooks/register endpoint
Request Payload
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": 30,
"HTTP_POST_ADDRESS": "http://mywebaddress.com/himarley/contactUpdated",
"HEADERS": {
"headerName1": "headerValue1",
"headerName2": "headerValue2",
}
}
POST Payload Example
{
"id": "c869b9e8-8b24-41cf-8140-07de574851b2",
"first": "John",
"last": "Doe",
"languagePreference": "en",
"updatedAt": "2025-02-24T21:40:00.359Z",
"createdAt": "2025-02-24T21:39:01.099Z",
"email": "test-email@himarley.com",
"mobile": "+15555555555",
"optStatus": "PENDING_OPT_IN"
}
Comments
0 comments
Please sign in to leave a comment.