Skip to main content

Create new event

Pushes a new event to User 360. If the userId already existsin User 360, it updates the data; if not, it creates a new user record. There is a rate limit is 6000 per minute.

Query Parameters
bot string REQUIRED

The ID of the bot

Request Body REQUIRED
userId string

The user's unique ID

eventName string

The name of the event

source string

The source of the event, pass CUSTOM

payload object
firstName string

The user's first name

Responses
200

Event created successfully

Schema OPTIONAL
message string OPTIONAL

Message indicating the response status

data object OPTIONAL
id string OPTIONAL

The ID of the event

botId string OPTIONAL

The ID of the bot

userId string OPTIONAL

The user's unique ID

event string OPTIONAL

The name of the event

source string OPTIONAL

The source of the event

payload object OPTIONAL
firstName string OPTIONAL

The user's first name

createdAt date-time OPTIONAL

The creation timestamp of the event