Endpoint used to track an event for a user or an account.
This endpoint is moved to .
643 matches
16 actions
Developer documentation
16 actions
Other/Developer documentation
Endpoint used to track an event for a user or an account.
This endpoint is moved to .
{
"type": "object",
"description": "Event for a user or an account",
"required": [
"identification",
"name"
],
"properties": {
"identification": {
"type": "object",
"description": "Event identification requires a user, account or both",
"properties": {
"account": {
"type": "object",
"description": "Account identification requires an accountId, domain or both",
"properties": {
"accountId": {
"type": "string",
"format": "account-id",
"description": "Unique identifier for the account in your database"
},
"domain": {
"type": "string",
"format": "top-level-domain",
"description": "The domain associated with the account (e.g. acme-inc.com)"
}
}
},
"user": {
"type": "object",
"description": "User identification requires a userId, email or both",
"properties": {
"email": {
"type": "string",
"format": "email",
"description": "Email address of the user"
},
"userId": {
"type": "string",
"format": "user-id",
"description": "Unique identifier for the user in your database"
}
}
}
}
},
"metadata": {
"type": "object",
"description": "Event metadata, possible values are strings, booleans, numbers and datetimes (ISO 8601)"
},
"name": {
"type": "string",
"format": "event-name"
},
"triggeredAt": {
"type": "string",
"format": "datetime",
"description": "If left blank this defaults to the current datetime"
}
}
}{
"type": "object"
}