Fire an event
Fires an instance of the event type identified by code_name. The body must include either a contact (matched by id, email, or phone) or a visitor (matched by id); at least one is required. metaData and customData are validated against the event type's properties schema declared at createEvent time. Workflow execution is asynchronous.
Parameters
Header Parameters
[Authentication] Required API key, in the form {prefix}.{secret}.
"a1b2c3d4.xK9pR2mVn6QwErTyUiOpAsDfGhJkLzXcVbNmQwErTyU""^[a-zA-Z0-9]{8}\\.[A-Za-z0-9_-]+$"Path Parameters
Code name of the event to trigger
Request Body
Responses
Client error - Invalid request or authentication issues
Fire an event Fires an instance of the event type identified by code_name. The body must include either a contact (matched by id, email, or phone) or a visitor (matched by id); at least one is required. metaData and customData are validated against the event type's properties schema declared at createEvent time. Workflow execution is asynchronous. POST /v1/events/trigger/{code_name} triggerEvent Events spm-api-key [Authentication] Required API key, in the form {prefix}.{secret}. code_name Code name of the event to trigger Client error - Invalid request or authentication issues Server error - Internal processing failure