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.
"^[a-zA-Z0-9-]{20,64}$"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. code_name Code name of the event to trigger Client error - Invalid request or authentication issues Server error - Internal processing failure