Create Data Event Request

Any of:
event_name
required
string

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.

created_at
required
integer <date-time>

The time the event occurred as a UTC Unix timestamp

user_id
string

Your identifier for the user.

id
required
string

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

email
string

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

object

Optional metadata about the event.

{ "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" } }