Register an event type
Registers a new external event type that the integration can later fire via triggerEvent. The event declaration defines its name, machine code_name (used in triggerEvent's URL), and a properties schema describing the contact, visitor, custom-data and metadata payloads accepted at trigger time. Distinct from triggerEvent: this endpoint defines the event type; triggerEvent fires an instance.
Parameters
Header Parameters
[Authentication] Required API key, in the form {prefix}.{secret}.
"a1b2c3d4.xK9pR2mVn6QwErTyUiOpAsDfGhJkLzXcVbNmQwErTyU""^[a-zA-Z0-9]{8}\\.[A-Za-z0-9_-]+$"Request Body
Responses
Client error - Invalid request or authentication issues
Register an event type Registers a new external event type that the integration can later fire via triggerEvent. The event declaration defines its name, machine code_name (used in triggerEvent's URL), and a properties schema describing the contact, visitor, custom-data and metadata payloads accepted at trigger time. Distinct from triggerEvent: this endpoint defines the event type; triggerEvent fires an instance. POST /v1/events createEvent Events spm-api-key [Authentication] Required API key, in the form {prefix}.{secret}. Client error - Invalid request or authentication issues Server error - Internal processing failure