contact is present the contact is upserted first (best match), then the event is stored for it. Use for server-to-server integrations.201 Created response means the message was accepted.curl --location --request PUT '/events' \
--header 'Authorization: Bearer JWT' \
--header 'Content-Type: application/json' \
--data-raw '{
"eventName": "webinar_visited",
"permId": "263d7733-b8f5-4f62-9330-525702be7be7",
"url": "https://example.com/webinar",
"params": "Level: advanced",
"content": {
"relatedId": "1s2fsd2fxvb45cv4b",
"idType": "clientId"
},
"contact": {
"clientContactId": "1245451254",
"email": "info@incomaker.com",
"firstName": "John",
"lastName": "Doe"
}
}'{
"error": "Missing event name"
}