A webhook endpoint is used to capture events triggered by a segment publisher. You can configure the HTTP method (e.g., POST
or GET
) and define any necessary headers for authentication or other custom purposes. By default, the request content type is set to application/json
.
⚠️ The Webhook must be set to Published before being used.
Sample publisher event
{
"Brand": "xxx.com",
"SegmentUid": "a1a00c0b-xxxx-xxxx-xxxx-09da0f9b59b2",
"SegmentName": "Sample segment",
"Timestamp": "2022-05-08T14:58:42.7979802Z",
"EnterPlayers": [
"Customer1A",
"Customer2B",
"1029128301"
],
"EnterCount": 3,
"ExitPlayers": [
"01920n1b12"
],
"ExitCount": 1
}
Where EnterCount defines the total number of players that have entered the segment since the last published event. ExitCount defines the total number of players that have exited the segment since the last published event.
ℹ️ For added security utilise IP whitelisting. Contact the product team to request a list of IP addresses used in segment publishing.