Send User Events

Send User events to complete activities

Server to Server Integration

post
Sending events from server to server integration

https://stream.customerglu.com/v3/server
Sending events using server side integration
Request
Response
Request
Headers
X-API-KEY
required
string
<Write- Key provided by the CustomerGlu>
Content-type
required
string
application/json
Body Parameters
event_id
optional
string
Unique identifier for the event
device_properties
optional
object
event_properties
required
object
Key -value pair of event properties
event_name
required
string
name of the event
timestamp
required
string
Timestamp for the event
user_id
required
string
user Id
Response
200: OK

Sending events from client

post
Sending events from client

https://stream.customerglu.com/v3/server
It is possible to send events from client as well using same format as used for server integration. We recommend sending events from server as we consider the server to be the source of truth and there could be event missing due to scenarios such as network failure and non -robust retry implementation.
Request
Response
Request
Headers
X-API-KEY
required
string
<Write- Key provided by the CustomerGlu>
Content-type
required
string
application/json
Body Parameters
event_id
optional
string
Unique identifier for the event
device_properties
optional
object
event_properties
required
object
Key -value pair of event properties
event_name
required
string
name of the event
timestamp
required
string
Timestamp for the event
user_id
required
string
user Id
Response
200: OK

Segment

To send events from segment, set up a webhook for your source.

Create a webhooks connection from Raw Data

Configure webhooks

Select the source you want to send to webhooks

Provide the connection setting

Configure Set webhook URL as https://stream.customerglu.com/v3/segment Under the Headers provide X-API-KEY: <writeKey provided by CustomerGlu>

Moengage

post
Sending events from moengage

https://stream.customerglu.com/v3/moengage
Request
Response
Request
Path Parameters
X-API-KEY
required
string
WriteKey provided by customerGlu
Response
200: OK

Webengage

In order to enable webhooks from webengage, please share following details with CustomerGlu

Name

Description

licenseCode

Your WebEngage account license code

Webhook Secret Key

Webhook Secret Key for your account in the Integrations > Webhooks section of WebEngage dashboard

Webhook endpoint: https://stream.customerglu.com/v3/webengage

Webengage documentation: https://docs.webengage.com/docs/webhooks#webhook-requests