Skip to content

Create Data Event Request

Any of:
event_namestring

The name of the event that occurred. This is presented to your App's admins when filtering and creating segments - a good event name is typically a past tense 'verb-noun' combination, to improve readability, for example updated-plan.

Example:"invited-friend"
created_atinteger, (date-time)

The time the event occurred as a UTC Unix timestamp

Example:1671028894
user_idstring

Your identifier for the user.

Example:"314159"
idstring

The unique identifier for the contact (lead or user) which is given by Intercom.

Example:"8a88a590-e1c3-41e2-a502-e0649dbf721c"
emailstring

An email address for your user. An email should only be used where your application uses email to uniquely identify users.

Example:"frodo.baggins@example.com"
metadataobject

Optional metadata about the event.

Example:
{ "invite_code": "ADDAFRIEND" }
{ "event_name": "invited-friend", "created_at": 1671028894, "user_id": "314159", "id": "8a88a590-e1c3-41e2-a502-e0649dbf721c", "email": "frodo.baggins@example.com", "metadata": { "invite_code": "ADDAFRIEND" } }